eVision .NET API
Loading...
Searching...
No Matches
eVision.Easy3D.E3DBox Class Reference

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...

Inheritance diagram for eVision.Easy3D.E3DBox:
Collaboration diagram for eVision.Easy3D.E3DBox:

Public Member Functions

 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.

Properties

eVision.Easy3D.E3DPoint Center [get, set]
 3D box center.
eVision.Easy3D.E3DPoint XAxis [get]
 X axis of the box.
eVision.Easy3D.E3DPoint YAxis [get]
 Y axis of the box.
eVision.Easy3D.E3DPoint ZAxis [get]
 Z axis of the box.
eVision.Easy3D.E3DOrthonormalAxisSystem Axes [get, set]
 3D orthonormal axis system of the box.
float XSize [get, set]
 Size of the 3D box along its X axis .
float YSize [get, set]
 Size of the 3D box along its Y axis.
float ZSize [get, set]
 Size of the 3D box along its Z axis.
eVision.EQuadrangle XYQuadrangle [get]
 2D quadrangle of the E3DBox in the XY plane

Detailed Description

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

Constructor & Destructor Documentation

◆ 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
xSizeThe full size of the box along the X axis.
ySizeThe full size of the box along the Y axis.
zSizeThe full size of the box along the Z axis.

By convention, roll is applied first and yaw last.

◆ E3DBox() [3/7]

eVision.Easy3D.E3DBox.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.

Parameters
axesAxis system.
xSizeThe full size of the box along the X axis.
ySizeThe full size of the box along the Y axis.
zSizeThe full size of the box along the Z axis.

By convention, roll is applied first and yaw last.

◆ E3DBox() [4/7]

eVision.Easy3D.E3DBox.E3DBox ( eVision.Easy3D.E3DBox other)

Constructs an E3DBox. By default a E3DBox is an axis aligned unit cube, centered on the origin.

Parameters
otherReference to another E3DBox used for the initialization.

By convention, roll is applied first and yaw last.

◆ E3DBox() [5/7]

eVision.Easy3D.E3DBox.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.

Parameters
centerThe 3D coordinate of the box center.
xSizeThe full size of the box along the X axis.
ySizeThe full size of the box along the Y axis.
zSizeThe full size of the box along the Z axis.

By convention, roll is applied first and yaw last.

◆ E3DBox() [6/7]

eVision.Easy3D.E3DBox.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.

Parameters
xBoundsThe bounds of box along the X axis.
yBoundsThe bounds of box along the Y axis.
zBoundsThe 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
centerThe 3D coordinate of the box center.
rollRoll (rotation along the X axis) of the box.
pitchPitch (rotation along the Y axis) of the box.
yawYaw (rotation along the Z axis) of the box.
xSizeThe full size of the box along the X axis.
ySizeThe full size of the box along the Y axis.
zSizeThe full size of the box along the Z axis.

By convention, roll is applied first and yaw last.

Member Function Documentation

◆ Load() [1/2]

void eVision.Easy3D.E3DBox.Load ( eVision.ESerializer serializer)

Loads the E3DBox. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

void eVision.Easy3D.E3DBox.Load ( string path)

Loads the E3DBox. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Save() [1/2]

void eVision.Easy3D.E3DBox.Save ( eVision.ESerializer serializer)

Saves the E3DBox. The given ESerializer must have been created for writing.

Parameters
serializerThe serializer.

◆ Save() [2/2]

void eVision.Easy3D.E3DBox.Save ( string path)

Saves the E3DBox. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ Transform()

eVision.Easy3D.E3DBox 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.

Parameters
matrixThe 3D transformation matrix.

Property Documentation

◆ Axes

eVision.Easy3D.E3DOrthonormalAxisSystem eVision.Easy3D.E3DBox.Axes
getset

3D orthonormal axis system of the box.

◆ Center

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DBox.Center
getset

3D box center.

◆ XAxis

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DBox.XAxis
get

X axis of the box.

◆ XSize

float eVision.Easy3D.E3DBox.XSize
getset

Size of the 3D box along its X axis .

◆ XYQuadrangle

eVision.EQuadrangle eVision.Easy3D.E3DBox.XYQuadrangle
get

2D quadrangle of the E3DBox in the XY plane

◆ YAxis

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DBox.YAxis
get

Y axis of the box.

◆ YSize

float eVision.Easy3D.E3DBox.YSize
getset

Size of the 3D box along its Y axis.

◆ ZAxis

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DBox.ZAxis
get

Z axis of the box.

◆ ZSize

float eVision.Easy3D.E3DBox.ZSize
getset

Size of the 3D box along its Z axis.