Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeOffsetCurve2d::setOffsetDistance Method
Syntax
C++
OdGeOffsetCurve2d& setOffsetDistance(double distance);

Sets the offset distance for this curve. 

 

Parameters
Description
distance
[in] Distance by which this curve is offset from the base curve.

Reference to this OdGeOffsetCurve2d object.

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-2022. Open Design Alliance All rights reserved.