52                   QPointF top_right_point,
 
   53                   QPointF bottom_right_point,
 
   54                   QPointF bottom_left_point);
 
   65  void set1D(
double x_range_start, 
double x_range_end);
 
   66  void set2D(QPointF top_left,
 
   72  const std::vector<QPointF> &
getPoints() 
const;
 
   87  double width(
bool &ok) 
const;
 
   88  double height(
bool &ok) 
const;
 
   90  bool rangeX(
double &range_start, 
double &range_end) 
const;
 
   91  bool rangeY(
double &range_start, 
double &range_end) 
const;
 
   96  bool contains(
const QPointF &tested_point) 
const;
 
  112                             const QPointF &tested_point);
 
  122  std::vector<QPointF> 
m_points = {QPointF(std::numeric_limits<double>::min(),
 
  123                                           std::numeric_limits<double>::max()),
 
  124                                   QPointF(std::numeric_limits<double>::max(),
 
  125                                           std::numeric_limits<double>::max()),
 
  126                                   QPointF(std::numeric_limits<double>::max(),
 
  127                                           std::numeric_limits<double>::min()),
 
  128                                   QPointF(std::numeric_limits<double>::min(),
 
  129                                           std::numeric_limits<double>::min())};
 
 
  131  double m_minX = std::numeric_limits<double>::min();
 
  132  double m_minY = std::numeric_limits<double>::min();
 
  134  double m_maxX = std::numeric_limits<double>::max();
 
  135  double m_maxY = std::numeric_limits<double>::max();
 
 
  177    QString text = 
"Selection polygon spec:";
 
  180    text += 
" - data kind: ";
 
 
 
bool range(Enums::Axis axis, double &range_start, double &range_end) const
 
bool rangeX(double &range_start, double &range_end) const
 
bool rangeY(double &range_start, double &range_end) const
 
static void debugAlgorithm(const SelectionPolygon &selection_polygon, const QPointF &tested_point)
 
SelectionPolygon transpose() const
 
QString toShort4PointsString() const
 
void setPoint(PointSpec point_spec, double x, double y)
 
QPointF getTopMostPoint() const
 
QPointF getRightMostPoint() const
 
void set2D(QPointF top_left, QPointF top_right, QPointF bottom_right, QPointF bottom_left)
 
bool computeMinMaxCoordinates()
 
const std::vector< QPointF > & getPoints() const
 
void copyPoint(PointSpec point_spec_src, PointSpec point_spec_dest)
 
double width(bool &ok) const
 
QPointF getLeftMostPoint() const
 
SelectionPolygon & operator=(const SelectionPolygon &other)
 
QPointF getBottomMostPoint() const
 
void set1D(double x_range_start, double x_range_end)
 
QPointF getPoint(PointSpec point_spec) const
 
double height(bool &ok) const
 
bool contains(const QPointF &tested_point) const
 
std::vector< QPointF > m_points
 
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
 
SelectionPolygonSpec(const SelectionPolygonSpec &other)
 
SelectionPolygonSpec & operator=(const SelectionPolygonSpec &other)
 
SelectionPolygonSpec(const SelectionPolygon &selection_polygon, Enums::DataKind data_kind)
 
SelectionPolygon selectionPolygon