API Reference > OdGe Classes > OdGeOffsetCurve3d Class
OdGeOffsetCurve3d Class
OdGeOffsetCurve3dOdGeOffsetCurve3dOdGeOffsetCurve3d
Syntax
C++
class OdGeOffsetCurve3d : public OdGeCurve3d;

GeOffsetCurve3d.h

This class represents 3D curves that are exact offsets of other curves.

Every GeOffsetCurve3d contains a pointer to the curve from which it is offset. Modifying the base curve modifies the offset curve. Modifying the offset curve does not modify the base curve. setInterval() for an offset curve result create a curve that is an offset of the specified interval in the base curve. 

This curve may be self-intersecting, even if the base curve is not. To create offset curves that are not self-intersecting, use OdGeCurve3d::getTrimmedOffset(). 

The base curve must be planar, and a normal to the plane must be specified. 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. 

An offset curve with a 0.0 offset distance is exact replica of the base curve. An offset curve with a non-zero 0.0 offset distance has a continuity of one less than that of the base curve. To insure that the offset curve is a valid curve, the base curve must have a continuity of at least 1. 

Corresponding C++ library: TD_Ge 

 

 
Name 
Description 
 
This is the overview for the OdGeOffsetCurve3d constructor overload. 
 
Name 
Description 
 
Returns a pointer to the base curve. 
 
Returns the normal to the base curve as a unit vector. 
 
Returns the offset distance of this curve. 
 
Returns true if and only if this curve has the same parameter direction as the base curve. 
 
Sets the base curve for this OdGeOffsetCurve3d object.
 
 
Sets the normal to the plane of the base curve.
 
 
Sets the offset distance for this curve.
 
 
Returns the concatenation of the transformation matrices applied to this curve with transformBy(). 
 
Name 
Description 
 
= 
Assignment operator for the OdGeOffsetCurve3d object. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.