Qurak

PolygonCoordinates

Disponible

Returns the vertices of a 2-D polygon in canonical (sorted) order.

PolygonCoordinates[poly]
PolygonCoordinates[Polygon[{{2, 2}, {0, 0}, {1, 1}, {3, 0}}]] → {{0, 0}, {1, 1}, {2, 2}, {3, 0}}PolygonCoordinates[Triangle[{{0, 0}, {2, 0}, {0, 2}}]] → {{0, 0}, {0, 2}, {2, 0}}PolygonCoordinates[Polygon[{{0, 0}, {1, 0}, {2, 0}}]] → PolygonCoordinates[Polygon[{{0, 0}, {1, 0}, {2, 0}}]]

Thèmes

Connexes

Les 6300 fonctions · Utiliser ceci depuis un client MCP