Geometry 193
single_inter
Returns the intersection of curve1 and curve2 that is
closest to point.
single_inter(curve1, curve2, point)
Example:
single_inter(line(y=x),circle(x^2+y^2=1),
point(1,1)) returns point(((1+i)* √2)/2)
vector
Creates a vector from point1 to point2. With one point as
argument, the origin is used as the tail of the vector.
vector(point1, point2) or vector(point)
Example:
vector(point(1,1), point(3,0)) creates a vector
from (1, 1) to (3, 0).
vertices
Returns a list of the vertices of a polygon.
vertices(polygon)
vertices_abca
Returns the closed list of the vertices of a polygon.
vertices_abca(polygon)