IGCurve.SweepAsBrep (IGCurve, Double, Boolean, sweepMethodType) Method

Creates a GBrep sweeping the contour on the rail.
Function SweepAsBrep( _ 
ByVal rail As IGCurve, _ 
ByVal tolerance As Double, _ 
ByVal merge As Boolean, _ 
Optional ByVal methodType As sweepMethodType = sweepMethodType.RotationMinimizingFrames _ 
) As GBrep()
This language is not supported or no code example is available.
GBrep[] SweepAsBrep( 
IGCurve rail
double tolerance
bool merge
sweepMethodType methodType = sweepMethodType.RotationMinimizingFrames 
)
This language is not supported or no code example is available.

Parameters

rail
IGCurve

Sweep trajectory

tolerance
double

The trim tolerance

merge
bool

When true, it merges al the trimmed pieces when possible. It Keeps them as separated objects otherwise.

methodType
sweepMethodType

The sweep method, affects only GCurve rail segments.

Return Value

GBrep[]

The resulting GBrep array if the operation succeeded, null/Nothing otherwise.

.NET Framework

Supported in: 4.7.2

In this article

Definition