Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / ICurve Interface / Offset Method
Signed offset amount
Normal of the plane where offset occurs (normalized)
Tolerance used in Nurbs curve offset computation
If false, offset curves are connected with an arc.

In This Topic
    Offset Method (ICurve)
    In This Topic
    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
    Tolerance used in Nurbs curve offset computation
    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