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, Solid})( _
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(), Solid
Parameters
- bottomRadius
- Cone bottom radius
- topRadius
- Cone top radius
- point1
- point2
- slices
- Number of subdivisions
Type Parameters
- T
Return Value
The created solid.
See Also