Curve.Chamfer (ICurve, ICurve, Vector3D, Double, Boolean, Boolean, Boolean, Boolean, out Line) Method
Public Shared Function Chamfer( _
ByVal C1 As ICurve, _
ByVal C2 As ICurve, _
ByVal planeNormal As Vector3D, _
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
This language is not supported or no code example is available.
Parameters
- C1
- ICurve
First curve
- C2
- ICurve
Second curve
- planeNormal
- Vector3D
Unit vector, normal to the plane on which both curves lie.
- distance
- double
The chamfer distance
- flip1
- bool
Flips first curve direction
- flip2
- bool
Flips second curve direction
- trim1
- bool
When true the first curve is trimmed
- trim2
- bool
When true the second curve is trimmed
- chamfer
- Line
The chamfer line
Return Value
boolTrue if the operation is successful, false if the curves don't lie on the same plane or don't touch.
Looking at the curves from the top of planeNormal placed at the intersection, the chamfer will be
on the left side of a curve if its flip parameter is false, and on the right side if its flip is true.
Use planeNormal only if you know exactly how the curves are oriented and where you want the chamfer to be placed.
Otherwise, set it to null or call the Chamfer() method without planeNormal and we will compute it internally.