35 #ifndef OPENMS_DATASTRUCTURES_CONVEXHULL2D_H
36 #define OPENMS_DATASTRUCTURES_CONVEXHULL2D_H
38 #include <OpenMS/config.h>
136 void expandToBoundingBox();
148 bool encloses(
const PointType & point)
const;
160 #endif // OPENMS_DATASTRUCTURES_DCONVEXHULL_H
DPosition< 2 > PointType
Definition: ConvexHull2D.h:78
PointArrayType outer_points_
just the list of points of the outer hull (derived from map_points_ or given by user) ...
Definition: ConvexHull2D.h:155
std::vector< PointType > PointArrayType
Definition: ConvexHull2D.h:79
PointArrayType::const_iterator PointArrayTypeConstIterator
Definition: ConvexHull2D.h:81
A 2-dimensional hull representation in [counter]clockwise direction - depending on axis labelling...
Definition: ConvexHull2D.h:75
PointArrayType::size_type SizeType
Definition: ConvexHull2D.h:80
HullPointType map_points_
internal structure maintaining the hull and enabling queries to encloses()
Definition: ConvexHull2D.h:152
Map< PointType::CoordinateType, DBoundingBox< 1 > > HullPointType
Definition: ConvexHull2D.h:83
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:144
A D-dimensional bounding box.
Definition: DBoundingBox.h:51
Map class based on the STL map (containing serveral convenience functions)
Definition: Map.h:50