Accessing ProMechCurve
An opaque handle called a ProMechCurve represents a curve member of the model. A curve is always the child of a composite curve.
Functions Introduced:
The function types
ProMechcurveVisitAction() and
ProMechcurveFilterAction() are used as arguments to functions that visit
ProMechCurve objects.
Use the function
ProMechcurveTypeGet() to obtain the curve's type. Curves may be of the following types:
• PRO_MECH_SEGMENT_FREE
• PRO_MECH_SEGMENT_ON_EDGE
Use the function
ProMechcurveEdgeGet() to obtain the edge, if the curve type is
PRO_MECH_CURVE_EDGE.
Use the function
ProMechcurveParentGet() to obtain the parent composite curve for this curve.
Use the function
ProMechcurveParamGet() to obtain the parameter along the parent composite curve at which this curve begins.
Use the function
ProMechcurveEndpointsGet() to obtain the endpoints of the curve.
Use the function
ProMechcurveAncestorsGet() to obtain the ancestor curves for the specified curve. The ancestor curves are the actual geometry curves used to construct the curve.