Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Solid Class / CreateBox Method / CreateBox<T>(Double,Double,Double) Method
Size in X direction
Size in Y direction
Size in Z direction

In This Topic
    CreateBox<T>(Double,Double,Double) Method
    In This Topic
    Creates a Box primitive.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateBox(Of T As {New, Solid})( _
       ByVal width As Double, _
       ByVal depth As Double, _
       ByVal height As Double _
    ) As T
    public static T CreateBox<T>( 
       double width,
       double depth,
       double height
    )
    where T: new(), Solid

    Parameters

    width
    Size in X direction
    depth
    Size in Y direction
    height
    Size in Z direction

    Type Parameters

    T

    Return Value

    The created solid.
    See Also