Eyeshot 9.0 WinForms API Reference
Offset Method (ICurve)

WinForms Assembly > devDept.Eyeshot.Entities Namespace > ICurve Interface : Offset Method
Signed offset amount
Normal of the plane where offset occurs (normalized)
Tolereance
If false, offset curves are connected with an arc.
Offsets the curve of the specified amount.
Syntax
'Declaration
 
Function Offset( _
   ByVal amount As Double, _
   ByVal planeNormal As Vector3D, _
   ByVal tolerance As Double, _
   ByVal sharp As Boolean _
) As ICurve
ICurve Offset( 
   double amount,
   Vector3D planeNormal,
   double tolerance,
   bool sharp
)

Parameters

amount
Signed offset amount
planeNormal
Normal of the plane where offset occurs (normalized)
tolerance
Tolereance
sharp
If false, offset curves are connected with an arc.

Return Value

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
See Also

Reference

ICurve Interface
ICurve Members