ENgetcurvelen function

Retrieves the number of points in a curve.