Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXVec4d.h>
Inheritance diagram for FX::FXVec4d:
Public Member Functions | |
FXVec4d () | |
FXVec4d (const FXVec4d &v) | |
FXVec4d (const FXVec3d &v, FXdouble ww=1.0) | |
FXVec4d (const FXdouble v[]) | |
FXVec4d (FXdouble xx, FXdouble yy, FXdouble zz, FXdouble ww=1.0) | |
FXVec4d (FXColor color) | |
FXdouble & | operator[] (FXint i) |
const FXdouble & | operator[] (FXint i) const |
FXVec4d & | operator= (FXColor color) |
FXVec4d & | operator= (const FXVec3d &v) |
FXVec4d & | operator= (const FXVec4d &v) |
FXVec4d & | operator= (const FXdouble v[]) |
FXVec4d & | operator *= (FXdouble n) |
FXVec4d & | operator/= (FXdouble n) |
FXVec4d & | operator+= (const FXVec4d &v) |
FXVec4d & | operator-= (const FXVec4d &v) |
operator FXdouble * () | |
operator const FXdouble * () const | |
operator FXVec3d & () | |
operator const FXVec3d & () const | |
operator FXColor () const | |
Public Attributes | |
FXdouble | x |
FXdouble | y |
FXdouble | z |
FXdouble | w |
Friends | |
FXVec4d | operator+ (const FXVec4d &v) |
FXVec4d | operator- (const FXVec4d &v) |
FXVec4d | operator+ (const FXVec4d &a, const FXVec4d &b) |
FXVec4d | operator- (const FXVec4d &a, const FXVec4d &b) |
FXVec4d | operator * (const FXVec4d &a, FXdouble n) |
FXVec4d | operator * (FXdouble n, const FXVec4d &a) |
FXVec4d | operator/ (const FXVec4d &a, FXdouble n) |
FXVec4d | operator/ (FXdouble n, const FXVec4d &a) |
FXdouble | operator * (const FXVec4d &a, const FXVec4d &b) |
int | operator! (const FXVec4d &a) |
int | operator== (const FXVec4d &a, const FXVec4d &b) |
int | operator!= (const FXVec4d &a, const FXVec4d &b) |
int | operator== (const FXVec4d &a, FXdouble n) |
int | operator!= (const FXVec4d &a, FXdouble n) |
int | operator== (FXdouble n, const FXVec4d &a) |
int | operator!= (FXdouble n, const FXVec4d &a) |
int | operator< (const FXVec4d &a, const FXVec4d &b) |
int | operator<= (const FXVec4d &a, const FXVec4d &b) |
int | operator> (const FXVec4d &a, const FXVec4d &b) |
int | operator>= (const FXVec4d &a, const FXVec4d &b) |
int | operator< (const FXVec4d &a, FXdouble n) |
int | operator<= (const FXVec4d &a, FXdouble n) |
int | operator> (const FXVec4d &a, FXdouble n) |
int | operator>= (const FXVec4d &a, FXdouble n) |
int | operator< (FXdouble n, const FXVec4d &a) |
int | operator<= (FXdouble n, const FXVec4d &a) |
int | operator> (FXdouble n, const FXVec4d &a) |
int | operator>= (FXdouble n, const FXVec4d &a) |
FXdouble | len2 (const FXVec4d &a) |
FXdouble | len (const FXVec4d &a) |
FXVec4d | normalize (const FXVec4d &a) |
FXVec4d | lo (const FXVec4d &a, const FXVec4d &b) |
FXVec4d | hi (const FXVec4d &a, const FXVec4d &b) |
FXVec4d | plane (const FXVec4d &vec) |
FXVec4d | plane (const FXVec3d &vec, FXdouble dist) |
FXVec4d | plane (const FXVec3d &vec, const FXVec3d &p) |
FXVec4d | plane (const FXVec3d &a, const FXVec3d &b, const FXVec3d &c) |
FXdouble | distance (const FXVec4d &plane, const FXVec3d &p) |
FXbool | crosses (const FXVec4d &plane, const FXVec3d &a, const FXVec3d &b) |
FXStream & | operator<< (FXStream &store, const FXVec4d &v) |
FXStream & | operator>> (FXStream &store, FXVec4d &v) |
|
Default constructor.
|
|
Copy constructor.
|
|
Construct with 3-vector and optional scalar.
|
|
Initialize from array of doubles.
|
|
Initialize with components.
|
|
Initialize with color.
|
|
Return a non-const reference to the ith element.
|
|
Return a const reference to the ith element.
|
|
Assign color.
|
|
Assignment.
|
|
Assignment from array of doubles.
|
|
Assigning operators.
|
|
Conversion.
|
|
Convert to color.
|
|
Unary.
|
|
Adding.
|
|
Subtracting.
|
|
Scaling.
|
|
Dot product.
|
|
Test if zero.
|
|
Equality tests.
|
|
Inequality tests.
|
|
Length and square of length.
|
|
Normalize vector.
|
|
Lowest or highest components.
|
|
Compute normalized plane equation ax+by+cz+d=0.
|
|
Signed distance normalized plane and point.
|
|
Return true if edge a-b crosses plane.
|
|
Save to a stream.
|
|
Load from a stream.
|
Copyright © 1997-2005 Jeroen van der Zijp |