![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
boundingbox.hh
Go to the documentation of this file.
42 /* if point set is empty throw an exception otherwise set lower/upper to the first point in the container */
44 DUNE_THROW(Dune::RangeError,"Point set is empty in Constructor BoundingBox::BoundingBox(const std::vector<CoordType>& points)");
std::ostream & operator<<(std::ostream &s, const Box< CoordType, dim > &box)
Definition boundingbox.hh:130
size_type dim() const
#define DUNE_THROW(E,...)
BoundingBox(const CoordType &point)
Create "box" from one given point.
Definition boundingbox.hh:34
BoundingBox(const std::vector< const CoordType > &points)
Create bounding box of a set of points.
Definition boundingbox.hh:40
void setCenter()
calculates and sets the coordinates of the center of the box
Definition boundingbox.hh:90
bool insideNeighborhood(const CoordType &point, const double epsilon)
checks whether a point is inside an epsilon neighborhood of the bounding box
Definition boundingbox.hh:115
BoundingBox(const CoordType &lower, const CoordType &upper)
Create box from two given points.
Definition boundingbox.hh:28
void expandToInclude(const CoordType &point, bool resetCenter=true)
expands box to include a new point
Definition boundingbox.hh:74
T endl(T... args)
T size(T... args)
