IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.

IG::Num::BoundingBox Class Reference

Bounding box, defines lower and upper bounds on vector quantities such as coordinates of geometrix objects, bounds of domains, etc. More...

Inheritance diagram for IG::Num::BoundingBox:
Collaboration diagram for IG::Num::BoundingBox:

List of all members.

Public Member Functions

 BoundingBox (int dimension)
 Creates a bounding box of the specified dimension and initializes it in such a way that minimal co-ordinate components equal to UndefinedMin and maximal co-ordinate components equal do UndefinedMax.
 BoundingBox (IVector coordinates)
 Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate components equal to components of the spacified vector.
 BoundingBox (IVector min, IVector max)
 Creates a bounding box of the specified dimension and initializes it in such a way that minimal and maximal co-ordinate components equal to components of the spacified vectors.
 BoundingBox (IBoundingBox bounds)
 Constructs a bounding box of the specified dimension and initializes it in such a way that its bounds correspond to those of the specified bounding box. The specified bounding box must be different than null, otherwise exception is thrown.
 BoundingBox (double[] coordinates)
 Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate components equal to components of the spacified array.
 BoundingBox (double[] min, double[] max)
 Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate components equal to components of the spacified arrays.

Protected Member Functions

override IVector CreateVector (int dim)
 Creates and returns a new vector that is consistent with the definition of bounding box.

Detailed Description

Bounding box, defines lower and upper bounds on vector quantities such as coordinates of geometrix objects, bounds of domains, etc.


Constructor & Destructor Documentation

IG::Num::BoundingBox::BoundingBox ( int  dimension) [inline]

Creates a bounding box of the specified dimension and initializes it in such a way that minimal co-ordinate components equal to UndefinedMin and maximal co-ordinate components equal do UndefinedMax.

Parameters:
dimensionDimension of the space in which bounding box is defined.
IG::Num::BoundingBox::BoundingBox ( IVector  coordinates) [inline]

Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate components equal to components of the spacified vector.

Parameters:
coordinatesVector of coordinates to which minimal and maximal co-ordines of the bounding box are set.
IG::Num::BoundingBox::BoundingBox ( IVector  min,
IVector  max 
) [inline]

Creates a bounding box of the specified dimension and initializes it in such a way that minimal and maximal co-ordinate components equal to components of the spacified vectors.

Parameters:
minVector of minimal coordinates.
maxVector of macimal coordinates.
IG::Num::BoundingBox::BoundingBox ( IBoundingBox  bounds) [inline]

Constructs a bounding box of the specified dimension and initializes it in such a way that its bounds correspond to those of the specified bounding box. The specified bounding box must be different than null, otherwise exception is thrown.

Parameters:
boundsBounds with which the constructed bounding box is initialized.
IG::Num::BoundingBox::BoundingBox ( double[]  coordinates) [inline]

Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate components equal to components of the spacified array.

Parameters:
coordinatesArray of coordinates to which minimal and maximal co-ordines of the bounding box are set.
IG::Num::BoundingBox::BoundingBox ( double[]  min,
double[]  max 
) [inline]

Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate components equal to components of the spacified arrays.

Parameters:
minArray of components to which minimal co-ordines of the bounding box are set.
maxArray of components to which maximal co-ordines of the bounding box are set.

Member Function Documentation

override IVector IG::Num::BoundingBox::CreateVector ( int  dim) [inline, protected, virtual]

Creates and returns a new vector that is consistent with the definition of bounding box.

Parameters:
dimDimension of vector space.

Implements IG::Num::BoundingBoxBase.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events