#include <cd_vector.h>
Public Member Functions | |
void | AngleAxis (Type angle, const Vector3d< Type > &axis) |
Type | Area (const Vector3d< Type > &p1, const Vector3d< Type > &p2) const |
bool | BinaryEqual (const Vector3d< double > &p) const |
bool | BinaryEqual (const Vector3d< int > &p) const |
double | ComputeNormal (const Vector3d< double > &A, const Vector3d< double > &B, const Vector3d< double > &C) |
double | ComputePlane (const Vector3d< double > &A, const Vector3d< double > &B, const Vector3d< double > &C) |
bool | Concave (const Vector3d< double > &a, const Vector3d< double > &b) |
Vector3d< Type > | Cross (const Vector3d< Type > &other) const |
void | Cross (const Vector3d< Type > &a, const Vector3d< Type > &b) |
Type | Distance (const Vector3d< Type > &a) const |
Type | Distance2 (const Vector3d< Type > &a) const |
Type | DistanceXY (const Vector3d< Type > &a) const |
Type | Dot (const Vector3d< Type > &a) const |
Type | FastDistance (const Vector3d< Type > &a) const |
Type | FasterDistance (const Vector3d< Type > &a) const |
Type | FasterLength (void) const |
Type | FasterMagnitude (void) const |
double | FasterNormalize (void) |
Type | FastLength (void) const |
Type | FastMagnitude (void) const |
double | FastNormalize (void) |
void | Get (Type *v) const |
Type | GetX (void) const |
Type | GetY (void) const |
Type | GetZ (void) const |
void | Interpolate (const Vector3d< double > &from, const Vector3d< double > &to, double offset) |
bool | IsSame (const Vector3d< double > &v, double epsilon) const |
Type | Length (void) const |
Type | Length2 (void) const |
void | Lerp (const Vector3d< Type > &from, const Vector3d< Type > &to, double slerp) |
Type | Magnitude (void) const |
void | NearestPointInLine (const Vector3d< Type > &point, const Vector3d< Type > &line0, const Vector3d< Type > &line1) |
void | NearestPointInLineSegment (const Vector3d< Type > &point, const Vector3d< Type > &line0, const Vector3d< Type > &line1) |
void | NearestPointInPlane (const Vector3d< Type > &point, const Vector3d< Type > &triangle0, const Vector3d< Type > &triangle1, const Vector3d< Type > &triangle2) |
void | NearestPointInPlane (const Vector3d< Type > &point, const Vector3d< Type > &planePoint, const Vector3d< Type > &planeNormal) |
void | NearestPointInTriangle (const Vector3d< Type > &point, const Vector3d< Type > &triangle0, const Vector3d< Type > &triangle1, const Vector3d< Type > &triangle2) |
Vector3d | negative (void) const |
double | Normalize (void) |
bool | operator!= (const Vector3d< Type > &a) const |
Vector3d | operator* (const double s) const |
void | operator*= (const double s) |
Vector3d | operator+ (const Vector3d &A) const |
Vector3d | operator+ (const double s) const |
void | operator+= (const Vector3d A) |
void | operator+= (const double A) |
Vector3d | operator- (const Vector3d &A) const |
Vector3d | operator- (void) const |
void | operator-= (const Vector3d A) |
Vector3d | operator/ (const double s) const |
void | operator/= (Type A) |
Vector3d & | operator= (const Vector3d &A) |
bool | operator== (const Vector3d< Type > &a) const |
Type | operator[] (const int i) const |
Type & | operator[] (const int i) |
Type | Partial (const Vector3d< Type > &p) const |
bool | PointInTriXY (const Vector3d< double > &p1, const Vector3d< double > &p2, const Vector3d< double > &p3) const |
bool | PointInTriXZ (const Vector3d< double > &p1, const Vector3d< double > &p2, const Vector3d< double > &p3) const |
bool | PointInTriYZ (const Vector3d< double > &p1, const Vector3d< double > &p2, const Vector3d< double > &p3) const |
bool | PointTestXY (const Vector3d< double > &i, const Vector3d< double > &j) const |
const Type * | Ptr () const |
Type * | Ptr () |
void | Reflection (const Vector3d< Type > &a, const Vector3d< Type > &b) |
void | ScaleSumScale (double c0, double c1, const Vector3d< double > &pos) |
void | Set (const int *p) |
void | Set (const double *p) |
void | Set (Type a, Type b, Type c) |
void | SetX (Type t) |
void | SetY (Type t) |
void | SetZ (Type t) |
void | SwapYZ (void) |
Vector3d (void) | |
Vector3d (const Vector3d &a) | |
Vector3d (Type a, Type b, Type c) | |
Vector3d (const double *t) | |
Vector3d (const int *t) | |
Type | X (void) const |
Type | Y (void) const |
Type | Z (void) const |
void | Zero (void) |
Public Attributes | |
Type | x |
Type | y |
Type | z |
Definition at line 82 of file cd_vector.h.
|
inline |
Definition at line 85 of file cd_vector.h.
|
inline |
Definition at line 87 of file cd_vector.h.
|
inline |
Definition at line 94 of file cd_vector.h.
|
inline |
Definition at line 101 of file cd_vector.h.
|
inline |
Definition at line 108 of file cd_vector.h.
|
inline |
Definition at line 384 of file cd_vector.h.
|
inline |
Definition at line 494 of file cd_vector.h.
|
inline |
Definition at line 348 of file cd_vector.h.
|
inline |
Definition at line 360 of file cd_vector.h.
|
inline |
Definition at line 206 of file cd_vector.h.
|
inline |
Definition at line 397 of file cd_vector.h.
|
inline |
Definition at line 582 of file cd_vector.h.
|
inline |
Definition at line 562 of file cd_vector.h.
|
inline |
Definition at line 569 of file cd_vector.h.
|
inline |
Definition at line 454 of file cd_vector.h.
|
inline |
Definition at line 481 of file cd_vector.h.
|
inline |
Definition at line 473 of file cd_vector.h.
|
inline |
Definition at line 556 of file cd_vector.h.
|
inline |
Definition at line 460 of file cd_vector.h.
|
inline |
Definition at line 466 of file cd_vector.h.
|
inline |
Definition at line 443 of file cd_vector.h.
|
inline |
Definition at line 315 of file cd_vector.h.
|
inline |
Definition at line 536 of file cd_vector.h.
|
inline |
Definition at line 437 of file cd_vector.h.
|
inline |
Definition at line 310 of file cd_vector.h.
|
inline |
Definition at line 519 of file cd_vector.h.
|
inline |
Definition at line 257 of file cd_vector.h.
|
inline |
Definition at line 182 of file cd_vector.h.
|
inline |
Definition at line 183 of file cd_vector.h.
|
inline |
Definition at line 184 of file cd_vector.h.
|
inline |
Definition at line 332 of file cd_vector.h.
|
inline |
Definition at line 194 of file cd_vector.h.
|
inline |
Definition at line 391 of file cd_vector.h.
|
inline |
Definition at line 448 of file cd_vector.h.
|
inline |
Definition at line 320 of file cd_vector.h.
|
inline |
Definition at line 305 of file cd_vector.h.
|
inline |
Definition at line 721 of file cd_vector.h.
|
inline |
Definition at line 742 of file cd_vector.h.
|
inline |
Definition at line 770 of file cd_vector.h.
|
inline |
Definition at line 790 of file cd_vector.h.
|
inline |
Definition at line 803 of file cd_vector.h.
|
inline |
Definition at line 296 of file cd_vector.h.
|
inline |
Definition at line 502 of file cd_vector.h.
|
inline |
Definition at line 120 of file cd_vector.h.
|
inline |
Definition at line 138 of file cd_vector.h.
|
inline |
Definition at line 164 of file cd_vector.h.
|
inline |
Definition at line 130 of file cd_vector.h.
|
inline |
Definition at line 143 of file cd_vector.h.
|
inline |
Definition at line 160 of file cd_vector.h.
|
inline |
Definition at line 167 of file cd_vector.h.
|
inline |
Definition at line 134 of file cd_vector.h.
|
inline |
Definition at line 171 of file cd_vector.h.
|
inline |
Definition at line 162 of file cd_vector.h.
|
inline |
Definition at line 150 of file cd_vector.h.
|
inline |
Definition at line 157 of file cd_vector.h.
|
inline |
Definition at line 126 of file cd_vector.h.
|
inline |
Definition at line 115 of file cd_vector.h.
|
inline |
Definition at line 175 of file cd_vector.h.
|
inline |
Definition at line 177 of file cd_vector.h.
|
inline |
Definition at line 489 of file cd_vector.h.
|
inline |
Definition at line 642 of file cd_vector.h.
|
inline |
Definition at line 695 of file cd_vector.h.
|
inline |
Definition at line 668 of file cd_vector.h.
|
inline |
Definition at line 632 of file cd_vector.h.
|
inline |
Definition at line 291 of file cd_vector.h.
|
inline |
Definition at line 292 of file cd_vector.h.
|
inline |
Computes the reflection vector between two vectors.
Definition at line 368 of file cd_vector.h.
|
inline |
Definition at line 243 of file cd_vector.h.
|
inline |
Definition at line 264 of file cd_vector.h.
|
inline |
Definition at line 271 of file cd_vector.h.
|
inline |
Definition at line 279 of file cd_vector.h.
|
inline |
Definition at line 190 of file cd_vector.h.
|
inline |
Definition at line 191 of file cd_vector.h.
|
inline |
Definition at line 192 of file cd_vector.h.
|
inline |
Definition at line 250 of file cd_vector.h.
|
inline |
Definition at line 186 of file cd_vector.h.
|
inline |
Definition at line 187 of file cd_vector.h.
|
inline |
Definition at line 188 of file cd_vector.h.
|
inline |
Definition at line 286 of file cd_vector.h.
Type ConvexDecomposition::Vector3d< Type >::x |
Definition at line 896 of file cd_vector.h.
Type ConvexDecomposition::Vector3d< Type >::y |
Definition at line 897 of file cd_vector.h.
Type ConvexDecomposition::Vector3d< Type >::z |
Definition at line 898 of file cd_vector.h.