LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Area delimited by two points. More...
#include "SimpleGeo.h"
Public Types | |
using | Point_t = typename Base_t::Point_t |
using | Area_t = Area< Point_t > |
Public Member Functions | |
Area ()=default | |
Area (Point_t const &a, Point_t const &b) | |
auto | DeltaY () const |
bool | isEmptyY () const |
unsigned int | nonEmptyDims () const |
bool | isNullY () const |
bool | isNull () const |
bool | isEmpty () const |
bool | isLine () const |
bool | isPlane () 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 (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 = AreaBase< Point > |
Area delimited by two points.
Definition at line 231 of file SimpleGeo.h.
using lar::util::simple_geo::Area< Point >::Area_t = Area<Point_t> |
Definition at line 236 of file SimpleGeo.h.
|
private |
Definition at line 232 of file SimpleGeo.h.
|
protectedinherited |
Definition at line 195 of file SimpleGeo.h.
using lar::util::simple_geo::Area< Point >::Point_t = typename Base_t::Point_t |
Definition at line 235 of file SimpleGeo.h.
|
default |
|
inline |
Definition at line 240 of file SimpleGeo.h.
References lar::util::simple_geo::Point2D< Data >::y.
|
inlineinherited |
Definition at line 161 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 163 of file SimpleGeo.h.
|
inline |
Definition at line 245 of file SimpleGeo.h.
|
inline |
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 262 of file SimpleGeo.h.
References lar::util::simple_geo::Point2D< Data >::y.
|
inline |
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 250 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 164 of file SimpleGeo.h.
|
inline |
Definition at line 246 of file SimpleGeo.h.
|
inline |
Definition at line 251 of file SimpleGeo.h.
|
inline |
Definition at line 249 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 165 of file SimpleGeo.h.
|
inline |
Definition at line 248 of file SimpleGeo.h.
|
inline |
Definition at line 252 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 247 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 257 of file SimpleGeo.h.
|
inline |
Definition at line 254 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==().