IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
Base class for various DTO (Data Transfer Objects) for bounding boxes. Used to store a state of a bounding box. More...
Public Member Functions | |
BoundingBoxDtoBase () | |
Default constructor, sets IsNull to true. | |
BoundingBoxDtoBase (int dimension) | |
Constructor, prepares the current DTO for storing a vector of the specified dimension. | |
abstract BoxType | CreateBoundingBox (int dimension) |
Creates and returns a new bounding box of the specified dimension. | |
override BoxType | CreateObject () |
Creates and returns a new bounding box of the specified type and dimension. | |
Public Attributes | |
int | Dimension |
Dimension of the bounding box. | |
double[] | Min = null |
Minimal values of coordinates. | |
double[] | Max = null |
Maximal values of coordinates. | |
Protected Member Functions | |
override void | CopyFromPlain (IBoundingBox box) |
Copies data to the current DTO from a bounding box object. | |
override void | CopyToPlain (ref IBoundingBox box) |
Copies data from the current DTO to a bounding box object. |
Base class for various DTO (Data Transfer Objects) for bounding boxes. Used to store a state of a bounding box.
BoxType | Type parameter specifying the specific bounding box type for which concrete DTO is designed. |
$A Igor Jun09;
BoxType | : | class | |
BoxType | : | IBoundingBox |
IG::Lib::BoundingBoxDtoBase< BoxType >::BoundingBoxDtoBase | ( | ) | [inline] |
Default constructor, sets IsNull to true.
IG::Lib::BoundingBoxDtoBase< BoxType >::BoundingBoxDtoBase | ( | int | dimension | ) | [inline] |
Constructor, prepares the current DTO for storing a vector of the specified dimension.
dimension | Dimension of a vector that is stored in the current DTO. |
abstract BoxType IG::Lib::BoundingBoxDtoBase< BoxType >::CreateBoundingBox | ( | int | dimension | ) | [pure virtual] |
Creates and returns a new bounding box of the specified dimension.
dimension | Bounding box dimension. |
override BoxType IG::Lib::BoundingBoxDtoBase< BoxType >::CreateObject | ( | ) | [inline, virtual] |
Creates and returns a new bounding box of the specified type and dimension.
Implements IG::Lib::SerializationDtoBase< Type, BaseType >.
override void IG::Lib::BoundingBoxDtoBase< BoxType >::CopyFromPlain | ( | IBoundingBox | box | ) | [inline, protected] |
Copies data to the current DTO from a bounding box object.
box | Bounding box object from which data is copied. |
override void IG::Lib::BoundingBoxDtoBase< BoxType >::CopyToPlain | ( | ref IBoundingBox | box | ) | [inline, protected] |
Copies data from the current DTO to a bounding box object.
box | Bounding box object that data is copied to. |
int IG::Lib::BoundingBoxDtoBase< BoxType >::Dimension |
Dimension of the bounding box.
double [] IG::Lib::BoundingBoxDtoBase< BoxType >::Min = null |
Minimal values of coordinates.
double [] IG::Lib::BoundingBoxDtoBase< BoxType >::Max = null |
Maximal values of coordinates.