Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Solid Class / CreateCone Method / CreateCone<T>(Double,Double,Double,Int32) Method
Cone bottom radius
Cone top radius
Cone height
Number of subdivisions

In This Topic
    CreateCone<T>(Double,Double,Double,Int32) Method
    In This Topic
    Creates a Cone primitive.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateCone(Of T As {New, Solid})( _
       ByVal bottomRadius As Double, _
       ByVal topRadius As Double, _
       ByVal height As Double, _
       ByVal slices As Integer _
    ) As T
    public static T CreateCone<T>( 
       double bottomRadius,
       double topRadius,
       double height,
       int slices
    )
    where T: new(), Solid

    Parameters

    bottomRadius
    Cone bottom radius
    topRadius
    Cone top radius
    height
    Cone height
    slices
    Number of subdivisions

    Type Parameters

    T

    Return Value

    The created solid.
    See Also