Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgCurveElement2dPE::getOffsetCurves Method
Syntax
C++
virtual OdResult getOffsetCurves(const OdDgCurveElement2d* pCurve, double offsetDistance, OdRxObjectPtrArray& offsetCurves) const = 0;

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

Parameters
Description
pCurve
[in] Pointer to the curve to offset.
offsetDistance
[in] Offset distance.
offsetCurves
[out] Receives an array of SmartPointers to the offset curves.

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

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

Copyright © 2002-2022. Open Design Alliance All rights reserved.