API Reference > OdGe Classes > OdGeOffsetCurve3d Class > OdGeOffsetCurve3d Methods > OdGeOffsetCurve3d::setOffsetDistance Method
OdGeOffsetCurve3d::setOffsetDistance Method
Syntax
C++
OdGeOffsetCurve3d& setOffsetDistance(double offsetDistance);
Parameters 
Description 
double offsetDistance 
[in] Distance by which this curve is offset from the base curve. 

Sets the offset distance for this curve. 

 

Positive offset distances at any point on the base curve are defined as 90° counterclockwise from the tangent of the base curve at that point. The direction of offset is determined by the sign of the distance parameter. 

An offset curve with a 0.0 offset distance is exact replica of the base curve.

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