Class M_Curve

Version added: before 9.5
The M_Curve class represents a curve in a vector layer.

Methods:

Name Returns Description Ver
AimControlHandleAtNeighbor void Added in version 12 12.0
ClosestPointOnSegment LM_Vector2 < 9.5
CorrectControlHandleAngles void Added in version 12 12.0
CountPoints int32 Returns the number of points that make up the curve < 9.5
CountSegments int32 Returns the number of segments on the curve < 9.5
Curvature AnimVal < 9.5
CurveLength real < 9.5
DeselectCurvePoints void Added in version 11 11.0
GetControlHandle LM_Vector2 Added in version 12 12.0
GetControlPoints void Returns the control points for the given segment id < 9.5
GetCurvature real Returns the curvature through a given point on the curve < 9.5
GetOffset real Added in version 12 12.0
GetPercentLocation LM_Vector2 < 9.5
GetPercentTangent LM_Vector2 < 9.5
GetSegmentRange void < 9.5
GetWeight real Added in version 12 12.0
IsPartiallySelected bool < 9.5
IsPointOnSegment bool Returns true if the given point is on the given curve segment < 9.5
IsSegmentOn bool Tests whether a given curve segment is on or not < 9.5
IsSegmentSelected bool Tests whether a segment is selected < 9.5
IsSelected bool < 9.5
Point M_Point Returns one of the points making up the curve (use 0 for the first point on the curve) < 9.5
PointID int32 Added in version 12 12.0
PointOnSegment LM_Vector2 Returns the location of a point on a segment < 9.5
ResetControlHandles void Added in version 12 12.0
SegmentLength real < 9.5
SelectCurvePoints void Added in version 11 11.0
SetControlHandle void Added in version 12 12.0
SetCurvature void Sets the curvature through a given point on the curve < 9.5
SetOffset void Added in version 12 12.0
SetProfileCurve void < 9.5
SetSegmentOn void Turns a curve segment on or off < 9.5
SetWeight void Added in version 12 12.0

Properties:

Name Type Description Ver
fClosed bool true if the curve is closed, otherwise false < 9.5
fEndPercent AnimVal < 9.5
fProfileRepeat int32 < 9.5
fStartPercent AnimVal < 9.5