Eyeshot 10 WinForms API Reference
CreateBox(Double,Double,Double,natureType,edgeStyleType) Method

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
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

Reference

Mesh Class
Mesh Members
Overload List