|
CbmRoot
|
A volume dimension representation. More...
Public Member Functions | |
| Dimension ()=default | |
| Default constructor. | |
| Dimension (double lo_, double up_) | |
| Constructor. | |
| Dimension & | operator+= (const Dimension &other) |
| Compound assignment of another dimension. | |
| double | Center () const |
| Center of the dimension. | |
| bool | IsValid () const |
| Checks, if the dimension is valid. | |
| bool | HasOverlapWith (const Dimension &other) const |
| Checks, if the dimension has an overlap with another dimension. | |
| double | Size () const |
| Size of the dimension. | |
Public Attributes | |
| double | lo {+std::numeric_limits<double>::max()} |
| Lower bound of the dimension. | |
| double | up {-std::numeric_limits<double>::max()} |
| Upper bound of the dimension. | |
A volume dimension representation.
Definition at line 28 of file GeoVolume.h.
|
default |
Default constructor.
|
inline |
Constructor.
Definition at line 36 of file GeoVolume.h.
|
inline |
Center of the dimension.
Definition at line 47 of file GeoVolume.h.
|
inline |
Checks, if the dimension has an overlap with another dimension.
| other | Other dimension |
Definition at line 54 of file GeoVolume.h.
|
inline |
Checks, if the dimension is valid.
Definition at line 50 of file GeoVolume.h.
Compound assignment of another dimension.
Definition at line 39 of file GeoVolume.h.
|
inline |
Size of the dimension.
Definition at line 57 of file GeoVolume.h.
| double cbm::algo::GeoVolume::Dimension::lo {+std::numeric_limits<double>::max()} |
Lower bound of the dimension.
Definition at line 29 of file GeoVolume.h.
| double cbm::algo::GeoVolume::Dimension::up {-std::numeric_limits<double>::max()} |
Upper bound of the dimension.
Definition at line 30 of file GeoVolume.h.