CreateCone<T>(Double,Double,Point3D,Point3D,Int32) Method
In This Topic
Creates a Cone primitive.
Syntax
'Declaration
Public Overloads Shared Function CreateCone(Of As {New, Mesh})( _
ByVal As Double, _
ByVal As Double, _
ByVal As Point3D, _
ByVal As Point3D, _
ByVal As Integer _
) As
public static CreateCone<>(
double ,
double ,
Point3D ,
Point3D ,
int
)
where T: new(), Mesh
Parameters
- baseRadius
- Cone's base radius
- topRadius
- Cone's top radius
- point1
- Cone''s first point
- point2
- Cone''s second point
- slices
- Number of faces of the cylinder approximation
Type Parameters
- T
Return Value
The created mesh.
See Also