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