[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining a "point"

From: Juan Pablo Carbajal
Subject: Re: Defining a "point"
Date: Sat, 28 Dec 2019 21:08:02 +0100

> Yes I installed. But couldn't find createPoint function (or other).
Point is a 2x1 array, so it is just P = [x y]
There is no more complexity needed than this, and this is the
underlying abstraction for point in geometry and matgeom.
It gets a little bit more abstract for lines because there are several
way to define them (the same for circles, rays, etc...)
For polygons it gets back to a simple N-by-2 array, so there is no
createPolygon (there are some regular and special polygons though).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]