Class Box3dDispUtil
Utility and Extension of Box3d.
public static class Box3dDispUtil
- Inheritance
-
Box3dDispUtil
- Inherited Members
Methods
Display(Box3d, Bind)
Call DisplayLine(Box3d, Bind).
public static void Display(this Box3d src, Bind bind)
Parameters
DisplayFace(Box3d, Bind)
Display faces of the src.
public static void DisplayFace(this Box3d src, Bind bind)
Parameters
DisplayLine(Box3d, Bind)
Display edges of the src.
public static void DisplayLine(this Box3d src, Bind bind)
Parameters
ExpandToBox3d(nint, BoxableExpandToBox3dDel, Box3d)
Expands a destination Box3d to include the bounds of a native boxable object.
public static void ExpandToBox3d(nint boxablePtr, Box3dDispUtil.BoxableExpandToBox3dDel boxableExpandToBox3dDel, Box3d dst)
Parameters
boxablePtrnintPointer to the boxable object.
boxableExpandToBox3dDelBox3dDispUtil.BoxableExpandToBox3dDelDelegate to expand the boxable to a box3d.
dstBox3dThe destination Box3d to expand.
GetBox(nint, BoxableExpandToBox3dDel)
Gets a Box3d from a native boxable pointer using the provided delegate.
public static Box3d GetBox(nint boxablePtr, Box3dDispUtil.BoxableExpandToBox3dDel boxableExpandToBox3dDel)
Parameters
boxablePtrnintPointer to the boxable object.
boxableExpandToBox3dDelBox3dDispUtil.BoxableExpandToBox3dDelDelegate to expand the boxable to a box3d.
Returns
- Box3d
A Box3d representing the bounds of the boxable object.
GetFaceDraw(params Box3d[])
Get faces Drawing.
public static Drawing GetFaceDraw(params Box3d[] boxs)
Parameters
boxsBox3d[]boxes
Returns
- Drawing
a draw with face
GetLineDraw(params Box3d[])
Get the edges Drawing of boxs.
public static Drawing GetLineDraw(params Box3d[] boxs)
Parameters
boxsBox3d[]boxs
Returns
- Drawing
The Drawing
ToDraw(Box3d)
Equivalent to ToDraw_Face(Box3d)
public static Drawing ToDraw(this Box3d src)
Parameters
srcBox3dsrc
Returns
- Drawing
Drawing
ToDraw_Face(Box3d)
To Face Drawing.
public static Drawing ToDraw_Face(this Box3d src)
Parameters
srcBox3dsrc
Returns
- Drawing
Face Drawing
ToDraw_Line(Box3d)
To Line Drawing.
public static Drawing ToDraw_Line(this Box3d src)
Parameters
srcBox3dsrc
Returns
- Drawing
Line Drawing
ToLineBuf(Box3d, double[], ref int)
Put the edges' data to dst, totally 72 double.
The data is used according to GL_LINES.
public static int ToLineBuf(this Box3d src, double[] dst, ref int p)
Parameters
Returns
- int
The
pincrement: 72