FXVec2d lo(const FXVec2d &a, const FXVec2d &b)
Definition: FXVec2d.h:174
FXVec2d & operator*=(FXdouble n)
Assigning operators.
Definition: FXVec2d.h:75
FXMat3d operator/(const FXMat3d &a, FXdouble x)
FXStream & operator>>(FXStream &store, FXDate &d)
FXVec2d & clamp(FXdouble lo, FXdouble hi)
Clamp values of vector between limits.
Definition: FXVec2d.h:137
FXVec2d & operator=(const FXdouble v[])
Assignment from array of floats.
Definition: FXVec2d.h:63
FXVec2d & operator-=(const FXVec2d &v)
Definition: FXVec2d.h:78
bool operator!() const
Test if zero.
Definition: FXVec2d.h:105
#define FXCLAMP(lo, x, hi)
Clamp value x to range [lo..hi].
Definition: fxdefs.h:509
FXVec2d & operator/=(FXdouble n)
Definition: FXVec2d.h:76
#define FXAPI
Definition: fxdefs.h:122
FXVec2d & set(const FXVec2d &v)
Set value from another vector.
Definition: FXVec2d.h:66
FXVec2d & operator+=(const FXVec2d &v)
Definition: FXVec2d.h:77
FXVec2d(const FXVec2d &v)
Initialize from another vector.
Definition: FXVec2d.h:45
FXVec2d & set(const FXdouble v[])
Set value from array of floats.
Definition: FXVec2d.h:69
const FXdouble & operator[](FXint i) const
Return a const reference to the ith element.
Definition: FXVec2d.h:57
bool operator<=(const FXString &s1, const FXString &s2)
FXVec2d(FXdouble xx, FXdouble yy)
Initialize from components.
Definition: FXVec2d.h:51
bool operator>=(const FXString &s1, const FXString &s2)
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:99
FXdouble y
Definition: FXVec2d.h:38
FXString normalize(const FXString &s)
bool operator<=(const FXVec2d &v) const
Definition: FXVec2d.h:118
bool operator<(const FXVec2d &v) const
Inequality tests.
Definition: FXVec2d.h:117
double FXdouble
Definition: fxdefs.h:399
FXVec2d operator+(const FXVec2d &v) const
Vector and vector.
Definition: FXVec2d.h:89
FXVec2d(const FXdouble v[])
Initialize from array of floats.
Definition: FXVec2d.h:48
bool operator!=(const FXVec2d &v) const
Definition: FXVec2d.h:109
#define FXMAX(a, b)
Return the maximum of a or b.
Definition: fxdefs.h:488
int FXint
Definition: fxdefs.h:397
FXVec2d operator-(const FXVec2d &v) const
Definition: FXVec2d.h:90
FXVec2d hi(const FXVec2d &a, const FXVec2d &b)
Definition: FXVec2d.h:175
#define FXMIN(a, b)
Return the minimum of a or b.
Definition: fxdefs.h:491
FXVec2d & set(FXdouble xx, FXdouble yy)
Set value from components.
Definition: FXVec2d.h:72
FXVec2d operator+() const
Unary.
Definition: FXVec2d.h:85
Double-precision 2-element vector.
Definition: FXVec2d.h:35
FXdouble length2() const
Length and square of length.
Definition: FXVec2d.h:133
FXdouble length() const
Definition: FXVec2d.h:134
bool operator<(const FXString &s1, const FXString &s2)
FXdouble x
Definition: FXVec2d.h:37
FXdouble operator*(const FXVec2d &v) const
Dot product.
Definition: FXVec2d.h:102
bool operator>(const FXString &s1, const FXString &s2)
FXVec2d & operator=(const FXVec2d &v)
Assignment.
Definition: FXVec2d.h:60
FXVec2d()
Default constructor.
Definition: FXVec2d.h:42
FXdouble & operator[](FXint i)
Return a non-const reference to the ith element.
Definition: FXVec2d.h:54
Double-precision 3x3 matrix.
Definition: FXMat3d.h:35
FXStream & operator<<(FXStream &store, const FXDate &d)
bool operator!=(const FXString &s1, const FXString &s2)
bool operator==(const FXVec2d &v) const
Equality tests.
Definition: FXVec2d.h:108
bool operator>(const FXVec2d &v) const
Definition: FXVec2d.h:119
bool operator==(const FXString &s1, const FXString &s2)
FXMat3d operator*(FXdouble x, const FXMat3d &a)
FXVec2d operator-() const
Definition: FXVec2d.h:86
bool operator>=(const FXVec2d &v) const
Definition: FXVec2d.h:120