Klang C++ 0.7.15
Language Reference (draft)
Loading...
Searching...
No Matches
klang::Generic::Graph< SIZE >::Point

A data point. More...

#include <klang.h>

Public Member Functions

bool valid () const
 
Series & operator>> (Series &series)
 

Public Attributes

double x
 
double y
 

Detailed Description

template<int SIZE>
struct klang::Generic::Graph< SIZE >::Point

Definition at line 3336 of file klang.h.

Member Function Documentation

◆ operator>>()

template<int SIZE>
Series & klang::Generic::Graph< SIZE >::Point::operator>> ( Series & series)

◆ valid()

template<int SIZE>
bool klang::Generic::Graph< SIZE >::Point::valid ( ) const
inline

Definition at line 3338 of file klang.h.

3338{ return !::isnan(x) && !::isinf(x) && !::isnan(y); } // NB: y can be +/- inf

References klang::Generic::Graph< SIZE >::Point::x, and klang::Generic::Graph< SIZE >::Point::y.

Referenced by klang::Generic::Graph< SIZE >::Axis::from().

Member Data Documentation

◆ x

◆ y