EMAN2
Public Member Functions | Public Attributes | List of all members
EMAN::XYData::Pair Struct Reference

#include <xydata.h>

Public Member Functions

 Pair (float xx, float yy)
 
bool operator< (const Pair &p) const
 

Public Attributes

float x
 
float y
 

Detailed Description

Definition at line 49 of file xydata.h.

Constructor & Destructor Documentation

◆ Pair()

EMAN::XYData::Pair::Pair ( float  xx,
float  yy 
)
inline

Definition at line 51 of file xydata.h.

52 :x(xx), y(yy)
53 {
54 }

Member Function Documentation

◆ operator<()

bool EMAN::XYData::Pair::operator< ( const Pair p) const
inline

Definition at line 56 of file xydata.h.

57 {
58 return (x < p.x);
59 }

References x.

Member Data Documentation

◆ x

float EMAN::XYData::Pair::x

Definition at line 61 of file xydata.h.

Referenced by operator<().

◆ y

float EMAN::XYData::Pair::y

Definition at line 62 of file xydata.h.


The documentation for this struct was generated from the following file: