#include <mcoord.h>
Inheritance diagram for Coord3D::
Public Methods | |
Coord3D (float x0=0, float y0=0, float z0=0) | |
Coord3D (const Coord2D &o) | |
Coord3D& | operator= (const Coord3D &o) |
void | operator+= (const Coord3D &o) |
Coord3D | operator/ (double d) const |
Coord3D | operator * (double m) const |
Coord3D | operator- (const Coord3D &o) const |
Coord3D | operator- () const |
void | copy (const Coord3D &o) |
void | copy (const Coord2D &o) |
void | moveTo (float x1, float y1, float z1) |
void | moveBy (float x1, float y1, float z1) |
void | operator>> (OStream &o) const |
float | dist (const Coord3D &o) const |
float | sqdist (const Coord3D &o) const |
Public Attributes | |
float | x |
float | y |
float | z |
Definition at line 70 of file mcoord.h.
|
Computes distance between this and the other point.
|
|
Ordinary free-formatted printout.
Reimplemented from Object. |
|
Computes squared distance between this and the other point.
|