#include <dpoint3d.hh>
Inheritance diagram for oln::dpoint3d:
Public Types | |
typedef abstract::dpoint< dpoint3d > | super_type |
Public Member Functions | |
dpoint3d (coord slice, coord row, coord col) | |
The coordinates of the dpoint3d are set to slice, row, and col. | |
dpoint3d (const point3d &p) | |
The coordinates of the dpoint3d are set to the p coordinates. | |
coord | slice () const |
Return the value of the dpoint3d slice coordinate. | |
coord & | slice () |
Return a reference to the dpoint3d slice coordinate. | |
coord | row () const |
Give the value of the dpoint3d row coordinate. | |
coord & | row () |
Return a reference to the dpoint3d row coordinate. | |
coord | col () const |
Return the value of the dpoint3d column coordinate. | |
coord & | col () |
Return a reference to the dpoint3d column coordinate. | |
Static Public Member Functions | |
std::string | name () |
Protected Member Functions | |
dpoint3d | plus_dp (const dpoint3d &dp) const |
Return a dpoint3d whose coordinates are equal to dp coordinates plus the current dpoint3d coordinates. | |
dpoint3d | minus () const |
Return a dpoint3d whose coordinates are equal to the opposite of the current dpoint3d coordinates. | |
dpoint3d | minus_dp (const dpoint3d &dp) const |
Return a dpoint3d whose coordinates are equal to the current dpoint3d coordinates minus dp coordinates. | |
dpoint3d & | plus_assign_dp (const dpoint3d &dp) |
Return a reference to the current dpoint3d plus dp. | |
dpoint3d & | minus_assign_dp (const dpoint3d &dp) |
Return a reference to the current dpoint3d minus 'dp'. | |
Friends | |
class | abstract::dpoint< dpoint3d > |
Definition at line 65 of file dpoint3d.hh.