Previous Up Next

26.5.13  Vertices of a polygon in the plane

The vertices or vertices_abc command finds the vertices of a polygon.

Examples

vertices(equilateral_triangle(1+i,3+i))

Individual vertices can be fetched by using the [] operator, like e.g.

C:=vertices(equilateral_triangle(1+i,3+i))[1]

which returns the second vertex.


Previous Up Next