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

In This Topic
    CreateCone(Double,Double,Double,Int32) 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 _
    ) As Mesh
    public static Mesh CreateCone( 
       double baseRadius,
       double topRadius,
       double height,
       int slices
    )

    Parameters

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

    Return Value

    The created mesh.
    See Also