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