#include <dpoint2d.hh>
Inheritance diagram for oln::dpoint2d:


Public Types | |
|
typedef abstract::dpoint< dpoint2d > | super_type |
Public Member Functions | |
| dpoint2d (coord row, coord col) | |
| The coordinates of the dpoint2d are set to row and col. | |
| dpoint2d (const point2d &p) | |
| The coordinates of the dpoint2d are set to the p coordinates. | |
| coord | row () const |
| Return the value of the dpoint2d row coordinate. | |
| coord & | row () |
| Return a reference to the dpoint2d row coordinate. | |
| coord | col () const |
| Return the value of the dpoint2d column coordinate. | |
| coord & | col () |
| Return a reference to the dpoint2d column coordinate. | |
Static Public Member Functions | |
| std::string | name () |
Protected Member Functions | |
| dpoint2d | plus_dp (const dpoint2d &dp) const |
| Return a dpoint2d whose coordinates are equal to dp coordinates plus the current dpoint2d coordinates. | |
| dpoint2d | minus () const |
| Return a dpoint2d whose coordinates are equal to the opposite of the current dpoint2d coordinates. | |
| dpoint2d | minus_dp (const dpoint2d &dp) const |
| Return a dpoint2d whose coordinates are equal to the current dpoint2d coordinates minus dp coordinates. | |
| dpoint2d & | plus_assign_dp (const dpoint2d &dp) |
| Return a reference to the current dpoint2d plus dp. | |
| dpoint2d & | minus_assign_dp (const dpoint2d &dp) |
| Return a reference to the current dpoint2d minus dp. | |
Friends | |
| class | abstract::dpoint< dpoint2d > |
Definition at line 68 of file dpoint2d.hh.
1.3.6-20040222