A basic interface for objects owning an area. More...
#include <Partitions.h>
Public Types | |
using | Area_t = lar::util::simple_geo::Rectangle< double > |
Type of area covered by the partition. More... | |
using | AreaRangeMember_t = Area_t::Range_t(Area_t::*) |
Type of pointer to Area_t data member of type Range_t. More... | |
Public Member Functions | |
AreaOwner (Area_t const &area) | |
Constructor: sets the covered area and no subpartitions. More... | |
bool | contains (double w, double d) const |
Returns whether the specified point is covered by this object. More... | |
Area_t const & | area () const |
Returns the covered area. More... | |
template<typename Stream > | |
void | dumpArea (Stream &&out) const |
Output the owned area into an output stream. More... | |
Private Attributes | |
Area_t | myArea |
Covered area. More... | |
A basic interface for objects owning an area.
Definition at line 39 of file Partitions.h.
using geo::part::AreaOwner::Area_t = lar::util::simple_geo::Rectangle<double> |
Type of area covered by the partition.
Definition at line 43 of file Partitions.h.
using geo::part::AreaOwner::AreaRangeMember_t = Area_t::Range_t (Area_t::*) |
Type of pointer to Area_t data member of type Range_t.
Definition at line 46 of file Partitions.h.
|
inline |
Constructor: sets the covered area and no subpartitions.
Definition at line 49 of file Partitions.h.
|
inline |
|
inline |
Returns whether the specified point is covered by this object.
Definition at line 52 of file Partitions.h.
|
inline |
Output the owned area into an output stream.
Definition at line 60 of file Partitions.h.
|
private |
Covered area.
Definition at line 63 of file Partitions.h.