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 Types inherited from lar::util::simple_geo::AreaBase< Point > | |
using | Point_t = Point |
using | Area_t = AreaBase< Point > |
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) |
Public Member Functions inherited from lar::util::simple_geo::AreaBase< Point > | |
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 |
Private Types | |
using | Base_t = AreaBase< Point > |
Additional Inherited Members | |
Protected Types inherited from lar::util::simple_geo::AreaBase< Point > | |
using | Data_t = typename Point_t::Data_t |
Static Protected Member Functions inherited from lar::util::simple_geo::AreaBase< Point > | |
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 inherited from lar::util::simple_geo::AreaBase< Point > | |
Point_t | min |
Point_t | max |
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.
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.
|
inline |
Definition at line 214 of file SimpleGeo.h.
|
inline |
Definition at line 240 of file SimpleGeo.h.
|
inline |
Definition at line 234 of file SimpleGeo.h.
|
inline |
Definition at line 243 of file SimpleGeo.h.
|
inline |
Definition at line 220 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.
|
inline |
Definition at line 218 of file SimpleGeo.h.
|
inline |
Definition at line 222 of file SimpleGeo.h.
|
inline |
Definition at line 216 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 |
Definition at line 224 of file SimpleGeo.h.