35 #ifndef OPENMS_DATASTRUCTURES_CONVEXHULL2D_H 36 #define OPENMS_DATASTRUCTURES_CONVEXHULL2D_H 41 #include <OpenMS/OpenMSConfig.h> 96 const PointArrayType& getHullPoints()
const;
99 void setHullPoints(
const PointArrayType& points);
106 bool addPoint(
const PointType& point);
110 void addPoints(
const PointArrayType& points);
134 void expandToBoundingBox();
146 bool encloses(
const PointType& point)
const;
158 #endif // OPENMS_DATASTRUCTURES_DCONVEXHULL_H DPosition< 2 > PointType
Definition: ConvexHull2D.h:76
PointArrayType outer_points_
just the list of points of the outer hull (derived from map_points_ or given by user) ...
Definition: ConvexHull2D.h:153
std::vector< PointType > PointArrayType
Definition: ConvexHull2D.h:77
PointArrayType::const_iterator PointArrayTypeConstIterator
Definition: ConvexHull2D.h:79
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
A 2-dimensional hull representation in [counter]clockwise direction - depending on axis labelling...
Definition: ConvexHull2D.h:73
PointArrayType::size_type SizeType
Definition: ConvexHull2D.h:78
HullPointType map_points_
internal structure maintaining the hull and enabling queries to encloses()
Definition: ConvexHull2D.h:150
Map< PointType::CoordinateType, DBoundingBox< 1 > > HullPointType
Definition: ConvexHull2D.h:81
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:128
Map class based on the STL map (containing several convenience functions)
Definition: Map.h:51