AcGeOffsetCurve3d::AcGeOffsetCurve3d

AcGeOffsetCurve3d(
    const AcGeCurve3d& baseCurve, 
    const AcGeVector3d& planeNormal, 
    double offsetDistance
);
Parameters
Parameters 
Description 
const AcGeCurve3d& baseCurve 
Input base curve 
const AcGeVector3d& planeNormal 
Input plane normal 
double offsetDistance 
Input offset distance 
Description

Constructs an offset curve that is an exact offset of the specified base curve. The direction of offset is determined by the sign of the offsetDistance parameter and by the direction of planeNormal. The base curve must be planar and planeNormal must be perpendicular to the plane of the base curve. 

There are two exceptions to this rule: 

  1. If the offset distance is 0, then planeNormal may be any vector, including the zero vector (it will not be used if the offset distance is 0).
  2. If the base curve is linear, then planeNormal must be perpendicular to the line of the curve.
 
Links