Mesh.CreateCone<T> (Double, Double, Point3D, Point3D, Int32, natureType, edgeStyleType) Method

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

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

Type Parameters

T

Parameters

baseRadius
double

Cone's base radius

topRadius
double

Cone's top radius

point1
Point3D

Cone''s first point

point2
Point3D

Cone''s second point

slices
int

Number of faces of the cylinder approximation

meshNature
natureType

Nature of the mesh

edgeStyle
edgeStyleType

Style of the edges

Return Value

T

The created mesh.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition