Eyeshot 9.0 WinForms API Reference
CreateCylinder<T>(Double,Double,Int32,natureType) Method

WinForms Assembly > devDept.Eyeshot.Entities Namespace > Mesh Class > CreateCylinder Method : CreateCylinder<T>(Double,Double,Int32,natureType) Method
Cylinder's radius
Cylinder's height
Number of faces of the cylinder approximation
Nature of the mesh
Creates a Cylinder primitive.
Syntax
'Declaration
 
Public Overloads Shared Function CreateCylinder(Of T As {New, Mesh})( _
   ByVal radius As Double, _
   ByVal height As Double, _
   ByVal slices As Integer, _
   ByVal meshNature As Mesh.natureType _
) As T
public static T CreateCylinder<T>( 
   double radius,
   double height,
   int slices,
   Mesh.natureType meshNature
)
where T: new(), Mesh

Parameters

radius
Cylinder's radius
height
Cylinder's height
slices
Number of faces of the cylinder approximation
meshNature
Nature of the mesh

Type Parameters

T

Return Value

The created mesh.
See Also

Reference

Mesh Class
Mesh Members
Overload List