GSolid.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 GSolid
This language is not supported or no code example is available.
public static GSolid 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

GSolid

The created solid.

.NET Framework

Supported in: 4.7.2

In this article

Definition