LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Area/volume delimited by points: base/1D implementation. More...
#include "SimpleGeo.h"
Classes | |
class | NullIntersection |
Exception thrown when result of intersection is null. More... | |
Public Types | |
using | Point_t = Point |
using | Area_t = AreaBase< Point > |
Public Member Functions | |
AreaBase ()=default | |
AreaBase (Point_t const &a, Point_t const &b) | |
Point_t const & | Min () const |
Point_t const & | Max () const |
Point_t | Center () const |
auto | DeltaX () const |
bool | isEmptyX () const |
bool | isNullX () const |
bool | isNull () const |
unsigned int | nonEmptyDims () const |
bool | isEmpty () const |
bool | isLine () const |
auto | thinnestSize () const |
unsigned int | thinnestSide () const |
Returns the index of the thinnest side (0 is x) More... | |
void | IncludePoint (Point_t const &point) |
void | Include (Area_t const &area) |
void | Intersect (Area_t const &area) |
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 |
Area/volume delimited by points: base/1D implementation.
Definition at line 145 of file SimpleGeo.h.
using lar::util::simple_geo::AreaBase< Point >::Area_t = AreaBase<Point> |
Definition at line 148 of file SimpleGeo.h.
|
protected |
Definition at line 195 of file SimpleGeo.h.
using lar::util::simple_geo::AreaBase< Point >::Point_t = Point |
Definition at line 147 of file SimpleGeo.h.
|
default |
|
inline |
Definition at line 157 of file SimpleGeo.h.
|
inline |
Definition at line 161 of file SimpleGeo.h.
|
inline |
Definition at line 163 of file SimpleGeo.h.
|
inline |
Definition at line 178 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, and lar::util::simple_geo::AreaBase< Point >::min.
|
inline |
Definition at line 176 of file SimpleGeo.h.
|
inline |
Definition at line 184 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, and lar::util::simple_geo::AreaBase< Point >::min.
|
inline |
Definition at line 168 of file SimpleGeo.h.
|
inline |
Definition at line 164 of file SimpleGeo.h.
|
inline |
Definition at line 169 of file SimpleGeo.h.
|
inline |
Definition at line 166 of file SimpleGeo.h.
|
inline |
Definition at line 165 of file SimpleGeo.h.
|
inline |
Definition at line 160 of file SimpleGeo.h.
|
inline |
Definition at line 159 of file SimpleGeo.h.
|
inline |
Definition at line 167 of file SimpleGeo.h.
|
inline |
Definition at line 192 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, and lar::util::simple_geo::AreaBase< Point >::min.
|
inline |
Definition at line 191 of file SimpleGeo.h.
References lar::util::simple_geo::AreaBase< Point >::max, and lar::util::simple_geo::AreaBase< Point >::min.
|
inlinestaticprotected |
Definition at line 204 of file SimpleGeo.h.
|
inlinestaticprotected |
Definition at line 199 of file SimpleGeo.h.
|
inlinestaticprotected |
Definition at line 209 of file SimpleGeo.h.
|
inlinestaticprotected |
Definition at line 215 of file SimpleGeo.h.
|
inline |
Returns the index of the thinnest side (0 is x)
Definition at line 174 of file SimpleGeo.h.
|
inline |
Definition at line 171 of file SimpleGeo.h.
|
protected |
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==().
|
protected |
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==().