|
Ravelin
|
A two-dimensional floating point vector used for computational geometry calculations and without associated frame information. More...
#include <Origin2d.h>
Public Member Functions | |
| ORIGIN2 (REAL x, REAL y) | |
| ORIGIN2 (const REAL *array) | |
| ORIGIN2 (const VECTOR2 &v) | |
| REAL | norm_inf () const |
| REAL | norm () const |
| REAL | norm_sq () const |
| ORIGIN2 & | set_zero () |
| ORIGIN2 & | set_zero (unsigned m) |
| ORIGIN2 & | set_zero (unsigned m, unsigned n) |
| ORIGIN2 & | operator= (const VECTOR2 &v) |
| ORIGIN2 & | operator= (const ORIGIN2 &v) |
| ORIGIN2 | operator+ (const ORIGIN2 &v) const |
| VECTOR2 | operator+ (const VECTOR2 &p) const |
| VECTOR2 | operator- (const VECTOR2 &p) const |
| ORIGIN2 | operator- (const ORIGIN2 &v) const |
| ORIGIN2 & | operator+= (const ORIGIN2 &v) |
| ORIGIN2 & | operator-= (const ORIGIN2 &v) |
| ORIGIN2 & | operator*= (REAL scalar) |
| ORIGIN2 & | operator/= (REAL scalar) |
| ORIGIN2 | operator* (REAL scalar) const |
| ORIGIN2 | operator/ (REAL scalar) const |
| ORIGIN2 | 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 |
| REAL & | x () |
| REAL & | y () |
| unsigned | size () const |
| unsigned | rows () const |
| unsigned | columns () const |
| unsigned | leading_dim () const |
| unsigned | inc () const |
| ORIGIN2 & | resize (unsigned m, bool preserve=false) |
| ORIGIN2 & | resize (unsigned m, unsigned n, bool preserve=false) |
| ORIGIN2 (REAL x, REAL y) | |
| ORIGIN2 (const REAL *array) | |
| ORIGIN2 (const VECTOR2 &v) | |
| REAL | norm_inf () const |
| REAL | norm () const |
| REAL | norm_sq () const |
| ORIGIN2 & | set_zero () |
| ORIGIN2 & | set_zero (unsigned m) |
| ORIGIN2 & | set_zero (unsigned m, unsigned n) |
| ORIGIN2 & | operator= (const VECTOR2 &v) |
| ORIGIN2 & | operator= (const ORIGIN2 &v) |
| ORIGIN2 | operator+ (const ORIGIN2 &v) const |
| VECTOR2 | operator+ (const VECTOR2 &p) const |
| VECTOR2 | operator- (const VECTOR2 &p) const |
| ORIGIN2 | operator- (const ORIGIN2 &v) const |
| ORIGIN2 & | operator+= (const ORIGIN2 &v) |
| ORIGIN2 & | operator-= (const ORIGIN2 &v) |
| ORIGIN2 & | operator*= (REAL scalar) |
| ORIGIN2 & | operator/= (REAL scalar) |
| ORIGIN2 | operator* (REAL scalar) const |
| ORIGIN2 | operator/ (REAL scalar) const |
| ORIGIN2 | 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 |
| REAL & | x () |
| REAL & | y () |
| unsigned | size () const |
| unsigned | rows () const |
| unsigned | columns () const |
| unsigned | leading_dim () const |
| unsigned | inc () const |
| ORIGIN2 & | resize (unsigned m, bool preserve=false) |
| ORIGIN2 & | resize (unsigned m, unsigned n, bool preserve=false) |
Static Public Member Functions | |
| static REAL | norm (const ORIGIN2 &v) |
| static REAL | norm_sq (const ORIGIN2 &v) |
| static ORIGIN2 | zero () |
| static REAL | norm (const ORIGIN2 &v) |
| static REAL | norm_sq (const ORIGIN2 &v) |
| static ORIGIN2 | zero () |
A two-dimensional floating point vector used for computational geometry calculations and without associated frame information.
1.8.6