Returns the length of the curve. If ‘threeD’ is True, this returns the 3D length of the curve, otherwise this returns the 2D length.
True
threeD (bool) – Whether to calculate the 2D or 3D length.
float
The length of the curve.