A 3D box, used as bounding volume for E3DObject class. A box is defined by a center, 3 axis and 3 extent for the 3 axis. A 3D point (x,y,z) is inside the E3DBox if ... By default a E3DBox is an axis aligned unit cube, centered on the origin.
More...
|
| | E3DBox () |
| | Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
|
| | E3DBox (float xSize, float ySize, float zSize) |
| | Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
|
| | E3DBox (eVision.Easy3D.E3DOrthonormalAxisSystem axes, float xSize, float ySize, float zSize) |
| | Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
|
| | E3DBox (eVision.Easy3D.E3DBox other) |
| | Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
|
| | E3DBox (eVision.Easy3D.E3DPoint center, float xSize, float ySize, float zSize) |
| | Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
|
| | E3DBox (eVision.EFloatRange xBounds, eVision.EFloatRange yBounds, eVision.EFloatRange zBounds) |
| | Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
|
| | E3DBox (eVision.Easy3D.E3DPoint center, float roll, float pitch, float yaw, float xSize, float ySize, float zSize) |
| | Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
|
| void | Load (string path) |
| | Loads the E3DBox. The given ESerializer must have been created for reading.
|
| void | Load (eVision.ESerializer serializer) |
| | Loads the E3DBox. The given ESerializer must have been created for reading.
|
| void | Save (string path) |
| | Saves the E3DBox. The given ESerializer must have been created for writing.
|
| void | Save (eVision.ESerializer serializer) |
| | Saves the E3DBox. The given ESerializer must have been created for writing.
|
| eVision.Easy3D.E3DBox | Transform (eVision.Easy3D.E3DTransformMatrix matrix) |
| | Transforms the 3D box with the given transformation matrix. The transformation matrix must contain a rigid transformation (translation and rotation only) optionally combined with an anisotropic scaling transform if it is applied before and on an axis aligned E3DBox.
|
A 3D box, used as bounding volume for E3DObject class. A box is defined by a center, 3 axis and 3 extent for the 3 axis. A 3D point (x,y,z) is inside the E3DBox if ... By default a E3DBox is an axis aligned unit cube, centered on the origin.
License(s): Easy3D
◆ E3DBox() [1/7]
| eVision.Easy3D.E3DBox.E3DBox |
( |
| ) |
|
Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
By convention, roll is applied first and yaw last.
◆ E3DBox() [2/7]
| eVision.Easy3D.E3DBox.E3DBox |
( |
float | xSize, |
|
|
float | ySize, |
|
|
float | zSize ) |
Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
- Parameters
-
| xSize | The full size of the box along the X axis. |
| ySize | The full size of the box along the Y axis. |
| zSize | The full size of the box along the Z axis. |
By convention, roll is applied first and yaw last.
◆ E3DBox() [3/7]
Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
- Parameters
-
| axes | Axis system. |
| xSize | The full size of the box along the X axis. |
| ySize | The full size of the box along the Y axis. |
| zSize | The full size of the box along the Z axis. |
By convention, roll is applied first and yaw last.
◆ E3DBox() [4/7]
Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
- Parameters
-
| other | Reference to another E3DBox used for the initialization. |
By convention, roll is applied first and yaw last.
◆ E3DBox() [5/7]
Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
- Parameters
-
| center | The 3D coordinate of the box center. |
| xSize | The full size of the box along the X axis. |
| ySize | The full size of the box along the Y axis. |
| zSize | The full size of the box along the Z axis. |
By convention, roll is applied first and yaw last.
◆ E3DBox() [6/7]
Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
- Parameters
-
| xBounds | The bounds of box along the X axis. |
| yBounds | The bounds of box along the Y axis. |
| zBounds | The bounds of box along the Z axis. |
By convention, roll is applied first and yaw last.
◆ E3DBox() [7/7]
| eVision.Easy3D.E3DBox.E3DBox |
( |
eVision.Easy3D.E3DPoint | center, |
|
|
float | roll, |
|
|
float | pitch, |
|
|
float | yaw, |
|
|
float | xSize, |
|
|
float | ySize, |
|
|
float | zSize ) |
Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.
- Parameters
-
| center | The 3D coordinate of the box center. |
| roll | Roll (rotation along the X axis) of the box. |
| pitch | Pitch (rotation along the Y axis) of the box. |
| yaw | Yaw (rotation along the Z axis) of the box. |
| xSize | The full size of the box along the X axis. |
| ySize | The full size of the box along the Y axis. |
| zSize | The full size of the box along the Z axis. |
By convention, roll is applied first and yaw last.
◆ Load() [1/2]
Loads the E3DBox. The given ESerializer must have been created for reading.
- Parameters
-
| serializer | The serializer. |
◆ Load() [2/2]
| void eVision.Easy3D.E3DBox.Load |
( |
string | path | ) |
|
Loads the E3DBox. The given ESerializer must have been created for reading.
- Parameters
-
◆ Save() [1/2]
Saves the E3DBox. The given ESerializer must have been created for writing.
- Parameters
-
| serializer | The serializer. |
◆ Save() [2/2]
| void eVision.Easy3D.E3DBox.Save |
( |
string | path | ) |
|
Saves the E3DBox. The given ESerializer must have been created for writing.
- Parameters
-
◆ Transform()
Transforms the 3D box with the given transformation matrix. The transformation matrix must contain a rigid transformation (translation and rotation only) optionally combined with an anisotropic scaling transform if it is applied before and on an axis aligned E3DBox.
- Parameters
-
| matrix | The 3D transformation matrix. |
◆ Axes
3D orthonormal axis system of the box.
◆ Center
◆ XAxis
◆ XSize
| float eVision.Easy3D.E3DBox.XSize |
|
getset |
Size of the 3D box along its X axis .
◆ XYQuadrangle
2D quadrangle of the E3DBox in the XY plane
◆ YAxis
◆ YSize
| float eVision.Easy3D.E3DBox.YSize |
|
getset |
Size of the 3D box along its Y axis.
◆ ZAxis
◆ ZSize
| float eVision.Easy3D.E3DBox.ZSize |
|
getset |
Size of the 3D box along its Z axis.