M_Rhino_Geometry_Brep_CreateFromBox_2 - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs new brep from 8 corner points.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Brep CreateFromBox(
IEnumerable<Point3d> corners
)
VB
Public Shared Function CreateFromBox (
corners As IEnumerable(Of Point3d)
) As Brep
- corners
- Type: System.Collections.Generic.IEnumerable(Point3d)
8 points defining the box corners arranged as the vN labels indicate.v7_______e6____v6
|\ |\
| e7 | e5
| \ _e4\
e11 v4 | v5
| | e10 |
| | | |
v3--|---e2----v2 e9
\ e8 \ |
e3 | e1|
| |
v0_____e0______v1
Type: Brep
A new box brep, on null on error.
Supported in: 6.0.16224.21491, 5D58w