Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXVec2f.h>
Public Member Functions | |
FXVec2f () | |
FXVec2f (const FXVec2f &v) | |
FXVec2f (const FXfloat v[]) | |
FXVec2f (FXfloat xx, FXfloat yy) | |
FXfloat & | operator[] (FXint i) |
const FXfloat & | operator[] (FXint i) const |
FXVec2f & | operator= (const FXVec2f &v) |
FXVec2f & | operator= (const FXfloat v[]) |
FXVec2f & | operator *= (FXfloat n) |
FXVec2f & | operator/= (FXfloat n) |
FXVec2f & | operator+= (const FXVec2f &v) |
FXVec2f & | operator-= (const FXVec2f &v) |
operator FXfloat * () | |
operator const FXfloat * () const | |
Public Attributes | |
FXfloat | x |
FXfloat | y |
Friends | |
FXVec2f | operator+ (const FXVec2f &v) |
FXVec2f | operator- (const FXVec2f &v) |
FXVec2f | operator+ (const FXVec2f &a, const FXVec2f &b) |
FXVec2f | operator- (const FXVec2f &a, const FXVec2f &b) |
FXVec2f | operator * (const FXVec2f &a, FXfloat n) |
FXVec2f | operator * (FXfloat n, const FXVec2f &a) |
FXVec2f | operator/ (const FXVec2f &a, FXfloat n) |
FXVec2f | operator/ (FXfloat n, const FXVec2f &a) |
FXfloat | operator * (const FXVec2f &a, const FXVec2f &b) |
int | operator! (const FXVec2f &a) |
int | operator== (const FXVec2f &a, const FXVec2f &b) |
int | operator!= (const FXVec2f &a, const FXVec2f &b) |
int | operator== (const FXVec2f &a, FXfloat n) |
int | operator!= (const FXVec2f &a, FXfloat n) |
int | operator== (FXfloat n, const FXVec2f &a) |
int | operator!= (FXfloat n, const FXVec2f &a) |
int | operator< (const FXVec2f &a, const FXVec2f &b) |
int | operator<= (const FXVec2f &a, const FXVec2f &b) |
int | operator> (const FXVec2f &a, const FXVec2f &b) |
int | operator>= (const FXVec2f &a, const FXVec2f &b) |
int | operator< (const FXVec2f &a, FXfloat n) |
int | operator<= (const FXVec2f &a, FXfloat n) |
int | operator> (const FXVec2f &a, FXfloat n) |
int | operator>= (const FXVec2f &a, FXfloat n) |
int | operator< (FXfloat n, const FXVec2f &a) |
int | operator<= (FXfloat n, const FXVec2f &a) |
int | operator> (FXfloat n, const FXVec2f &a) |
int | operator>= (FXfloat n, const FXVec2f &a) |
FXfloat | len2 (const FXVec2f &a) |
FXfloat | len (const FXVec2f &a) |
FXVec2f | normalize (const FXVec2f &a) |
FXVec2f | lo (const FXVec2f &a, const FXVec2f &b) |
FXVec2f | hi (const FXVec2f &a, const FXVec2f &b) |
FXStream & | operator<< (FXStream &store, const FXVec2f &v) |
FXStream & | operator>> (FXStream &store, FXVec2f &v) |
|
Default constructor.
|
|
Copy constructor.
|
|
Initialize from array of floats.
|
|
Initialize with components.
|
|
Return a non-const reference to the ith element.
|
|
Return a const reference to the ith element.
|
|
Assignment.
|
|
Assignment from array of floats.
|
|
Assigning operators.
|
|
Conversions.
|
|
Unary.
|
|
Adding.
|
|
Subtracting.
|
|
Scaling.
|
|
Dot 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-2005 Jeroen van der Zijp |