Solid.CreateCylinder<T> (Double, Double, Int32) Method

Creates a Cylinder primitive.
Public Shared Function CreateCylinder(Of  _ 
T As {Solid, New})( _ 
ByVal radius As Double, _ 
ByVal height As Double, _ 
ByVal slices As Integer
) As T
This language is not supported or no code example is available.
public static T CreateCylinder<T>( 
double radius
double height
int slices 

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

Type Parameters

T

Parameters

radius
double

Radius of cylinder

height
double

Height of cylinder

slices
int

Number of subdivisions

Return Value

T

The created solid.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition