![]() |
VectorEntity
1.1.0
Medical Data Segmentation Toolkit
|
Class encapsulates a point in 3D space. More...
#include <mcpoint3d.h>

Public Types | |
| typedef MCCoordinate3D< double > | tCoordinates |
| Base class. | |
Public Member Functions | |
| double | Distance (const MCPoint3D &b2) const |
| Returns Euclidean distance between this and a given point. | |
| double | GetMultXYZ () const |
| Returns coordinates product. | |
| void | GetPoint3D (MCPoint3D &_point) const |
| Initializes coordinates of a given point. | |
| double | GetSumXYZ () const |
| Returns sum of coordinates. | |
| MCPoint3D () | |
| Default constructor. | |
| MCPoint3D (const double &_x, const double &_y, const double &_z) | |
| Constructor that initializes point coordinates. | |
| MCPoint3D (MCPoint3D *_point) | |
| Constructor that initializes point coordinates. | |
| MCPoint3D (const MCPoint3D &_point) | |
| Constructor that initializes point coordinates. | |
| MCPoint3D & | operator= (const MCPoint3D &p) |
| Assignment operator. | |
| void | SetPoint3D (const MCPoint3D &_point) |
| Copies coordinates from a given point. | |
| double | SquareDistance (const MCPoint3D &b2) const |
| Returns square root of the distance between this and a given point. | |
| ~MCPoint3D () | |
| Destructor. | |
Static Public Member Functions | |
| static double | Distance (const MCPoint3D &b1, const MCPoint3D &b2) |
| Returns distance between two points. | |
| static double | SquareDistance (const MCPoint3D &b1, const MCPoint3D &b2) |
| Returns distance square root. | |
Class encapsulates a point in 3D space.
Base class.
| vctl::MCPoint3D::MCPoint3D | ( | ) | [inline] |
Default constructor.
| vctl::MCPoint3D::MCPoint3D | ( | const double & | _x, |
| const double & | _y, | ||
| const double & | _z | ||
| ) | [inline] |
Constructor that initializes point coordinates.
| vctl::MCPoint3D::MCPoint3D | ( | MCPoint3D * | _point | ) | [inline] |
Constructor that initializes point coordinates.
| vctl::MCPoint3D::MCPoint3D | ( | const MCPoint3D & | _point | ) | [inline] |
Constructor that initializes point coordinates.
| vctl::MCPoint3D::~MCPoint3D | ( | ) | [inline] |
Destructor.
| double vctl::MCPoint3D::Distance | ( | const MCPoint3D & | b2 | ) | const [inline] |
Returns Euclidean distance between this and a given point.
| static double vctl::MCPoint3D::Distance | ( | const MCPoint3D & | b1, |
| const MCPoint3D & | b2 | ||
| ) | [inline, static] |
Returns distance between two points.
| double vctl::MCPoint3D::GetMultXYZ | ( | ) | const [inline] |
Returns coordinates product.
| void vctl::MCPoint3D::GetPoint3D | ( | MCPoint3D & | _point | ) | const [inline] |
Initializes coordinates of a given point.
| double vctl::MCPoint3D::GetSumXYZ | ( | ) | const [inline] |
Returns sum of coordinates.
| void vctl::MCPoint3D::SetPoint3D | ( | const MCPoint3D & | _point | ) | [inline] |
Copies coordinates from a given point.
| double vctl::MCPoint3D::SquareDistance | ( | const MCPoint3D & | b2 | ) | const [inline] |
Returns square root of the distance between this and a given point.
| static double vctl::MCPoint3D::SquareDistance | ( | const MCPoint3D & | b1, |
| const MCPoint3D & | b2 | ||
| ) | [inline, static] |
Returns distance square root.
1.7.6.1