Public Types | |
typedef fdpoint2d< F > | exact_type |
Public Member Functions | |
fdpoint2d () | |
fdpoint2d (F row, F col) | |
The coordinates of the dpoint2d are set to row and col. | |
fdpoint2d (const exact_type &p) | |
The coordinates of the dpoint2d are set to the p coordinates. | |
F | row () const |
Return the value of the dpoint2d row coordinate. | |
F & | row () |
Return a reference to the dpoint2d row coordinate. | |
F | col () const |
Return the value of the dpoint2d column coordinate. | |
F & | col () |
Return a reference to the dpoint2d column coordinate. | |
exact_type | operator+ (const exact_type &dp) const |
exact_type | operator- () const |
Return a dpoint2d whose coordinates are equal to the opposite of the current dpoint2d coordinates. | |
exact_type | operator- (const exact_type &dp) const |
Return a dpoint2d whose coordinates are equal to the current dpoint2d coordinates minus dp coordinates. | |
exact_type & | operator+= (const exact_type &dp) |
Return a reference to the current dpoint2d plus dp. | |
exact_type & | operator-= (const exact_type &dp) |
Return a reference to the current dpoint2d minus dp. | |
Static Public Member Functions | |
static std::string | name () |
Definition at line 61 of file fdpoint2d.hh.