Calculates the total length of a 3D polyline by summing the distances between consecutive points.
An array of 3D points representing the polyline.
The total length of the polyline.
Calculates the total length of a 3D polyline by summing the distances between consecutive points.