ICurve.Offset Method

Offsets the curve of the specified amount.
Function Offset( _ 
ByVal amount As Double, _ 
ByVal planeNormal As Vector3D, _ 
ByVal tolerance As Double, _ 
ByVal sharp As Boolean
) As ICurve
This language is not supported or no code example is available.
ICurve Offset( 
double amount
Vector3D planeNormal
double tolerance
bool sharp 
)
This language is not supported or no code example is available.

Parameters

amount
double

Signed offset amount

planeNormal
Vector3D

Normal of the plane where offset occurs (normalized)

tolerance
double

Tolerance used in Nurbs curve offset computation

sharp
bool

If false, offset curves are connected with an arc.

Return Value

ICurve

The offset curve if the operation is successful, null/Nothing otherwise.

Remarks
 
It doesn't work if the number of offset curves is different from the number of curves to be offsetted. For more complex cases use LinearPath.QuickOffset

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition