3D point using 64-bit 'double' coordinates. More...
#include <mi32/point.h>

Public Member Functions | |
| DPOINT3D (const DPOINT3D_OLD &rhs) | |
| DPOINT3D (const DPOINT2D &rhs) | |
| DPOINT3D (const double dx, const double dy, const double dz) | |
| DPOINT3D (const DPOINT3D &rhs) | |
| DPOINT3D () | |
| DPOINT3D | ComputeMidpoint (const DPOINT3D &rhs) const |
| void | CrossProduct (const DPOINT3D &in1, const DPOINT3D &in2) |
| DEPRECATED_MSG ("Use GetDistanceSquared3D/2D to avoid ambiguity") double GetDistanceSquared(const DPOINT3D &pt) const | |
| DEPRECATED_MSG ("Use GetDistance3D/2D to avoid ambiguity") double GetDistance(const DPOINT3D &pt) const | |
| double | GetDistance3D (const DPOINT3D &pt) const |
| double | GetDistanceSquared3D (const DPOINT3D &pt) const |
| double | GetMagnitude3D () const |
| double | GetMagnitudeSquared3D () const |
| double | GetZ () const |
| void | Move (const double distance, const double azimuth, const double elevation) |
| void | Normalize () |
| DPOINT3D | operator* (const double rhs) const |
| DPOINT3D | operator*= (const double rhs) |
| DPOINT3D | operator+ (const DPOINT3D &rhs) const |
| DPOINT3D | operator+= (const DPOINT3D &rhs) |
| DPOINT3D | operator- (const DPOINT3D &rhs) const |
| DPOINT3D | operator- () const |
| DPOINT3D | operator-= (const DPOINT3D &rhs) |
| DPOINT3D | operator/ (const double rhs) const |
| DPOINT3D | operator/= (const double rhs) |
| DPOINT3D & | operator= (const DPOINT3D_OLD &rhs) |
| DPOINT3D & | operator= (const FPOINT3D &rhs) |
| DPOINT3D & | operator= (const DPOINT2D &rhs) |
| void | Set (double ix, double iy, double iz) |
| void | SetZ (double p_z) |
| void | Shift (const double xval, const double yval, const double zval) |
| void | Shift (const DPOINT3D &value) |
| void | SwapBytes () |
Static Public Member Functions | |
| static double | DotProduct (const DPOINT3D &in1, const DPOINT3D &in2) |
Public Attributes | |
| double | z |
3D point using 64-bit 'double' coordinates.
| DPOINT3D::DPOINT3D | ( | ) | [inline] |
Default constructor, performs no initialization.
| DPOINT3D::DPOINT3D | ( | const DPOINT3D & | rhs | ) | [inline] |
Copy constructor.
| DPOINT3D::DPOINT3D | ( | const double | dx, | |
| const double | dy, | |||
| const double | dz | |||
| ) | [inline] |
Initialize from separate X, Y, Z values.
| DPOINT3D::DPOINT3D | ( | const DPOINT3D_OLD & | rhs | ) | [inline] |
Implicit conversion from DPOINT3D_OLD.
Given 'this' and another point, compute the midpoint between them.
Reimplemented from DPOINT2D.
Compute the cross product of two DPOINT3Ds.
| DPOINT3D::DEPRECATED_MSG | ( | "Use GetDistanceSquared3D/2D to avoid ambiguity" | ) | const [inline] |
Return squared distance between two points.
| DPOINT3D::DEPRECATED_MSG | ( | "Use GetDistance3D/2D to avoid ambiguity" | ) | const [inline] |
Return distance between two points.
Compute the dot product of two DPOINT3Ds.
| double DPOINT3D::GetDistance3D | ( | const DPOINT3D & | pt | ) | const [inline] |
Return distance between two points.
| double DPOINT3D::GetDistanceSquared3D | ( | const DPOINT3D & | pt | ) | const [inline] |
Return squared distance between two points.
| double DPOINT3D::GetMagnitude3D | ( | ) | const [inline] |
Return magnitude (distance between origin and point).
| double DPOINT3D::GetMagnitudeSquared3D | ( | ) | const [inline] |
Return squared magnitude.
| double DPOINT3D::GetZ | ( | ) | const [inline] |
Get Z value.
| void DPOINT3D::Move | ( | const double | distance, | |
| const double | azimuth, | |||
| const double | elevation | |||
| ) | [inline] |
Move point by distance, azimuth (in degrees) and elevation.
| azimuth | Total distance traveled | |
| elevation | Where [0,1] is 0, and [1,0] is 90 Eleviation difference |
| void DPOINT3D::Normalize | ( | ) | [inline] |
Normalize 3D vector represented by point.
Reimplemented from DPOINT2D.
| DPOINT3D DPOINT3D::operator* | ( | const double | rhs | ) | const [inline] |
Multiplication operator.
Reimplemented from DPOINT2D.
| DPOINT3D DPOINT3D::operator*= | ( | const double | rhs | ) | [inline] |
Times equals operator.
Reimplemented from DPOINT2D.
Addition operator.
Reimplemented from DPOINT2D.
Plus equals operator.
Reimplemented from DPOINT2D.
Subtraction operator.
Reimplemented from DPOINT2D.
| DPOINT3D DPOINT3D::operator- | ( | ) | const [inline] |
Negation operator.
Minus equals operator.
Reimplemented from DPOINT2D.
| DPOINT3D DPOINT3D::operator/ | ( | const double | rhs | ) | const [inline] |
Division operator.
Reimplemented from DPOINT2D.
| DPOINT3D DPOINT3D::operator/= | ( | const double | rhs | ) | [inline] |
Divided by equals operator.
Reimplemented from DPOINT2D.
| DPOINT3D& DPOINT3D::operator= | ( | const DPOINT3D_OLD & | rhs | ) | [inline] |
Assignment from DPOINT3D_OLD.
Assignment from DPOINT2D.
Reimplemented in RVC::VECTOR::NODE, and RVC::VECTOR::POINT.
| void DPOINT3D::Set | ( | double | ix, | |
| double | iy, | |||
| double | iz | |||
| ) | [inline] |
| void DPOINT3D::SetZ | ( | double | p_z | ) | [inline] |
Set Z value.
| void DPOINT3D::Shift | ( | const double | xval, | |
| const double | yval, | |||
| const double | zval | |||
| ) | [inline] |
Shift point by a single value.
| void DPOINT3D::Shift | ( | const DPOINT3D & | value | ) | [inline] |
Shift point using another point.
Reimplemented from DPOINT2D.
| void DPOINT3D::SwapBytes | ( | ) | [inline] |
Perform byte-swapping.
Reimplemented from DPOINT2D.
| double DPOINT3D::z |
1.6.1