Share

AcGeOffsetCurve3d::AcGeOffsetCurve3d

C++

GE_DLLEXPIMPORT AcGeOffsetCurve3d(
    const AcGeCurve3d& baseCurve, 
    const AcGeVector3d& planeNormal, 
    double offsetDistance
);

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.

Parameters

Parameters Description
baseCurve Input base curve
planeNormal Input plane normal
offsetDistance Input offset distance

Links

AcGeOffsetCurve3d

Was this information helpful?