#include <dpoint1d.hh>
Inheritance diagram for oln::dpoint1d:
Public Types | |
typedef abstract::dpoint< dpoint1d > | super_type |
Public Member Functions | |
dpoint1d (coord c) | |
The coordinate of the dpoint1d is set to c. | |
dpoint1d (const point1d &p) | |
The coordinate of the dpoint1d is set to the coordinate . | |
coord | col () const |
Return the value of the dpoint1d coordinate. | |
coord & | col () |
Return a reference to the dpoint1d coordinate. | |
Static Public Member Functions | |
std::string | name () |
Protected Member Functions | |
dpoint1d | plus_dp (const dpoint1d &dp) const |
Return a dpoint1d whose coordinate is equal to dp coordinate plus the current dpoint1d coordinate. | |
dpoint1d | minus () const |
Return a dpoint1d whose coordinate is equal to the opposite of the current dpoint1d coordinate. | |
dpoint1d | minus_dp (const dpoint1d &dp) const |
Return a dpoint1d whose coordinate is equal to the current dpoint1d coordinate minus 'dp' coordinate. | |
dpoint1d & | plus_assign_dp (const dpoint1d &dp) |
Return a reference to the current dpoint1d plus 'dp'. | |
dpoint1d & | minus_assign_dp (const dpoint1d &dp) |
Return a reference to the current dpoint1d minus 'dp'. | |
Friends | |
class | abstract::dpoint< dpoint1d > |
Definition at line 68 of file dpoint1d.hh.