Instantiates a new bounding box.

Namespace:  ceometric.ComputationalGeometry
Assembly:  ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)

Syntax

C#
public BoundingBox(
	double length,
	double width,
	double height,
	CoordinateSystem coordinateSystem
)
Visual Basic (Declaration)
Public Sub New ( _
	length As Double, _
	width As Double, _
	height As Double, _
	coordinateSystem As CoordinateSystem _
)
Visual C++
public:
BoundingBox(
	double length, 
	double width, 
	double height, 
	CoordinateSystem^ coordinateSystem
)

Parameters

length
Type: System..::.Double
The length of the bounding box.
width
Type: System..::.Double
The width of the bounding box.
height
Type: System..::.Double
The height of the bounding box.
coordinateSystem
Type: ceometric.VectorGeometry..::.CoordinateSystem
An orthonormal coordinate system determining the orientation of the bounding box in space with respect to the center of the bounding box.

Remarks

length, width and height do not have to occur in a special order. This is, length may also be the shortest side, for example. However, length is aligned to the first basis vector of coordinateSystem, width is aligned to the second basis vector of coordinateSystem and height is aligned to the third basis vector of coordinateSystem.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionThe coordinateSystem is not orthonormal.

See Also