Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Curve Class / Chamfer Method
First curve
Second curve
The chamfer distance
Flips first curve direction
Flips second curve direction
When true the first curve is trimmed
When true the second curve is trimmed
The chamfer line

In This Topic
    Chamfer Method (Curve)
    In This Topic
    Chamfers two curves.
    Syntax
    'Declaration
     
    Public Shared Function Chamfer( _
       ByVal C1 As ICurve, _
       ByVal C2 As ICurve, _
       ByVal distance As Double, _
       ByVal flip1 As Boolean, _
       ByVal flip2 As Boolean, _
       ByVal trim1 As Boolean, _
       ByVal trim2 As Boolean, _
       ByRef chamfer As Line _
    ) As Boolean
    public static bool Chamfer( 
       ICurve C1,
       ICurve C2,
       double distance,
       bool flip1,
       bool flip2,
       bool trim1,
       bool trim2,
       out Line chamfer
    )

    Parameters

    C1
    First curve
    C2
    Second curve
    distance
    The chamfer distance
    flip1
    Flips first curve direction
    flip2
    Flips second curve direction
    trim1
    When true the first curve is trimmed
    trim2
    When true the second curve is trimmed
    chamfer
    The chamfer line

    Return Value

    True if the operation is successful, false if the curves don't lie on the same plane or don't touch.
    See Also