jakke-graphics-ts
    Preparing search index...

    Function getLengthPolyline3d

    • Calculates the total length of a 3D polyline by summing the distances between consecutive points.

      Parameters

      • polyline: Polyline3d

        An array of 3D points representing the polyline.

      Returns number

      The total length of the polyline.