LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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 293 of file SimpleGeo.h.
|
inherited |
Definition at line 236 of file SimpleGeo.h.
|
private |
Definition at line 294 of file SimpleGeo.h.
|
protectedinherited |
Definition at line 195 of file SimpleGeo.h.
using lar::util::simple_geo::Volume< Point >::Point_t = typename Base_t::Point_t |
Definition at line 297 of file SimpleGeo.h.
using lar::util::simple_geo::Volume< Point >::Volume_t = Volume<Point_t> |
Definition at line 298 of file SimpleGeo.h.
|
default |
|
inline |
Definition at line 302 of file SimpleGeo.h.
References z.
|
inlineinherited |
Definition at line 161 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 163 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 245 of file SimpleGeo.h.
|
inline |
Definition at line 307 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 268 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, and lar::util::simple_geo::AreaBase< Point >::min.
|
inline |
Definition at line 331 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, and lar::util::simple_geo::AreaBase< Point >::min.
|
inline |
Definition at line 325 of file SimpleGeo.h.
References z.
|
inlineinherited |
Definition at line 274 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, lar::util::simple_geo::AreaBase< Point >::min, and lar::util::simple_geo::Point2D< Data >::y.
|
inline |
Definition at line 337 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, lar::util::simple_geo::AreaBase< Point >::min, and z.
|
inline |
Definition at line 312 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 164 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 246 of file SimpleGeo.h.
|
inline |
Definition at line 308 of file SimpleGeo.h.
|
inline |
Definition at line 313 of file SimpleGeo.h.
|
inline |
Definition at line 311 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 165 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 248 of file SimpleGeo.h.
|
inline |
Definition at line 310 of file SimpleGeo.h.
|
inline |
Definition at line 314 of file SimpleGeo.h.
|
inline |
Definition at line 315 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 160 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 159 of file SimpleGeo.h.
|
inline |
Definition at line 309 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 192 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, and lar::util::simple_geo::AreaBase< Point >::min.
|
inlineinherited |
Definition at line 191 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, and lar::util::simple_geo::AreaBase< Point >::min.
|
inlinestaticprotectedinherited |
Definition at line 204 of file SimpleGeo.h.
|
inlinestaticprotectedinherited |
Definition at line 199 of file SimpleGeo.h.
|
inlinestaticprotectedinherited |
Definition at line 209 of file SimpleGeo.h.
|
inlinestaticprotectedinherited |
Definition at line 215 of file SimpleGeo.h.
|
inline |
Returns the index of the thinnest side (0 is x, 1 is y)
Definition at line 320 of file SimpleGeo.h.
|
inline |
Definition at line 317 of file SimpleGeo.h.
|
protectedinherited |
Definition at line 197 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 197 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==().