| OpenMS 2.5.0

Public Member Functions | Public Attributes | List of all members
TransformationModel::DataPoint Struct Reference

Coordinate pair (with optional annotation) More...

`#include <OpenMS/ANALYSIS/MAPMATCHING/TransformationModel.h>`

## Public Member Functions

| DataPoint (double first_=0.0, double second_=0.0, const String &note_="")
| DataPoint (const std::pair< double, double > &pair)
bool | operator< (const DataPoint &other) const
bool | operator== (const DataPoint &other) const

## Public Attributes

double | first
double | second
String | note

## Detailed Description

Coordinate pair (with optional annotation)

## Constructor & Destructor Documentation

## ◆ DataPoint() [1/2]

DataPoint | ( | double | first_ = `0.0`,
|  | double | second_ = `0.0`,
|  | const String & | note_ = `""`
| ) |  |

inline

## ◆ DataPoint() [2/2]

DataPoint | ( | const std::pair< double, double > & | pair | ) |

inline

## Member Function Documentation

## ◆ operator<()

bool operator< | ( | const DataPoint & | other | ) | const

inline

References TransformationModel::DataPoint::first, TransformationModel::DataPoint::note, and TransformationModel::DataPoint::second.

## ◆ operator==()

bool operator== | ( | const DataPoint & | other | ) | const

inline

References TransformationModel::DataPoint::first, TransformationModel::DataPoint::note, and TransformationModel::DataPoint::second.

## Member Data Documentation

## ◆ first

double first

Referenced by TransformationModel::DataPoint::operator<(), and TransformationModel::DataPoint::operator==().

## ◆ note

String note

Referenced by TransformationModel::DataPoint::operator<(), and TransformationModel::DataPoint::operator==().

## ◆ second

double second

Referenced by TransformationModel::DataPoint::operator<(), and TransformationModel::DataPoint::operator==().