Solid.CreateTorus<T> Method
Creates a Torus primitive.
Public Shared Function CreateTorus(Of _
T As {Solid, New})( _
ByVal majorRadius As Double, _
ByVal minorRadius As Double, _
ByVal sides As Integer, _
ByVal rings As Integer _
) As T
This language is not supported or no code example is available.
public static T CreateTorus<T>(
double majorRadius,
double minorRadius,
int sides,
int rings
)
where T : Solid, new()
This language is not supported or no code example is available.
Type Parameters
-
T
-
Parameters
-
majorRadius
-
double
Torus radius
-
minorRadius
-
double
Torus section radius
-
sides
-
int
Number of section subdivisions
-
rings
-
int
Number of subdivisions
Return Value
T
The created solid.
.NET Framework
Supported in: 4.5, 4.6, 4.7