#include "constants.hh"#include <ost/geom/module_config.hh>#include <ost/geom/vec2.hh>#include <ost/geom/mat2.hh>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 DLLIMPORT | Det (const Mat2 &m) |
| Mat2 DLLIMPORT | Transpose (const Mat2 &m) |
| Mat2 DLLIMPORT | Invert (const Mat2 &m) |
| Real DLLIMPORT | Angle (const Vec2 &v1, const Vec2 &v2) |
| Real DLLIMPORT | 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) |
1.6.1