API Reference > OdDg Classes > OdDgCurveElement2d Class > OdDgCurveElement2d Methods > OdDgCurveElement2d::getOffsetCurves Method
OdDgCurveElement2d::getOffsetCurves Method
Syntax
C++
virtual OdResult getOffsetCurves(double offsetDistance, OdRxObjectPtrArray& offsetCurves) const;
Parameters 
Description 
double offsetDistance 
[in] Offset distance.  
OdRxObjectPtrArray& offsetCurves 
[out] Receives an array of SmartPointers to the offset curves. 

Returns eOk if successful, or an appropriate error code if not.

Creates a set of curves representing the offsetting of this Curve object by the specified distance.

Pointers to all new curves are appended to the offsetCurves array.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.