MeshCreateFromBox Method (BoundingBox, Int32, Int32, Int32) |
Rhino 5 for Windows
Constructs new mesh that matches a bounding box.
Namespace: Rhino.GeometryAssembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
Syntaxpublic static Mesh CreateFromBox(
BoundingBox box,
int xCount,
int yCount,
int zCount
)
Public Shared Function CreateFromBox (
box As BoundingBox,
xCount As Integer,
yCount As Integer,
zCount As Integer
) As Mesh
Parameters
- box
- Type: Rhino.GeometryBoundingBox
A box to use for creation. - xCount
- Type: SystemInt32
Number of faces in x-direction. - yCount
- Type: SystemInt32
Number of faces in y-direction. - zCount
- Type: SystemInt32
Number of faces in z-direction.
Return Value
Type:
MeshA new brep, or null on failure.
See Also