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


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