Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Solid Class / CreateCylinder Method / CreateCylinder<T>(Double,Double,Int32) Method
Radius of cylinder
Height of cylinder
Number of subdivisions

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

    Parameters

    radius
    Radius of cylinder
    height
    Height of cylinder
    slices
    Number of subdivisions

    Type Parameters

    T

    Return Value

    The created solid.
    See Also