[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7.5 mglPoint class
Structure describes point in space. This structure is defined in #include <mgl/mgl.h>
- Library Function: inline mglPoint operator+ (
const mglPoint &
a,const mglPoint &
b) Point of summation (summation of vectors).
- Library Function: inline mglPoint operator- (
const mglPoint &
a,const mglPoint &
b) Point of difference (difference of vectors).
- Library Function: inline mglPoint operator* (
float
a,const mglPoint &
b) Multiplies (scale) points by number.
- Library Function: inline mglPoint operator* (
const mglPoint &
a,float
b) Multiplies (scale) points by number.
- Library Function: inline mglPoint operator/ (
const mglPoint &
a,float
b) Multiplies (scale) points by number 1/b.
- Library Function: inline float operator- (
const mglPoint &
a,const mglPoint &
b) Scalar product of vectors.
- Library Function: inline mglPoint operator^ (
const mglPoint &
a,const mglPoint &
b) Cross-product of vectors.
- Library Function: inline mglPoint operator& (
const mglPoint &
a,const mglPoint &
b) The part of a which is perpendicular to vector b.
- Library Function: inline mglPoint operator| (
const mglPoint &
a,const mglPoint &
b) The part of a which is parallel to vector b.
- Library Function: inline mglPoint operator! (
const mglPoint &
a) Return vector perpendicular to vector a.
- Library Function: inline bool operator== (
const mglPoint &
a,const mglPoint &
b) Return true if points are the same.
- Library Function: inline bool operator!= (
const mglPoint &
a,const mglPoint &
b) Return true if points are different.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |