#include <vector3d.h>
Public Member Functions | |
vector3d (void) | |
vector3d (const real init) | |
vector3d (int init) | |
vector3d (const real Nx, const real Ny, const real Nz) | |
vector3d (const real *arr) | |
vector3d (const vector3d ©) | |
vector3d (const polar3d &p) | |
vector3d & | operator= (const vector3d &b) |
operator real * () | |
operator const real * () const | |
int | operator== (const vector3d &b) const |
int | operator!= (const vector3d &b) const |
vector3d | operator+ (const vector3d &b) const |
vector3d | operator- (const vector3d &b) const |
vector3d | operator* (const real scale) const |
vector3d | operator/ (const real &div) const |
vector3d | operator- (void) const |
void | operator+= (const vector3d &b) |
void | operator-= (const vector3d &b) |
void | operator*= (const real scale) |
void | operator/= (const real div) |
real | magSqr (void) const |
real | mag (void) const |
real | distSqr (const vector3d &b) const |
real | dist (const vector3d &b) const |
real | dot (const vector3d &b) const |
real | cosAng (const vector3d &b) const |
vector3d | dir (void) const |
vector3d | cross (const vector3d &b) const |
real | max (void) |
void | enlarge (const vector3d &by) |
Public Attributes | |
real | x |
real | y |
real | z |
Friends | |
vector3d | operator* (const real scale, const vector3d &v) |
Definition at line 86 of file vector3d.h.
|
inline |
Definition at line 89 of file vector3d.h.
Referenced by cross(), operator*(), operator+(), operator-(), and operator/().
Definition at line 91 of file vector3d.h.
|
inlineexplicit |
Definition at line 93 of file vector3d.h.
Definition at line 95 of file vector3d.h.
Definition at line 97 of file vector3d.h.
Definition at line 99 of file vector3d.h.
Definition at line 146 of file vector3d.h.
References vector3d(), x, y, and z.
Referenced by checkQuality().
|
inline |
Definition at line 144 of file vector3d.h.
References mag().
Referenced by rflo_getpatchmapping(), rflu_moddimensionality::rflu_123d_checkgeometrykernel(), rflu_modstencilsutils::rflu_addcelllayer_1d_g(), rflu_modstencilscells::rflu_buildc2cstencil_1d_g(), rflu_modstencilscells::rflu_buildc2cstencilbasic_1d(), rflu_modgeometrytools::rflu_testvectorcartaxisaligned(), and testconst().
Definition at line 136 of file vector3d.h.
References distSqr(), and sqrt().
Referenced by checkQuality().
Definition at line 133 of file vector3d.h.
Referenced by dist().
Definition at line 139 of file vector3d.h.
Referenced by cosAng(), halfspace3d::halfspace3d(), halfspace3d::init(), halfspace3d::intersect(), and halfspace3d::side().
void enlarge | ( | const vector3d & | by | ) |
|
inline |
Definition at line 130 of file vector3d.h.
References magSqr(), and sqrt().
Referenced by hashableVector3d::checkVector(), cosAng(), and dir().
|
inline |
Definition at line 128 of file vector3d.h.
Referenced by mag().
|
inline |
Definition at line 151 of file vector3d.h.
Referenced by checkQuality().
|
inline |
|
inline |
|
inline |
Definition at line 111 of file vector3d.h.
Definition at line 114 of file vector3d.h.
References vector3d(), x, y, and z.
|
inline |
Definition at line 123 of file vector3d.h.
Definition at line 112 of file vector3d.h.
References vector3d(), x, y, and z.
|
inline |
Definition at line 121 of file vector3d.h.
Definition at line 113 of file vector3d.h.
References vector3d(), x, y, and z.
|
inline |
Definition at line 120 of file vector3d.h.
References vector3d(), x, y, and z.
|
inline |
Definition at line 122 of file vector3d.h.
Definition at line 118 of file vector3d.h.
References vector3d(), x, y, and z.
|
inline |
Definition at line 124 of file vector3d.h.
Definition at line 102 of file vector3d.h.
|
inline |
Definition at line 110 of file vector3d.h.
Definition at line 116 of file vector3d.h.
real x |
Definition at line 88 of file vector3d.h.
Referenced by bbox3d::add(), cross(), distSqr(), dot(), bbox3d::empty(), for(), hashableVector3d::hashableVector3d(), bbox3d::isEmpty(), magSqr(), max(), operator const real *(), operator real *(), operator!=(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), vecMax(), vecMin(), vector3d(), write_bounds(), write_fortran(), and write_hdf().
real y |
Definition at line 88 of file vector3d.h.
Referenced by bbox3d::add(), cross(), distSqr(), dot(), bbox3d::empty(), for(), hashableVector3d::hashableVector3d(), magSqr(), max(), operator!=(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), vecMax(), vecMin(), vector3d(), write_bounds(), write_fortran(), and write_hdf().
real z |
Definition at line 88 of file vector3d.h.
Referenced by bbox3d::add(), cross(), distSqr(), dot(), bbox3d::empty(), for(), hashableVector3d::hashableVector3d(), magSqr(), max(), operator!=(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), vecMax(), vecMin(), vector3d(), write_bounds(), write_fortran(), and write_hdf().