Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Box4d Class Reference

#include <Box.h>

Inheritance diagram for Box4d:

Inheritance graph
[legend]
Collaboration diagram for Box4d:

Collaboration graph
[legend]
List of all members.

Detailed Description

This is the 4D / double specific version of a Box.

Use this when you need a 4D box (ie, x,y,z,t) for finding 4D critical points (through time).

Definition at line 158 of file Box.h.

Public Member Functions

 Box4d ()
 Constructors.

 Box4d (TNT::Vector< Interval< double > >)
 Copy constructor from the parent class.

 Box4d (gmVector4 mincorner, gmVector4 maxcorner)
 Constructs a Box4d from two gmVector4s as opposite corners.

 Box4d (gmVector4 x)
 This is a convenience method to make a Box4d by using a gmVector4.

 Box4d (Interval< double >, Interval< double >, Interval< double >, Interval< double >)
 Constructs a Box4d by using four Interval<double>s as the dimensions.

 Box4d (Interval< double >)
 Constructs a Box4d using an Interval as all four dimensions.

 Box4d (double d)
 Constructs a Box4d using a double as all four dimensions.

 Box4d (Box< double >)
 Constructs a Box4d from a more general Box<double>.

gmVector4 low ()
 'Corner' operators

gmVector4 high ()
 Returns the 'upper corner' of the box.


Constructor & Destructor Documentation

Box4d::Box4d  ) 
 

Constructors.

Definition at line 363 of file Box.cpp.

Referenced by Box4d().

Box4d::Box4d TNT::Vector< Interval< double > >  A  ) 
 

Copy constructor from the parent class.

This is apparently necessary since the parent class is more general and for example may contain more (or less) than four elements.

Definition at line 373 of file Box.cpp.

Box4d::Box4d gmVector4  mincorner,
gmVector4  maxcorner
 

Constructs a Box4d from two gmVector4s as opposite corners.

Definition at line 385 of file Box.cpp.

Box4d::Box4d gmVector4  x  ) 
 

This is a convenience method to make a Box4d by using a gmVector4.

Definition at line 400 of file Box.cpp.

References Box4d().

Box4d::Box4d Interval< double >  x,
Interval< double >  y,
Interval< double >  z,
Interval< double >  t
 

Constructs a Box4d by using four Interval<double>s as the dimensions.

Definition at line 409 of file Box.cpp.

Box4d::Box4d Interval< double >  v  ) 
 

Constructs a Box4d using an Interval as all four dimensions.

Definition at line 422 of file Box.cpp.

References Box4d().

Box4d::Box4d double  d  ) 
 

Constructs a Box4d using a double as all four dimensions.

Definition at line 431 of file Box.cpp.

References Box4d().

Box4d::Box4d Box< double >  x  ) 
 

Constructs a Box4d from a more general Box<double>.

Note:
If the size of x is less than 4, there will be trouble!

Definition at line 442 of file Box.cpp.


Member Function Documentation

gmVector4 Box4d::high  ) 
 

Returns the 'upper corner' of the box.

Returns:
The 'upper' corner of the box as a gmVector4.

Definition at line 465 of file Box.cpp.

gmVector4 Box4d::low  ) 
 

'Corner' operators

Returns:
The 'lower' corner of the box as a gmVector4.

Definition at line 453 of file Box.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Jun 28 15:02:05 2004 for Advanced Surface Library by doxygen 1.3.4