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

Creates a Cone primitive.
Public Shared Function CreateCone( _ 
ByVal bottomRadius As Double, _ 
ByVal topRadius As Double, _ 
ByVal point1 As Point3D, _ 
ByVal point2 As Point3D, _ 
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
Point3D point1
Point3D point2
int slices 
)
This language is not supported or no code example is available.

Parameters

bottomRadius
double

Cone bottom radius

topRadius
double

Cone top radius

point1
Point3D

point2
Point3D

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