Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / ICurve Interface / OffsetToRegion Method
Signed offset amount
Tolerance used in Nurbs curve offset computation
If false, offset curves are connected with an arc.

In This Topic
    OffsetToRegion Method (ICurve)
    In This Topic
    Offsets the planar curve of the specified amount and builds a Region entity from the two curves.
    Syntax
    'Declaration
     
    Function OffsetToRegion( _
       ByVal amount As Double, _
       ByVal tolerance As Double, _
       ByVal sharp As Boolean _
    ) As Region
    Region OffsetToRegion( 
       double amount,
       double tolerance,
       bool sharp
    )

    Parameters

    amount
    Signed offset amount
    tolerance
    Tolerance used in Nurbs curve offset computation
    sharp
    If false, offset curves are connected with an arc.

    Return Value

    The Region object 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