#include <Util2D.h>
Static Public Member Functions | |
| static RealMatrix | perpendicularTo (RealVec const &v) |
| Return the two vectors perpendicular to v. | |
| static RealVec | perpendicularTo (RealVec const &v, RealVec const &d) |
| Return the vector perpendicular to v that is closest in direction to d. | |
| static RealVec | dir (Real const t) |
| static RealVec | uniformDir () |
| static RealVec | normalDir (Real const mean, Real const std) |
| static Real | angle (RealVec const &v) |
| static RealMatrix | rotationMatrix (Real const t) |
| static RealVec | randomPosition (RealVec const &worldDim) |
| static RealMatrix | tagentLinePts (RealVec const &p, RealVec const ¢er, Real const radius) |
| Computes points on circle and on tangent line of p to circle. | |
| static RealMatrix | perpendicularLinePts (RealVec const &p, RealVec const ¢er, Real const radius) |
| Computes points on circle that intersects with the line perpendicular to the line from p to center. | |
Static Public Attributes | |
| static const size_t | dim = 2 |
1.5.1