Brep.CreateTorus Method

Creates a Torus primitive.
Public Shared Function CreateTorus( _ 
ByVal majorRadius As Double, _ 
ByVal minorRadius As Double, _ 
Optional ByVal tolerance As Double = REBUILD_FACTOR _ 
) As Brep
This language is not supported or no code example is available.
public static Brep CreateTorus( 
double majorRadius
double minorRadius
double tolerance = REBUILD_FACTOR 
)
This language is not supported or no code example is available.

Parameters

majorRadius
double

Torus radius

minorRadius
double

Torus section radius

tolerance
double

the regeneration tolerance

Return Value

Brep

The resulting Brep object.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition