API Reference > OdDg Classes > OdDgCurveElement3dPE Class > OdDgCurveElement3dPE Methods > OdDgCurveElement3dPE::getOffsetCurvesGivenPlaneNormal Method
OdDgCurveElement3dPE::getOffsetCurvesGivenPlaneNormal Method
Syntax
C++
virtual OdResult getOffsetCurvesGivenPlaneNormal(const OdDgCurveElement3d* pCurve, const OdGeVector3d& normal, double offsetDistance, OdRxObjectPtrArray& offsetCurves) const = 0;
Parameters 
Description 
const OdDgCurveElement3d* pCurve 
[in] Pointer to the curve to offset.  
const OdGeVector3d& normal 
[in] Normal of the plane. 
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 the specified Curve object by the specified distance in a plane with the specified normal.

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

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