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

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

    Parameters

    baseRadius
    Cone's base radius
    topRadius
    Cone's top radius
    height
    The cone's height
    slices
    Number of faces of the cylinder approximation
    meshNature
    Nature of the mesh

    Return Value

    The created mesh.
    See Also