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

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

    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
    edgeStyle
    Style of the edges

    Return Value

    The created mesh.
    Exceptions
    ExceptionDescription
    See Also