Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Mesh Class / CreateBox Method / CreateBox(Double,Double,Double,natureType,edgeStyleType) Method
Box's width
Box's depth
Box's height
Nature of the mesh
Style of the edges

In This Topic
    CreateBox(Double,Double,Double,natureType,edgeStyleType) Method
    In This Topic
    Creates a Box primitive.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateBox( _
       ByVal width As Double, _
       ByVal depth As Double, _
       ByVal height As Double, _
       ByVal meshNature As Mesh.natureType, _
       ByVal edgeStyle As Mesh.edgeStyleType _
    ) As Mesh
    public static Mesh CreateBox( 
       double width,
       double depth,
       double height,
       Mesh.natureType meshNature,
       Mesh.edgeStyleType edgeStyle
    )

    Parameters

    width
    Box's width
    depth
    Box's depth
    height
    Box's height
    meshNature
    Nature of the mesh
    edgeStyle
    Style of the edges

    Return Value

    The created mesh.
    Exceptions
    ExceptionDescription
    See Also