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


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