The M_Curve class represents a curve in a vector layer.
Returns the number of points that make up the curve.
Return value (int): the number of points that make up the curveReturns one of the points making up the curve (use 0 for the first point on the curve).
Return value (M_Point): a point on the curve id (int): id number of the pointReturns the number of segments on the curve. A segment is a section of curve between two control points.
Return value (int): the number of segments on the curveTests whether a segment is selected. (A curve segment is considered selected if the points at either end of it are selected.)
Return value (bool): true if the segment is selected, otherwise false segID (int): a segment of the curve (starting with 0)Returns true if the given point is on the given curve segment.
Return value (bool): true or false ptID (int): a point identifier in the underlying mesh segID (int): a segment of the curve (starting with 0)Tests whether a given curve segment is on or not. Segments that are "off" do not appear in rendered output.
Return value (bool): true or false segID (int): segment identifierTurns a curve segment on or off.
Return value: none segID (int): segment identifier b (bool): true to turn the segment on, false to turn it offReturns the curvature through a given point on the curve.
Return value (float): curvature ptID (int): which point on the curve frame (int): at what timeSets the curvature through a given point on the curve.
Return value: none ptID (int): which point on the curve curvature (float): curvature frame (int): at what timeReturns the location of a point on a segment.
Return value (LM_Vector2): a point located on the segment segID (int): a segment of the curve (starting with 0) percent (float): where on the segment to locate the point (from 0 to 1)true if the curve is closed, otherwise false