M_Rhino_Geometry_Mesh_CreateFromBox - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs new mesh that matches a bounding box.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Mesh CreateFromBox(
BoundingBox box,
int xCount,
int yCount,
int zCount
)
VB
Public Shared Function CreateFromBox (
box As BoundingBox,
xCount As Integer,
yCount As Integer,
zCount As Integer
) As Mesh
- box
- Type: Rhino.Geometry.BoundingBox
A box to use for creation. - xCount
- Type: System.Int32
Number of faces in x-direction. - yCount
- Type: System.Int32
Number of faces in y-direction. - zCount
- Type: System.Int32
Number of faces in z-direction.
Type: Mesh
A new brep, or null on failure.
Supported in: 6.0.16224.21491, 5D58w