Region.SweepAsMesh<T> (ICurve, Double, 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, _ 
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
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

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