Previous Up Next

11.6.12  The vertices of a polygon: vertices vertices_abc

The vertices command (or vertices_abc) takes as argument a polygon.

vertices returns a list of the vertices of the polygon and draws them.
Input:

vertices(equilateral_triangle(0,2))

Output:

Input:

C := vertices(equilateral_triangle(0,2))[2]

Output:


Previous Up Next