LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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 201 of file SimpleGeo.h.
using lar::util::simple_geo::Area< Point >::Area_t = Area<Point_t> |
Definition at line 206 of file SimpleGeo.h.
|
private |
Definition at line 202 of file SimpleGeo.h.
|
protectedinherited |
Definition at line 176 of file SimpleGeo.h.
using lar::util::simple_geo::Area< Point >::Point_t = typename Base_t::Point_t |
Definition at line 205 of file SimpleGeo.h.
|
default |
|
inline |
Definition at line 210 of file SimpleGeo.h.
References max, min, and lar::util::simple_geo::Point2D< Data >::y.
|
inlineinherited |
Definition at line 142 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 144 of file SimpleGeo.h.
|
inline |
Definition at line 214 of file SimpleGeo.h.
|
inline |
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 234 of file SimpleGeo.h.
References max, min, and lar::util::simple_geo::Point2D< Data >::y.
|
inline |
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 220 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 145 of file SimpleGeo.h.
|
inline |
Definition at line 215 of file SimpleGeo.h.
|
inline |
Definition at line 221 of file SimpleGeo.h.
|
inline |
Definition at line 219 of file SimpleGeo.h.
|
inlineinherited |
Definition at line 146 of file SimpleGeo.h.
|
inline |
Definition at line 218 of file SimpleGeo.h.
|
inline |
Definition at line 222 of file SimpleGeo.h.
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 216 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 228 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==().