#include <fpoint2d.hh>
Collaboration diagram for oln::fpoint2d< F >:
Public Types | |
typedef fpoint2d< F > | exact_type |
typedef fpoint2d< F > | self_type |
typedef fdpoint2d< F > | dpoint_type |
Public Member Functions | |
fpoint2d (F x, F y) | |
fpoint2d () | |
F | row () const |
Give the value of the nth coordinate of the point. | |
F & | row () |
F | col () const |
F & | col () |
F | nth (const unsigned dim) const |
F & | nth (const unsigned dim) |
Return a reference to the nth coordinate of the point. | |
exact_type | operator- () const |
exact_type & | operator+= (const dpoint_type &dp) |
exact_type & | operator-= (const dpoint_type &dp) |
dpoint_type | operator- (const self_type &p) const |
exact_type | operator- (const dpoint_type &dp) const |
dpoint_type | operator+ (const self_type &p) const |
exact_type | operator+ (const dpoint_type &dp) const |
bool | operator== (const self_type &p) const |
Test if p and the current point have the same coordinates. | |
bool | operator!= (const self_type &p) const |
Test if p and the current point do not have the same coordinates. |
Definition at line 65 of file fpoint2d.hh.
bool oln::fpoint2d< F >::operator== | ( | const self_type & | p | ) | const [inline] |
Test if p and the current point have the same coordinates.
Definition at line 189 of file fpoint2d.hh.
References oln::fpoint2d< F >::nth().
bool oln::fpoint2d< F >::operator!= | ( | const self_type & | p | ) | const [inline] |
Test if p and the current point do not have the same coordinates.
Definition at line 203 of file fpoint2d.hh.
References oln::fpoint2d< F >::nth().