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 125 of file SimpleGeo.h.
using lar::util::simple_geo::AreaBase< Point >::Area_t = AreaBase<Point> |
Definition at line 128 of file SimpleGeo.h.
|
protected |
Definition at line 176 of file SimpleGeo.h.
using lar::util::simple_geo::AreaBase< Point >::Point_t = Point |
Definition at line 127 of file SimpleGeo.h.
|
default |
|
inline |
Definition at line 137 of file SimpleGeo.h.
|
inline |
Definition at line 142 of file SimpleGeo.h.
|
inline |
Definition at line 144 of file SimpleGeo.h.
|
inline |
Definition at line 160 of file SimpleGeo.h.
|
inline |
Definition at line 157 of file SimpleGeo.h.
|
inline |
Definition at line 163 of file SimpleGeo.h.
|
inline |
Definition at line 149 of file SimpleGeo.h.
|
inline |
Definition at line 145 of file SimpleGeo.h.
|
inline |
Definition at line 150 of file SimpleGeo.h.
|
inline |
Definition at line 147 of file SimpleGeo.h.
|
inline |
Definition at line 146 of file SimpleGeo.h.
|
inline |
Definition at line 141 of file SimpleGeo.h.
|
inline |
Definition at line 140 of file SimpleGeo.h.
|
inline |
Definition at line 148 of file SimpleGeo.h.
|
inline |
Definition at line 172 of file SimpleGeo.h.
|
inline |
Definition at line 170 of file SimpleGeo.h.
|
inlinestaticprotected |
Definition at line 183 of file SimpleGeo.h.
|
inlinestaticprotected |
Definition at line 180 of file SimpleGeo.h.
|
inlinestaticprotected |
Definition at line 186 of file SimpleGeo.h.
|
inlinestaticprotected |
Definition at line 190 of file SimpleGeo.h.
|
inline |
Returns the index of the thinnest side (0 is x)
Definition at line 155 of file SimpleGeo.h.
|
inline |
Definition at line 152 of file SimpleGeo.h.
|
protected |
Definition at line 178 of file SimpleGeo.h.
|
protected |
Definition at line 178 of file SimpleGeo.h.