Defines |
#define | tol 1.0e-15 |
Functions |
void | SetPoint2f (point2f *p, float x, float y) |
void | TransPoint2f (const trans2f *tr, const point2f *p, point2f *q) |
void | TransVector2f (const trans2f *tr, const vector2f *v, vector2f *w) |
void | Trans2Point3f (const trans2f *tr, const point3f *p, point3f *q) |
void | IdentTrans2f (trans2f *tr) |
void | CompTrans2f (trans2f *s, trans2f *t, trans2f *u) |
void | ShiftTrans2f (trans2f *tr, float tx, float ty) |
void | RotTrans2f (trans2f *tr, float angle) |
void | ScaleTrans2f (trans2f *t, float sx, float sy) |
void | Trans2Shiftf (trans2f *tr, float tx, float ty) |
void | Trans2Rotf (trans2f *tr, float angle) |
void | Trans2Scalef (trans2f *tr, float sx, float sy) |
boolean | InvertTrans2f (trans2f *tr) |
void | MultVector2f (double a, const vector2f *v, vector2f *w) |
void | SubtractPoints2f (const point2f *p1, const point2f *p2, vector2f *v) |
void | AddVector2f (const point2f *p, const vector2f *v, point2f *q) |
void | AddVector2Mf (const point2f *p, const vector2f *v, double t, point2f *q) |
void | InterPoint2f (const point2f *p1, const point2f *p2, double t, point2f *q) |
void | MidPoint2f (const point2f *p1, const point2f *p2, point2f *q) |
void | Interp3Vectors2f (const vector2f *p0, const vector2f *p1, const vector2f *p2, const float *coeff, vector2f *p) |
void | NormalizeVector2f (vector2f *v) |
double | DotProduct2f (const vector2f *v1, const vector2f *v2) |
double | det2f (const vector2f *v1, const vector2f *v2) |
void | OrtVector2f (const vector2f *v1, const vector2f *v2, vector2f *v) |
void | ProjectPointOnLine2f (const point2f *p0, const point2f *p1, point2f *q) |
double | Point2Distancef (point2f *p, point2f *q) |