Inheritance diagram for mini3d::point3d:
Public Member Functions | |
point3d () | |
A default constructor. | |
point3d (const array<double, 3>& src) | |
A copy constructor from base class. | |
point3d (const vector3d& src) | |
A copy constructor from vector3d. | |
point3d (const point3d& src) | |
A copy constructor. | |
point3d (double v[3]) | |
A constructor. | |
point3d (double vx, double vy, double vz) | |
A constructor. | |
virtual | ~point3d () |
A destructor. | |
array3d | data () const |
Get the data as a double array. | |
array3d | dataGL () const |
Get the data as a double array (for OpenGL rendering). | |
point3d | operator+ (const vector3d& v) const |
Find point with the offset vector. | |
vector3d | operator- (const point3d& rhs) const |
Find vector between two points. | |
point3d& | operator= (const array<double, 3>& src) |
Copy from the base class. | |
Static Public Attributes | |
static const point3d | _zero_point |
|
A default constructor. The vector will set as [0 0 0]. |
|
A copy constructor from base class.
|
|
A copy constructor from vector3d.
|
|
A copy constructor.
|
|
A constructor. The vector will set as [v[0] v[1] v[2]].
|
|
A constructor. The vector will set as [vx vy vz].
|
|
A destructor.
|
|
Get the data as a double array.
|
|
Get the data as a double array (for OpenGL rendering).
|
|
Find point with the offset vector.
|
|
Find vector between two points.
|
|
Copy from the base class.
|
|
|