|
INET Framework for OMNeT++/OMNEST
|
N-dimensional interval (cuboid), given by its two opposite corners. More...
#include <Interval.h>
Public Member Functions | |
| Interval (const Point< T ... > &lower, const Point< T ... > &upper, unsigned char lowerClosed, unsigned char upperClosed, unsigned char fixed) | |
| const Point< T ... > & | getLower () const |
| const Point< T ... > & | getUpper () const |
| unsigned char | getLowerClosed () const |
| unsigned char | getUpperClosed () const |
| unsigned char | getFixed () const |
| template<typename X , int DIMENSION> | |
| Interval< X > | get () const |
| template<typename X , int DIMENSION> | |
| void | set (const Interval< X > &ix) |
| bool | contains (const Point< T ... > &p) const |
| double | getVolume () const |
| Returns the volume in the dimensions denoted by the 1 bits of dims. More... | |
| bool | isEmpty () const |
| Returns true iff getVolume() == 0. More... | |
| Interval< T ... > | getIntersected (const Interval< T ... > &o) const |
| Interval< T ... > | getShifted (const Point< T ... > &p) const |
| template<typename X , int DIMENSION> | |
| Interval< T ... > | getReplaced (Interval< X > ix) const |
| template<typename X , int DIMENSION> | |
| Interval< T ... > | getFixed (X x) const |
| std::string | str () const |
Protected Member Functions | |
| template<size_t ... IS> | |
| void | checkImpl (std::integer_sequence< size_t, IS... >) const |
| template<size_t ... IS> | |
| bool | containsImpl (const Point< T ... > &p, std::integer_sequence< size_t, IS... >) const |
| template<size_t ... IS> | |
| Interval< T ... > | intersectImpl (const Interval< T ... > &o, std::integer_sequence< size_t, IS... >) const |
| template<size_t ... IS> | |
| double | getVolumeImpl (std::integer_sequence< size_t, IS... >) const |
| template<size_t ... IS> | |
| bool | isEmptyImpl (std::integer_sequence< size_t, IS... >) const |
Protected Attributes | |
| Point< T ... > | lower |
| Point< T ... > | upper |
| unsigned char | lowerClosed |
| unsigned char | upperClosed |
| unsigned char | fixed |
N-dimensional interval (cuboid), given by its two opposite corners.
|
inline |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
Referenced by inet::math::Interval< R >::intersectImpl(), inet::math::iterateCorners(), inet::physicallayer::SpaceAndFrequencyDependentAttenuationFunction::partition(), inet::physicallayer::SpaceDependentAttenuationFunction::partition(), inet::math::Combined2DFunction< R, X, Y >::partition(), inet::physicallayer::BackgroundNoisePowerFunction::partition(), inet::physicallayer::PropagatedTransmissionPowerFunction::partition(), inet::math::IntegratedFunction< R, Domain< X, Y >, DIMS, RI, Domain< X > >::partition(), inet::math::internal::print(), and inet::math::Interval< R >::set().
|
inline |
|
inline |
Referenced by inet::math::Boxcar1DFunction< R, X >::partition(), inet::math::Boxcar2DFunction< R, X, Y >::partition(), inet::math::PeriodicallyInterpolated1DFunction< R, X >::partition(), inet::math::Rasterized2DFunction< R, X, Y >::partition(), inet::math::PeriodicallyInterpolated2DFunction< R, X, Y >::partition(), and inet::math::Interpolated1DFunction< R, X >::partition().
|
inline |
Referenced by inet::math::Extruded2DFunction< R, X, Y >::isFinite(), inet::math::Boxcar1DFunction< R, X >::isNonZero(), inet::math::Boxcar2DFunction< R, X, Y >::isNonZero(), inet::math::iterateCorners(), inet::physicallayer::SpaceAndFrequencyDependentAttenuationFunction::partition(), inet::physicallayer::SpaceDependentAttenuationFunction::partition(), inet::math::Combined2DFunction< R, X, Y >::partition(), inet::physicallayer::BackgroundNoisePowerFunction::partition(), inet::physicallayer::PropagatedTransmissionPowerFunction::partition(), inet::math::Extruded2DFunction< R, X, Y >::partition(), inet::math::PeriodicallyInterpolated1DFunction< R, X >::partition(), inet::math::PeriodicallyInterpolated2DFunction< R, X, Y >::partition(), inet::math::Interpolated1DFunction< R, X >::partition(), inet::math::IntegratedFunction< R, Domain< X, Y >, DIMS, RI, Domain< X > >::partition(), inet::math::internal::print(), and inet::math::Interval< R >::set().
|
inline |
Referenced by inet::math::iterateCorners(), inet::math::Combined2DFunction< R, X, Y >::partition(), inet::physicallayer::BackgroundNoisePowerFunction::partition(), inet::physicallayer::PropagatedTransmissionPowerFunction::partition(), inet::math::IntegratedFunction< R, Domain< X, Y >, DIMS, RI, Domain< X > >::partition(), inet::math::internal::print(), and inet::math::Interval< R >::set().
|
inline |
|
inline |
|
inline |
Referenced by inet::math::Extruded2DFunction< R, X, Y >::isFinite(), inet::math::Boxcar1DFunction< R, X >::isNonZero(), inet::math::Boxcar2DFunction< R, X, Y >::isNonZero(), inet::math::iterateCorners(), inet::physicallayer::SpaceAndFrequencyDependentAttenuationFunction::partition(), inet::physicallayer::SpaceDependentAttenuationFunction::partition(), inet::math::Combined2DFunction< R, X, Y >::partition(), inet::physicallayer::BackgroundNoisePowerFunction::partition(), inet::physicallayer::PropagatedTransmissionPowerFunction::partition(), inet::math::Extruded2DFunction< R, X, Y >::partition(), inet::math::PeriodicallyInterpolated1DFunction< R, X >::partition(), inet::math::PeriodicallyInterpolated2DFunction< R, X, Y >::partition(), inet::math::Interpolated1DFunction< R, X >::partition(), inet::math::IntegratedFunction< R, Domain< X, Y >, DIMS, RI, Domain< X > >::partition(), inet::math::internal::print(), and inet::math::Interval< R >::set().
|
inline |
Referenced by inet::math::Extruded2DFunction< R, X, Y >::isFinite(), inet::math::iterateCorners(), inet::math::Combined2DFunction< R, X, Y >::partition(), inet::physicallayer::BackgroundNoisePowerFunction::partition(), inet::physicallayer::PropagatedTransmissionPowerFunction::partition(), inet::math::Extruded2DFunction< R, X, Y >::partition(), inet::math::IntegratedFunction< R, Domain< X, Y >, DIMS, RI, Domain< X > >::partition(), inet::math::internal::print(), and inet::math::Interval< R >::set().
|
inline |
Returns the volume in the dimensions denoted by the 1 bits of dims.
|
inlineprotected |
|
inlineprotected |
|
inline |
Returns true iff getVolume() == 0.
Referenced by inet::math::Boxcar2DFunction< R, X, Y >::call(), inet::math::Rasterized2DFunction< R, X, Y >::call(), and inet::math::PeriodicallyInterpolated2DFunction< R, X, Y >::call().
|
inlineprotected |
|
inline |
|
inline |
|
protected |
|
protected |
Referenced by inet::math::Interval< R >::intersectImpl().
|
protected |
Referenced by inet::math::Interval< R >::intersectImpl().
|
protected |
Referenced by inet::math::Interval< R >::intersectImpl().
|
protected |
Referenced by inet::math::Interval< R >::intersectImpl().