Region.SweepAsMesh<T> (ICurve, Double, Boolean, sweepMethodType, natureType) Method

Creates a mesh by sweeping the region along a rail.
Public Function SweepAsMesh(Of  _ 
T As {Mesh, New})( _ 
ByVal rail As ICurve, _ 
ByVal tol As Double, _ 
ByVal merge As Boolean, _ 
Optional ByVal methodType As sweepMethodType = sweepMethodType.RotationMinimizingFrames, _ 
Optional ByVal natureType As natureType = Mesh.natureType.Smooth _ 
) As T
This language is not supported or no code example is available.
public T SweepAsMesh<T>( 
ICurve rail
double tol
bool merge
sweepMethodType methodType = sweepMethodType.RotationMinimizingFrames, 
natureType natureType = Mesh.natureType.Smooth 

where T : Mesh, new()
This language is not supported or no code example is available.

Type Parameters

T

Parameters

rail
ICurve

The rail curve

tol
double

The trim tolerance

merge
bool

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

methodType
sweepMethodType

The Sweep method

natureType
natureType

The desired mesh nature

Return Value

T

The resulting mesh object.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition