RhinoCommon API
BrepCreateFromBox Method (Box) |
Constructs new brep that matches an aligned box.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Brep CreateFromBox( Box box )
Public Shared Function CreateFromBox ( box As Box ) As Brep
Parameters
- box
- Type: Rhino.GeometryBox
Box to match.
Return Value
Type: BrepA Brep with 6 faces that is similar to the Box.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14