#include <basic/geometry/geo_rangesensor/MgcVector3.h>
Collaboration diagram for MgcVector3:
Public Member Functions | |
MgcVector3 () | |
MgcVector3 (MgcReal fX, MgcReal fY, MgcReal fZ) | |
MgcVector3 (MgcReal afCoordinate[3]) | |
MgcVector3 (const MgcVector3 &rkVector) | |
MgcReal & | operator[] (int i) const |
operator MgcReal * () | |
MgcVector3 & | operator= (const MgcVector3 &rkVector) |
bool | operator== (const MgcVector3 &rkVector) const |
bool | operator!= (const MgcVector3 &rkVector) const |
MgcVector3 | operator+ (const MgcVector3 &rkVector) const |
MgcVector3 | operator- (const MgcVector3 &rkVector) const |
MgcVector3 | operator * (MgcReal fScalar) const |
MgcVector3 | operator/ (MgcReal fScalar) const |
MgcVector3 | operator- () const |
MgcVector3 & | operator+= (const MgcVector3 &rkVector) |
MgcVector3 & | operator-= (const MgcVector3 &rkVector) |
MgcVector3 & | operator *= (MgcReal fScalar) |
MgcVector3 & | operator/= (MgcReal fScalar) |
MgcReal | Length () const |
MgcReal | SquaredLength () const |
MgcReal | Dot (const MgcVector3 &rkVector) const |
MgcReal | Unitize (MgcReal fTolerance=1e-06) |
MgcVector3 | Cross (const MgcVector3 &rkVector) const |
MgcVector3 | UnitCross (const MgcVector3 &rkVector) const |
Static Public Member Functions | |
static void | Orthonormalize (MgcVector3 akVector[3]) |
static void | GenerateOrthonormalBasis (MgcVector3 &rkU, MgcVector3 &rkV, MgcVector3 &rkW, bool bUnitLengthW=true) |
Public Attributes | |
MgcReal | x |
MgcReal | y |
MgcReal | z |
Static Public Attributes | |
static const MgcVector3 | ZERO |
static const MgcVector3 | UNIT_X |
static const MgcVector3 | UNIT_Y |
static const MgcVector3 | UNIT_Z |
Friends | |
MgcVector3 | operator * (MgcReal fScalar, const MgcVector3 &rkVector) |
Definition at line 19 of file MgcVector3.h.
|
Definition at line 22 of file MgcVector3.cpp. Referenced by operator/(). |
|
Definition at line 28 of file MgcVector3.cpp. |
|
Definition at line 35 of file MgcVector3.cpp. |
|
Definition at line 42 of file MgcVector3.cpp. |
|
Definition at line 220 of file MgcVector3.cpp. Referenced by GenerateOrthonormalBasis(), and MgcTestIntersection(). |
|
Definition at line 153 of file MgcVector3.cpp. Referenced by FindIntersection(), MgcFindIntersection(), MgcSqrDistance(), MgcTestIntersection(), and Orthonormalize(). |
|
Definition at line 270 of file MgcVector3.cpp. References MgcMath::Abs(), Cross(), Unitize(), x, y, and z. Referenced by FindIntersection(). Here is the call graph for this function: ![]() |
|
Definition at line 196 of file MgcVector3.cpp. References MgcMath::Sqrt(), x, y, and z. Referenced by Unitize(). Here is the call graph for this function: ![]() |
|
Definition at line 97 of file MgcVector3.cpp. |
|
Definition at line 140 of file MgcVector3.cpp. |
|
Definition at line 56 of file MgcVector3.cpp. References x. |
|
Definition at line 74 of file MgcVector3.cpp. |
|
Definition at line 79 of file MgcVector3.cpp. |
|
Definition at line 124 of file MgcVector3.cpp. |
|
Definition at line 106 of file MgcVector3.cpp. |
|
Definition at line 88 of file MgcVector3.cpp. |
|
Definition at line 132 of file MgcVector3.cpp. |
|
Definition at line 158 of file MgcVector3.cpp. References MgcMath::INFINITY, MgcVector3(), x, y, and z. Here is the call graph for this function: ![]() |
|
Definition at line 177 of file MgcVector3.cpp. References MgcMath::INFINITY, x, y, and z. |
|
Definition at line 61 of file MgcVector3.cpp. |
|
Definition at line 69 of file MgcVector3.cpp. |
|
Definition at line 49 of file MgcVector3.cpp. References x. |
|
Definition at line 243 of file MgcVector3.cpp. References Dot(), and Unitize(). Here is the call graph for this function: ![]() |
|
Definition at line 148 of file MgcVector3.cpp. Referenced by MgcSqrDistance(). |
|
Definition at line 231 of file MgcVector3.cpp. References Unitize(), x, y, and z. Here is the call graph for this function: ![]() |
|
Definition at line 201 of file MgcVector3.cpp. References Length(), x, y, and z. Referenced by GenerateOrthonormalBasis(), Orthonormalize(), and UnitCross(). Here is the call graph for this function: ![]() |
|
Definition at line 115 of file MgcVector3.cpp. |
|
Definition at line 71 of file MgcVector3.h. |
|
Definition at line 72 of file MgcVector3.h. |
|
Definition at line 73 of file MgcVector3.h. |
|
|
|
|
Definition at line 70 of file MgcVector3.h. |