![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXVec3d.h>
Double-precision 3-element vector.
FX::FXVec3d::FXVec3d | ( | ) | [inline] |
Default constructor.
FX::FXVec3d::FXVec3d | ( | const FXVec3d & | v | ) | [inline] |
FX::FXVec3d::FXVec3d | ( | const FXdouble | v[] | ) | [inline] |
Initialize from array of doubles.
FX::FXVec3d::FXVec3d | ( | FXdouble | xx, |
FXdouble | yy, | ||
FXdouble | zz = 1.0 |
||
) | [inline] |
Initialize with components.
FX::FXVec3d::FXVec3d | ( | FXColor | color | ) |
Initialize with color.
Return a non-const reference to the ith element.
Return a const reference to the ith element.
FXVec3d& FX::FXVec3d::set | ( | const FXVec3d & | v | ) | [inline] |
Set value from another vector.
References x.
FXVec3d& FX::FXVec3d::set | ( | const FXdouble | v[] | ) | [inline] |
Set value from array of floats.
FXVec3d& FX::FXVec3d::set | ( | FXdouble | xx, |
FXdouble | yy, | ||
FXdouble | zz | ||
) | [inline] |
Set value from components.
FX::FXVec3d::operator FXdouble * | ( | ) | [inline] |
Conversions.
FX::FXVec3d::operator const FXdouble * | ( | ) | const [inline] |
FX::FXVec3d::operator FXVec2d & | ( | ) | [inline] |
FX::FXVec3d::operator const FXVec2d & | ( | ) | const [inline] |
FX::FXVec3d::operator FXColor | ( | ) | const |
Convert to color.
FXVec3d FX::FXVec3d::operator+ | ( | ) | const [inline] |
Unary.
FXVec3d FX::FXVec3d::operator- | ( | ) | const [inline] |
bool FX::FXVec3d::operator! | ( | ) | const [inline] |
Test if zero.
bool FX::FXVec3d::operator== | ( | const FXVec3d & | v | ) | const [inline] |
bool FX::FXVec3d::operator!= | ( | const FXVec3d & | v | ) | const [inline] |
bool FX::FXVec3d::operator< | ( | const FXVec3d & | v | ) | const [inline] |
FXdouble FX::FXVec3d::length2 | ( | ) | const [inline] |
Length and square of length.
FXdouble FX::FXVec3d::length | ( | ) | const [inline] |
FXVec3d& FX::FXVec3d::clamp | ( | FXdouble | lo, |
FXdouble | hi | ||
) | [inline] |
Clamp values of vector between limits.
References FXCLAMP.
Compute normal from three points a,b,c.
FXVec3d normal | ( | const FXVec3d & | a, |
const FXVec3d & | b, | ||
const FXVec3d & | c, | ||
const FXVec3d & | d | ||
) | [friend] |
Compute approximate normal from four points a,b,c,d.
Referenced by FXVec3d(), FX::FXVec4d::FXVec4d(), FX::hi(), FX::lo(), operator!=(), FX::operator!=(), operator*(), FX::operator*(), operator+(), operator+=(), operator-(), operator-=(), FX::operator/(), operator<(), FX::operator<(), operator<=(), FX::operator<=(), operator=(), FX::FXVec4d::operator=(), operator==(), FX::operator==(), operator>(), FX::operator>(), operator>=(), FX::operator>=(), operator^(), and set().
Referenced by FXVec3d(), FX::FXVec4d::FXVec4d(), FX::hi(), FX::lo(), operator!=(), FX::operator!=(), operator*(), FX::operator*(), operator+(), operator+=(), operator-(), operator-=(), FX::operator/(), operator<(), FX::operator<(), operator<=(), FX::operator<=(), operator=(), FX::FXVec4d::operator=(), operator==(), FX::operator==(), operator>(), FX::operator>(), operator>=(), FX::operator>=(), and operator^().
Referenced by FXVec3d(), FX::FXVec4d::FXVec4d(), FX::hi(), FX::lo(), operator!=(), FX::operator!=(), operator*(), FX::operator*(), operator+(), operator+=(), operator-(), operator-=(), FX::operator/(), operator<(), FX::operator<(), operator<=(), FX::operator<=(), operator=(), FX::FXVec4d::operator=(), operator==(), FX::operator==(), operator>(), FX::operator>(), operator>=(), FX::operator>=(), and operator^().
![]() |