Click or drag to resize
MeshCreateFromBox Method (BoundingBox, Int32, Int32, Int32)
Rhino 5 for Windows
Constructs new mesh that matches a bounding box.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
Syntax
public static Mesh CreateFromBox(
	BoundingBox box,
	int xCount,
	int yCount,
	int zCount
)

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: Mesh
A new brep, or null on failure.
See Also