Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXVec3d.h>
Public Member Functions | |
FXVec3d () | |
FXVec3d (const FXVec3d &v) | |
FXVec3d (const FXdouble v[]) | |
FXVec3d (FXdouble xx, FXdouble yy, FXdouble zz=1.0) | |
FXVec3d (FXColor color) | |
FXdouble & | operator[] (FXint i) |
const FXdouble & | operator[] (FXint i) const |
FXVec3d & | operator= (FXColor color) |
FXVec3d & | operator= (const FXVec3d &v) |
FXVec3d & | operator= (const FXdouble v[]) |
FXVec3d & | operator *= (FXdouble n) |
FXVec3d & | operator/= (FXdouble n) |
FXVec3d & | operator+= (const FXVec3d &v) |
FXVec3d & | operator-= (const FXVec3d &v) |
operator FXdouble * () | |
operator const FXdouble * () const | |
operator FXVec2d & () | |
operator const FXVec2d & () const | |
operator FXColor () const | |
Public Attributes | |
FXdouble | x |
FXdouble | y |
FXdouble | z |
Friends | |
FXVec3d | operator+ (const FXVec3d &v) |
FXVec3d | operator- (const FXVec3d &v) |
FXVec3d | operator+ (const FXVec3d &a, const FXVec3d &b) |
FXVec3d | operator- (const FXVec3d &a, const FXVec3d &b) |
FXVec3d | operator * (const FXVec3d &a, FXdouble n) |
FXVec3d | operator * (FXdouble n, const FXVec3d &a) |
FXVec3d | operator/ (const FXVec3d &a, FXdouble n) |
FXVec3d | operator/ (FXdouble n, const FXVec3d &a) |
FXdouble | operator * (const FXVec3d &a, const FXVec3d &b) |
FXVec3d | operator^ (const FXVec3d &a, const FXVec3d &b) |
int | operator! (const FXVec3d &a) |
int | operator== (const FXVec3d &a, const FXVec3d &b) |
int | operator!= (const FXVec3d &a, const FXVec3d &b) |
int | operator== (const FXVec3d &a, FXdouble n) |
int | operator!= (const FXVec3d &a, FXdouble n) |
int | operator== (FXdouble n, const FXVec3d &a) |
int | operator!= (FXdouble n, const FXVec3d &a) |
int | operator< (const FXVec3d &a, const FXVec3d &b) |
int | operator<= (const FXVec3d &a, const FXVec3d &b) |
int | operator> (const FXVec3d &a, const FXVec3d &b) |
int | operator>= (const FXVec3d &a, const FXVec3d &b) |
int | operator< (const FXVec3d &a, FXdouble n) |
int | operator<= (const FXVec3d &a, FXdouble n) |
int | operator> (const FXVec3d &a, FXdouble n) |
int | operator>= (const FXVec3d &a, FXdouble n) |
int | operator< (FXdouble n, const FXVec3d &a) |
int | operator<= (FXdouble n, const FXVec3d &a) |
int | operator> (FXdouble n, const FXVec3d &a) |
int | operator>= (FXdouble n, const FXVec3d &a) |
FXdouble | len2 (const FXVec3d &a) |
FXdouble | len (const FXVec3d &a) |
FXVec3d | normalize (const FXVec3d &a) |
FXVec3d | lo (const FXVec3d &a, const FXVec3d &b) |
FXVec3d | hi (const FXVec3d &a, const FXVec3d &b) |
FXStream & | operator<< (FXStream &store, const FXVec3d &v) |
FXStream & | operator>> (FXStream &store, FXVec3d &v) |
|
Default constructor.
|
|
Copy constructor.
|
|
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 floats.
|
|
Assigning operators.
|
|
Conversions.
|
|
Convert to color.
|
|
Unary.
|
|
Adding.
|
|
Substracting.
|
|
Scaling.
|
|
Dot product.
|
|
Cross product.
|
|
Test if zero.
|
|
Equality tests.
|
|
Inequality tests.
|
|
Length and square of length.
|
|
Normalize vector.
|
|
Lowest or highest components.
|
|
Save vector to a stream.
|
|
Load vector from a stream.
|
Copyright © 1997-2004 Jeroen van der Zijp |