Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Mesh Class / CreateCylinder Method / CreateCylinder(Double,Double,Int32,natureType) Method
Cylinder's radius
Cylinder's height
Number of faces of the cylinder approximation
Nature of the mesh

In This Topic
    CreateCylinder(Double,Double,Int32,natureType) Method
    In This Topic
    Creates a Cylinder primitive.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateCylinder( _
       ByVal radius As Double, _
       ByVal height As Double, _
       ByVal slices As Integer, _
       ByVal meshNature As Mesh.natureType _
    ) As Mesh
    public static Mesh CreateCylinder( 
       double radius,
       double height,
       int slices,
       Mesh.natureType meshNature
    )

    Parameters

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

    Return Value

    The created mesh.
    See Also