Go to the source code of this file.
Namespaces |
| namespace | geom |
Functions |
| Real | Length2 (const Vec2 &v) |
| Real | Length (const Vec2 &v) |
| bool | Equal (const Vec2 &v1, const Vec2 &v2, Real ephilon=EPSILON) |
| bool | Equal (const Mat2 &m1, const Mat2 &m2, Real ephilon=EPSILON) |
| Real | Dot (const Vec2 &v1, const Vec2 &v2) |
| Vec2 | Normalize (const Vec2 &v) |
| Vec2 | CompMultiply (const Vec2 &v1, const Vec2 &v2) |
| Vec2 | CompDivide (const Vec2 &v1, const Vec2 &v2) |
| Vec2 | operator* (const Vec2 &v, const Mat2 &m) |
| Vec2 | operator* (const Mat2 &m, const Vec2 &v) |
| Real DLLEXPORT_OST_GEOM | Det (const Mat2 &m) |
| Mat2 DLLEXPORT_OST_GEOM | Transpose (const Mat2 &m) |
| Mat2 DLLEXPORT_OST_GEOM | Invert (const Mat2 &m) |
| Real DLLEXPORT_OST_GEOM | Angle (const Vec2 &v1, const Vec2 &v2) |
| Real DLLEXPORT_OST_GEOM | SignedAngle (const Vec2 &v1, const Vec2 &v2) |
| Mat2 | operator* (const Mat2 &m1, const Mat2 &m2) |
| Vec2 | Min (const Vec2 &v1, const Vec2 &v2) |
| Vec2 | Max (const Vec2 &v1, const Vec2 &v2) |
| DLLEXPORT Vec2 | Rotate (const Vec2 &v, Real ang) |