GCurve.Fillet (IGCurve, IGCurve, Vector3D, Double, Boolean, Boolean, Boolean, Boolean, out GArc) Method

Fillets two coplanar curves with an arc of given radius.
Public Shared Function Fillet( _ 
ByVal C1 As IGCurve, _ 
ByVal C2 As IGCurve, _ 
ByVal planeNormal As Vector3D, _ 
ByVal radius As Double, _ 
ByVal flip1 As Boolean, _ 
ByVal flip2 As Boolean, _ 
ByVal trim1 As Boolean, _ 
ByVal trim2 As Boolean, _ 
ByRef fillet As GArc
) As Boolean
This language is not supported or no code example is available.
public static bool Fillet( 
IGCurve C1
IGCurve C2
Vector3D planeNormal
double radius
bool flip1
bool flip2
bool trim1
bool trim2
out GArc fillet 
)
This language is not supported or no code example is available.

Parameters

C1
IGCurve

First curve

C2
IGCurve

Second curve

planeNormal
Vector3D

Unit vector, normal to the plane on which both curves lie.

radius
double

Radius of the fillet arc

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

fillet
GArc

The resulting fillet arc

Return Value

bool

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

Remarks
 
Looking at the curves from the top of planeNormal placed at the intersection, the fillet 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 fillet to be placed. Otherwise, set it to null or call the Fillet() method without planeNormal and we will compute it internally.

.NET Framework

Supported in: 4.7.2

In this article

Definition