Eyeshot 10 WinForms API Reference
CreateCylinder(Double,Double,Int32) Method

WinForms Assembly > devDept.Eyeshot.Entities Namespace > Mesh Class > CreateCylinder Method : CreateCylinder(Double,Double,Int32) Method
Cylinder's radius
Cylinder's height
Number of faces of the cylinder approximation
Creates a Cylinder primitive.
Syntax
'Declaration
 
Public Overloads Shared Function CreateCylinder( _
   ByVal radius As Double, _
   ByVal height As Double, _
   ByVal slices As Integer _
) As Mesh
public static Mesh CreateCylinder( 
   double radius,
   double height,
   int slices
)

Parameters

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

Return Value

The created mesh.
See Also

Reference

Mesh Class
Mesh Members
Overload List