Inheritance diagram for mini3d::point4d:
Public Member Functions | |
point4d () | |
A default constructor. | |
point4d (const array<double, 4>& src) | |
A copy constructor from base class. | |
point4d (const array<double, 3>& src, double t) | |
A copy constructor from base class. | |
point4d (const vector3d& src) | |
A copy constructor from vector3d. | |
point4d (const point3d& src) | |
A copy constructor from point3d. | |
point4d (const point4d& src) | |
A copy constructor. | |
point4d (double v[4]) | |
A constructor. | |
point4d (double vx, double vy, double vz, double vw) | |
A constructor. | |
virtual | ~point4d () |
A destructor. | |
array4d | data () const |
Get the data as a double array. | |
array4d | dataGL () const |
Get the data as a double array (for OpenGL rendering). | |
point4d& | operator= (const array<double, 4>& src) |
Copy from the base class. | |
point3d | project () const |
Project the 4d point to a 3D space. | |
Static Public Attributes | |
static const point4d | _zero_point |
|
A default constructor. The vector will set as [0 0 0 1]. |
|
A copy constructor from base class.
|
|
A copy constructor from base class.
|
|
A copy constructor from vector3d.
|
|
A copy constructor from point3d.
|
|
A copy constructor.
|
|
A constructor. The vector will set as [v[0] v[1] v[2] v[3]].
|
|
A constructor. The vector will set as [vx vy vz vw].
|
|
A destructor.
|
|
Get the data as a double array.
|
|
Get the data as a double array (for OpenGL rendering).
|
|
Copy from the base class.
|
|
Project the 4d point to a 3D space.
|
|
|