Solid.CreateCone (Double, Double, Double, Int32) Method

Creates a Cone primitive.
Public Shared Function CreateCone( _ 
ByVal bottomRadius As Double, _ 
ByVal topRadius As Double, _ 
ByVal height As Double, _ 
ByVal slices As Integer
) As Solid
This language is not supported or no code example is available.
public static Solid CreateCone( 
double bottomRadius
double topRadius
double height
int slices 
)
This language is not supported or no code example is available.

Parameters

bottomRadius
double

Cone bottom radius

topRadius
double

Cone top radius

height
double

Cone height

slices
int

Number of subdivisions

Return Value

Solid

The created solid.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition