Solid.CreateCone<T> (Double, Double, Point3D, Point3D, Int32) Method

Creates a Cone primitive.
Public Shared Function CreateCone(Of  _ 
T As {Solid, New})( _ 
ByVal bottomRadius As Double, _ 
ByVal topRadius As Double, _ 
ByVal point1 As Point3D, _ 
ByVal point2 As Point3D, _ 
ByVal slices As Integer
) As T
This language is not supported or no code example is available.
public static T CreateCone<T>( 
double bottomRadius
double topRadius
Point3D point1
Point3D point2
int slices 

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

Type Parameters

T

Parameters

bottomRadius
double

Cone bottom radius

topRadius
double

Cone top radius

point1
Point3D

point2
Point3D

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