OpenMS  2.7.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>

Collaboration diagram for TransformationModel::DataPoint:
[legend]

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

◆ operator==()

bool operator== ( const DataPoint other) const
inline

Member Data Documentation

◆ first

double first

◆ note

String note

◆ second

double second