Click or drag to resize

MeshCreateFromBox Method (BoundingBox, Int32, Int32, Int32)

Constructs new mesh that matches a bounding box.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.6
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