Polyline
Open chain of straight edges through a sequence of vertices.
The open sibling of Polygon: N vertices make N − 1 edges, with no closing edge and no interior. Starting vertex and traversal direction are data — equals distinguishes both. The first and last vertices may coincide — a closed walk, detected at the SCALE quantum (see toPolygon); only consecutive coincident vertices are rejected.
Throws
When fewer than 2 vertices are given, a vertex lies at infinity, or two consecutive vertices coincide at the SCALE quantum.