API Reference > OdDb Classes > OdDbCurvePE Class > OdDbCurvePE Methods > OdDbCurvePE::getOffsetCurves Method
OdDbCurvePE::getOffsetCurves Method
Syntax
C++
virtual OdResult getOffsetCurves(const OdDbCurve* pCurve, double offsetDistance, OdRxObjectPtrArray& offsetCurves) const = 0;
Parameters 
Description 
const OdDbCurve* pCurve 
[in] Pointer to the curve to offset.  
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 the specified 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.