Polylines and spatial polygons

Overview
Important

A polyline in three-dimensional space is a sequence of points A1,A2,...,AnA_1, A_2, ..., A_n where each consecutive pair (Ai,Ai+1)(A_i, A_{i+1}) is joined by a straight segment. A spatial polygon is a polyline where An=A1A_n = A_1, forming a closed loop. Unlike plane polygons, the points do not all have to lie in the same plane.

Important properties

  • Polylines can be open (ends do not meet) or closed (ends meet).

  • A spatial polygon is a closed polyline in space.

  • Spatial polygons may not be planar; their vertices can be in different planes.

  • The length of a polyline is the sum of the lengths of its segments.