Ravelin
|
A three-dimensional floating point vector used for representing points and vectors in 3D and without associated frame information. More...
#include <Origin3d.h>
Public Member Functions | |
ORIGIN3 (REAL x, REAL y, REAL z) | |
ORIGIN3 (const REAL *array) | |
ORIGIN3 (const CONST_SHAREDVECTORN &v) | |
ORIGIN3 (const SHAREDVECTORN &v) | |
ORIGIN3 (const VECTOR3 &v) | |
REAL | norm_inf () const |
REAL | norm () const |
REAL | norm_sq () const |
void | normalize () |
REAL | dot (const ORIGIN3 &v) const |
ORIGIN3 & | set_zero () |
ORIGIN3 & | set_zero (unsigned m) |
ORIGIN3 & | set_zero (unsigned m, unsigned n) |
ORIGIN3 & | operator= (const ORIGIN3 &o) |
ORIGIN3 & | operator= (const VECTOR3 &v) |
ORIGIN3 & | operator= (const CONST_SHAREDVECTORN &v) |
ORIGIN3 & | operator= (const SHAREDVECTORN &v) |
ORIGIN3 | operator+ (const ORIGIN3 &o) const |
VECTOR3 | operator+ (const VECTOR3 &v) const |
ORIGIN3 | operator- (const ORIGIN3 &v) const |
VECTOR3 | operator- (const VECTOR3 &v) const |
ORIGIN3 & | operator+= (const ORIGIN3 &v) |
ORIGIN3 & | operator-= (const ORIGIN3 &v) |
ORIGIN3 & | operator*= (REAL scalar) |
ORIGIN3 & | operator/= (REAL scalar) |
ORIGIN3 | operator* (REAL scalar) const |
ORIGIN3 | operator/ (REAL scalar) const |
ORIGIN3 | operator- () const |
REAL * | data () |
const REAL * | data () const |
REAL & | operator[] (const unsigned i) |
const REAL & | operator[] (const unsigned i) const |
REAL * | data (unsigned i) |
const REAL * | data (unsigned i) const |
const REAL & | x () const |
const REAL & | y () const |
const REAL & | z () const |
REAL & | x () |
REAL & | y () |
REAL & | z () |
COLUMN_ITERATOR | begin () |
CONST_COLUMN_ITERATOR | begin () const |
COLUMN_ITERATOR | end () |
CONST_COLUMN_ITERATOR | end () const |
COLUMN_ITERATOR | column_iterator_begin () |
CONST_COLUMN_ITERATOR | column_iterator_begin () const |
COLUMN_ITERATOR | column_iterator_end () |
CONST_COLUMN_ITERATOR | column_iterator_end () const |
ROW_ITERATOR | row_iterator_begin () |
CONST_ROW_ITERATOR | row_iterator_begin () const |
ROW_ITERATOR | row_iterator_end () |
CONST_ROW_ITERATOR | row_iterator_end () const |
unsigned | size () const |
unsigned | rows () const |
unsigned | columns () const |
unsigned | inc () const |
unsigned | leading_dim () const |
ORIGIN3 & | resize (unsigned m, bool preserve=false) |
ORIGIN3 & | resize (unsigned m, unsigned n, bool preserve=false) |
ORIGIN3 (REAL x, REAL y, REAL z) | |
ORIGIN3 (const REAL *array) | |
ORIGIN3 (const CONST_SHAREDVECTORN &v) | |
ORIGIN3 (const SHAREDVECTORN &v) | |
ORIGIN3 (const VECTOR3 &v) | |
REAL | norm_inf () const |
REAL | norm () const |
REAL | norm_sq () const |
void | normalize () |
REAL | dot (const ORIGIN3 &v) const |
ORIGIN3 & | set_zero () |
ORIGIN3 & | set_zero (unsigned m) |
ORIGIN3 & | set_zero (unsigned m, unsigned n) |
ORIGIN3 & | operator= (const ORIGIN3 &o) |
ORIGIN3 & | operator= (const VECTOR3 &v) |
ORIGIN3 & | operator= (const CONST_SHAREDVECTORN &v) |
ORIGIN3 & | operator= (const SHAREDVECTORN &v) |
ORIGIN3 | operator+ (const ORIGIN3 &o) const |
VECTOR3 | operator+ (const VECTOR3 &v) const |
ORIGIN3 | operator- (const ORIGIN3 &v) const |
VECTOR3 | operator- (const VECTOR3 &v) const |
ORIGIN3 & | operator+= (const ORIGIN3 &v) |
ORIGIN3 & | operator-= (const ORIGIN3 &v) |
ORIGIN3 & | operator*= (REAL scalar) |
ORIGIN3 & | operator/= (REAL scalar) |
ORIGIN3 | operator* (REAL scalar) const |
ORIGIN3 | operator/ (REAL scalar) const |
ORIGIN3 | operator- () const |
REAL * | data () |
const REAL * | data () const |
REAL & | operator[] (const unsigned i) |
const REAL & | operator[] (const unsigned i) const |
REAL * | data (unsigned i) |
const REAL * | data (unsigned i) const |
const REAL & | x () const |
const REAL & | y () const |
const REAL & | z () const |
REAL & | x () |
REAL & | y () |
REAL & | z () |
COLUMN_ITERATOR | begin () |
CONST_COLUMN_ITERATOR | begin () const |
COLUMN_ITERATOR | end () |
CONST_COLUMN_ITERATOR | end () const |
COLUMN_ITERATOR | column_iterator_begin () |
CONST_COLUMN_ITERATOR | column_iterator_begin () const |
COLUMN_ITERATOR | column_iterator_end () |
CONST_COLUMN_ITERATOR | column_iterator_end () const |
ROW_ITERATOR | row_iterator_begin () |
CONST_ROW_ITERATOR | row_iterator_begin () const |
ROW_ITERATOR | row_iterator_end () |
CONST_ROW_ITERATOR | row_iterator_end () const |
unsigned | size () const |
unsigned | rows () const |
unsigned | columns () const |
unsigned | inc () const |
unsigned | leading_dim () const |
ORIGIN3 & | resize (unsigned m, bool preserve=false) |
ORIGIN3 & | resize (unsigned m, unsigned n, bool preserve=false) |
Static Public Member Functions | |
static REAL | norm (const ORIGIN3 &v) |
static REAL | norm_sq (const ORIGIN3 &v) |
static ORIGIN3 | normalize (const ORIGIN3 &v) |
static REAL | dot (const ORIGIN3 &v1, const ORIGIN3 &v2) |
static ORIGIN3 | zero () |
static ORIGIN3 | cross (const ORIGIN3 &v1, const ORIGIN3 &v2) |
static REAL | norm (const ORIGIN3 &v) |
static REAL | norm_sq (const ORIGIN3 &v) |
static ORIGIN3 | normalize (const ORIGIN3 &v) |
static REAL | dot (const ORIGIN3 &v1, const ORIGIN3 &v2) |
static ORIGIN3 | zero () |
static ORIGIN3 | cross (const ORIGIN3 &v1, const ORIGIN3 &v2) |
A three-dimensional floating point vector used for representing points and vectors in 3D and without associated frame information.