LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Volume delimited by two points. More...
#include "SimpleGeo.h"
Public Types | |
using | Point_t = typename Base_t::Point_t |
using | Volume_t = Volume< Point_t > |
using | Area_t = Area< Point_t > |
Public Member Functions | |
Volume ()=default | |
Volume (Point_t const &a, Point_t const &b) | |
auto | DeltaZ () const |
bool | isEmptyZ () const |
unsigned int | nonEmptyDims () const |
bool | isNullZ () const |
bool | isNull () const |
bool | isEmpty () const |
bool | isLine () const |
bool | isPlane () const |
bool | isVolume () const |
auto | thinnestSize () const |
unsigned int | thinnestSide () const |
Returns the index of the thinnest side (0 is x, 1 is y) More... | |
void | IncludePoint (Point_t const &point) |
void | Include (Volume_t const &volume) |
void | Intersect (Volume_t const &volume) |
auto | DeltaY () const |
bool | isEmptyY () const |
bool | isNullY () const |
void | Include (Area_t const &area) |
void | Intersect (Area_t const &area) |
Point_t const & | Min () const |
Point_t const & | Max () const |
Point_t | Center () const |
auto | DeltaX () const |
bool | isEmptyX () const |
bool | isNullX () const |
bool | operator== (Area_t const &as) const |
bool | operator!= (Area_t const &as) const |
Protected Types | |
using | Data_t = typename Point_t::Data_t |
Static Protected Member Functions | |
static void | set_min (Data_t &var, Data_t val) |
static void | set_max (Data_t &var, Data_t val) |
static void | set_min_max (Data_t &min_var, Data_t &max_var, Data_t val) |
static void | set_sorted (Data_t &min_var, Data_t &max_var, Data_t a, Data_t b) |
Protected Attributes | |
Point_t | min |
Point_t | max |
Private Types | |
using | Base_t = Area< Point > |
Volume delimited by two points.
Definition at line 261 of file SimpleGeo.h.
|
inherited |
Definition at line 206 of file SimpleGeo.h.
|
private |
Definition at line 262 of file SimpleGeo.h.
|
protectedinherited |
Definition at line 176 of file SimpleGeo.h.
using lar::util::simple_geo::Volume< Point >::Point_t = typename Base_t::Point_t |
Definition at line 265 of file SimpleGeo.h.
using lar::util::simple_geo::Volume< Point >::Volume_t = Volume<Point_t> |
Definition at line 266 of file SimpleGeo.h.
|
default |
|
inline |
Definition at line 270 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 142 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 144 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 214 of file SimpleGeo.h.
|
inline |
Definition at line 274 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 240 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, and lar::util::simple_geo::AreaBase< Point >::min.
|
inline |
Definition at line 301 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, and lar::util::simple_geo::AreaBase< Point >::min.
|
inline |
Definition at line 295 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 243 of file SimpleGeo.h.
References max, lar::util::simple_geo::AreaBase< Point >::max, min, lar::util::simple_geo::AreaBase< Point >::min, and lar::util::simple_geo::Point2D< Data >::y.
|
inline |
Definition at line 304 of file SimpleGeo.h.
References max, lar::util::simple_geo::AreaBase< Point >::max, min, lar::util::simple_geo::AreaBase< Point >::min, and z.
|
inline |
Definition at line 280 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 145 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 215 of file SimpleGeo.h.
|
inline |
Definition at line 275 of file SimpleGeo.h.
|
inline |
Definition at line 281 of file SimpleGeo.h.
|
inline |
Definition at line 279 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 146 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 218 of file SimpleGeo.h.
|
inline |
Definition at line 278 of file SimpleGeo.h.
|
inline |
Definition at line 282 of file SimpleGeo.h.
|
inline |
Definition at line 283 of file SimpleGeo.h.
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 276 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 172 of file SimpleGeo.h.
References max, lar::util::simple_geo::AreaBase< Point >::max, min, and lar::util::simple_geo::AreaBase< Point >::min.
|
inlineinherited |
Definition at line 170 of file SimpleGeo.h.
References max, lar::util::simple_geo::AreaBase< Point >::max, min, and lar::util::simple_geo::AreaBase< Point >::min.
|
inlinestaticprotectedinherited |
Definition at line 183 of file SimpleGeo.h.
|
inlinestaticprotectedinherited |
Definition at line 180 of file SimpleGeo.h.
|
inlinestaticprotectedinherited |
Definition at line 186 of file SimpleGeo.h.
|
inlinestaticprotectedinherited |
Definition at line 190 of file SimpleGeo.h.
|
inline |
Returns the index of the thinnest side (0 is x, 1 is y)
Definition at line 289 of file SimpleGeo.h.
|
inline |
|
protectedinherited |
Definition at line 178 of file SimpleGeo.h.
Referenced by lar::util::simple_geo::AreaBase< Point >::Include(), lar::util::simple_geo::Area< Point >::Include(), lar::util::simple_geo::Volume< Point >::Include(), lar::util::simple_geo::AreaBase< Point >::Intersect(), lar::util::simple_geo::Area< Point >::Intersect(), lar::util::simple_geo::Volume< Point >::Intersect(), lar::util::simple_geo::AreaBase< Point >::operator!=(), and lar::util::simple_geo::AreaBase< Point >::operator==().
|
protectedinherited |
Definition at line 178 of file SimpleGeo.h.
Referenced by lar::util::simple_geo::AreaBase< Point >::Include(), lar::util::simple_geo::Area< Point >::Include(), lar::util::simple_geo::Volume< Point >::Include(), lar::util::simple_geo::AreaBase< Point >::Intersect(), lar::util::simple_geo::Area< Point >::Intersect(), lar::util::simple_geo::Volume< Point >::Intersect(), lar::util::simple_geo::AreaBase< Point >::operator!=(), and lar::util::simple_geo::AreaBase< Point >::operator==().