AcBr::ErrorStatus getParamCurve( AcGeCurve2d*& pcurve ) const;
Parameter curve instantiation. Returns an oriented parameter space curve (unique to the current edge in the loop-edge list) as an AcGe external 2D curve (cast to the AcGeCurve2d base class). The entire chain of transforms from the object ID array is ignored, as they are only pertinent to model space and not to parameter space. The parameter curve is passed as a null AcGeCurve2d base class reference pointer for getParamCurve() to instantiate.
Returns eInvalidObject if the traverser is uninitialized or invalidated (that is, empty).
Returns eBrepChanged if the owning AutoCAD entity changed since the traverser's loop-edge list was last set. As a side effect, the traverser is invalidated.
Returns eMissingGeometry if the parameter curve is missing (this may sometimes happen if an edge crosses a seam).
Returns eOutOfMemory if the AcGe parameter curve comes back null.
In the event of an error, the parameter curve reference pointer is unchanged and thus likely points to a null object.
Parameters | Description |
---|---|
pcurve | AcGe external 2D curve |