Functions | |
template<typename T> | |
T | getDeterminant_ (const T *m, Size dim) throw () |
Subroutine to get the determinant of any matrix. | |
template<typename T> | |
T | getDeterminant (const T *m, Size dim) throw () |
Get the determinant of any matrix. | |
template<typename T> | |
T | getDeterminant2 (const T *m) throw () |
Get the determinant of an 2x2 matrix. | |
template<typename T> | |
T | getDeterminant2 (const T &m00, const T &m01, const T &m10, const T &m11) throw () |
Get the determinant of an 2x2 matrix. | |
template<typename T> | |
T | getDeterminant3 (const T *m) throw () |
Get the determinant of an 3x3 matrix. | |
template<typename T> | |
T | getDeterminant3 (const T &m00, const T &m01, const T &m02, const T &m10, const T &m11, const T &m12, const T &m20, const T &m21, const T &m22) throw () |
Get the determinant of an 3x3 matrix. | |
template<typename T> | |
bool | SolveSystem (const T *m, T *x, const Size dim) throw () |
Solve a system of linear equations. | |
template<typename T> | |
bool | SolveSystem2 (const T &a1, const T &b1, const T &c1, const T &a2, const T &b2, const T &c2, T &x1, T &x2) throw () |
Solve a system of two equations of the form and . | |
template<typename T> | |
short | SolveQuadraticEquation (const T &a, const T &b, const T &c, T &x1, T &x2) throw () |
Solve a quadratic equation of the form a . | |
template<typename T> | |
TVector3< T > | GetPartition (const TVector3< T > &a, const TVector3< T > &b) throw () |
Get the partition of two vectors. | |
template<typename T> | |
TVector3< T > | GetPartition (const TVector3< T > &a, const TVector3< T > &b, const T &r, const T &s) throw (Exception::DivisionByZero) |
Get the partition of two vectors, calculated with two ratio factors. | |
template<typename T> | |
T | GetDistance (const TVector3< T > &a, const TVector3< T > &b) throw () |
Get the distance between two points. | |
template<typename T> | |
T | GetDistance (const TLine3< T > &line, const TVector3< T > &point) throw (Exception::DivisionByZero) |
Get the distance between a line and a point. | |
template<typename T> | |
T | GetDistance (const TVector3< T > &point, const TLine3< T > &line) throw (Exception::DivisionByZero) |
Get the distance between a point and a line. | |
template<typename T> | |
T | GetDistance (const TLine3< T > &a, const TLine3< T > &b) throw (Exception::DivisionByZero) |
Get the distance between two lines. | |
template<typename T> | |
T | GetDistance (const TVector3< T > &point, const TPlane3< T > &plane) throw (Exception::DivisionByZero) |
Get the distance between a point and a plane. | |
template<typename T> | |
T | GetDistance (const TPlane3< T > &plane, const TVector3< T > &point) throw (Exception::DivisionByZero) |
Get the distance between a plane and a point. | |
template<typename T> | |
T | GetDistance (const TLine3< T > &line, const TPlane3< T > &plane) throw (Exception::DivisionByZero) |
Get the distance between a line and a plane. | |
template<typename T> | |
T | GetDistance (const TPlane3< T > &plane, const TLine3< T > &line) throw (Exception::DivisionByZero) |
Get the distance between a plane and a line. | |
template<typename T> | |
T | GetDistance (const TPlane3< T > &a, const TPlane3< T > &b) throw (Exception::DivisionByZero) |
Get the distance between two planes. | |
template<typename T> | |
bool | GetAngle (const TVector3< T > &a, const TVector3< T > &b, TAngle< T > &intersection_angle) |
Get the angle between two Vector3. | |
template<typename T> | |
bool | GetAngle (const TLine3< T > &a, const TLine3< T > &b, TAngle< T > &intersection_angle) throw () |
Get the angle between two lines. | |
template<typename T> | |
bool | GetAngle (const TPlane3< T > &plane, const TVector3< T > &vector, TAngle< T > &intersection_angle) throw () |
Get the angle between a plane and a Vector3. | |
template<typename T> | |
bool | GetAngle (const TVector3< T > &vector, const TPlane3< T > &plane, TAngle< T > &intersection_angle) throw () |
Get the angle between a vector3 and a plane. | |
template<typename T> | |
bool | GetAngle (const TPlane3< T > &plane, const TLine3< T > &line, TAngle< T > &intersection_angle) throw () |
Get the angle between a plane and a line. | |
template<typename T> | |
bool | GetAngle (const TLine3< T > &line, const TPlane3< T > &plane, TAngle< T > &intersection_angle) throw () |
Get the angle between a line and a plane. | |
template<typename T> | |
bool | GetAngle (const TPlane3< T > &a, const TPlane3< T > &b, TAngle< T > &intersection_angle) throw () |
Get the angle between two planes. | |
template<typename T> | |
bool | GetIntersection (const TLine3< T > &a, const TLine3< T > &b, TVector3< T > &point) throw () |
Get the intersection point between two lines. | |
template<typename T> | |
bool | GetIntersection (const TPlane3< T > &plane, const TLine3< T > &line, TVector3< T > &intersection_point) throw () |
Get the intersection point between a plane and a line. | |
template<typename T> | |
bool | GetIntersection (const TLine3< T > &line, const TPlane3< T > &plane, TVector3< T > &intersection_point) throw () |
Get the intersection point between a line and a plane. | |
template<typename T> | |
bool | GetIntersection (const TPlane3< T > &plane1, const TPlane3< T > &plane2, TLine3< T > &line) throw () |
Get the intersection line between two planes. | |
template<typename T> | |
bool | GetIntersection (const TSphere3< T > &sphere, const TLine3< T > &line, TVector3< T > &intersection_point1, TVector3< T > &intersection_point2) throw () |
Get the intersection point between a sphere and a line. | |
template<typename T> | |
bool | GetIntersection (const TLine3< T > &line, const TSphere3< T > &sphere, TVector3< T > &intersection_point1, TVector3< T > &intersection_point2) throw () |
Get the intersection point between a line and a sphere. | |
template<typename T> | |
bool | GetIntersection (const TSphere3< T > &sphere, const TPlane3< T > &plane, TCircle3< T > &intersection_circle) throw () |
Get the intersection circle between a sphere and a plane. | |
template<typename T> | |
bool | GetIntersection (const TPlane3< T > &plane, const TSphere3< T > &sphere, TCircle3< T > &intersection_circle) throw () |
Get the intersection circle between a plane and a sphere. | |
template<typename T> | |
bool | GetIntersection (const TSphere3< T > &a, const TSphere3< T > &b, TCircle3< T > &intersection_circle) throw () |
Get the intersection circle between two spheres. | |
template<class T> | |
bool | GetIntersection (const TSphere3< T > &s1, const TSphere3< T > &s2, const TSphere3< T > &s3, TVector3< T > &p1, TVector3< T > &p2, bool test=true) throw () |
Get the intersection points between three spheres. | |
template<typename T> | |
bool | isCollinear (const TVector3< T > &a, const TVector3< T > &b) throw () |
Test whether two vector3 are collinear. | |
template<typename T> | |
bool | isComplanar (const TVector3< T > &a, const TVector3< T > &b, const TVector3< T > &c) throw () |
Test whether three vector3 are complanar. | |
template<typename T> | |
bool | isComplanar (const TVector3< T > &a, const TVector3< T > &b, const TVector3< T > &c, const TVector3< T > &d) throw () |
Test whether four vector3 are complanar. | |
template<typename T> | |
bool | isOrthogonal (const TVector3< T > &a, const TVector3< T > &b) throw () |
Test whether two vector3 are orthogonal. | |
template<typename T> | |
bool | isOrthogonal (const TVector3< T > &vector, const TLine3< T > &line) throw () |
Test whether a vector3 and a line are orthogonal. | |
template<typename T> | |
bool | isOrthogonal (const TLine3< T > &line, const TVector3< T > &vector) throw () |
Test whether a line and a vector3 are orthogonal. | |
template<typename T> | |
bool | isOrthogonal (const TLine3< T > &a, const TLine3< T > &b) throw () |
Test whether two lines are orthogonal. | |
template<typename T> | |
bool | isOrthogonal (const TVector3< T > &vector, const TPlane3< T > &plane) throw () |
Test whether a vector3 and a plane are orthogonal. | |
template<typename T> | |
bool | isOrthogonal (const TPlane3< T > &plane, const TVector3< T > &vector) throw () |
Test whether a plane and a vector3 are orthogonal. | |
template<typename T> | |
bool | isOrthogonal (const TPlane3< T > &a, const TPlane3< T > &b) throw () |
Test whether two planes are orthogonal. | |
template<typename T> | |
bool | isIntersecting (const TVector3< T > &point, const TLine3< T > &line) throw () |
Test whether a line is intersecting a point. | |
template<typename T> | |
bool | isIntersecting (const TLine3< T > &line, const TVector3< T > &point) throw () |
Test whether a line is intersecting a point. | |
template<typename T> | |
bool | isIntersecting (const TLine3< T > &a, const TLine3< T > &b) throw () |
Test whether two lines are intersecting. | |
template<typename T> | |
bool | isIntersecting (const TVector3< T > &point, const TPlane3< T > &plane) throw () |
Test whether a point lies in a plane. | |
template<typename T> | |
bool | isIntersecting (const TPlane3< T > &plane, const TVector3< T > &point) throw () |
Test whether a point lies in a plane. | |
template<typename T> | |
bool | isIntersecting (const TLine3< T > &line, const TPlane3< T > &plane) throw () |
Test whether a line is intersecting a plane. | |
template<typename T> | |
bool | isIntersecting (const TPlane3< T > &plane, const TLine3< T > &line) throw () |
Test whether a plane is intersecting a line. | |
template<typename T> | |
bool | isIntersecting (const TPlane3< T > &a, const TPlane3< T > &b) throw () |
Test whether two planes are intersecting. | |
template<typename T> | |
bool | isParallel (const TLine3< T > &line, const TPlane3< T > &plane) throw () |
Test whether a line and a plane are parallel. | |
template<typename T> | |
bool | isParallel (const TPlane3< T > &plane, const TLine3< T > &line) throw () |
Test whether a plane and a line are parallel. | |
template<typename T> | |
bool | isParallel (const TPlane3< T > &a, const TPlane3< T > &b) throw () |
Test whether two planes are parallel. | |
template<typename T> | |
TAngle< T > | getOrientedAngle (const T &ax, const T &ay, const T &az, const T &bx, const T &by, const T &bz, const T &nx, const T &ny, const T &nz) throw (Exception::DivisionByZero) |
Return the oriented angle of two vectors with a normal vector. | |
template<typename T> | |
TAngle< T > | getOrientedAngle (const TVector3< T > &a, const TVector3< T > &b, const TVector3< T > &normal) throw (Exception::DivisionByZero) |
Return the oriented angle of two vectors with a normal vector. | |
template<typename T> | |
TAngle< T > | getTorsionAngle (const T &ax, const T &ay, const T &az, const T &bx, const T &by, const T &bz, const T &cx, const T &cy, const T &cz, const T &dx, const T &dy, const T &dz) throw (Exception::DivisionByZero) |
Return the torsion angle of four points to each other. |
|
Get the angle between two planes.
|
|
Get the angle between a line and a plane.
|
|
Get the angle between a plane and a line.
|
|
Get the angle between a vector3 and a plane.
|
|
Get the angle between a plane and a Vector3.
|
|
Get the angle between two lines.
|
|
Get the angle between two Vector3.
|
|
Get the determinant of any matrix.
|
|
Get the determinant of an 2x2 matrix.
|
|
Get the determinant of an 2x2 matrix.
|
|
Get the determinant of an 3x3 matrix.
|
|
Get the determinant of an 3x3 matrix.
|
|
Subroutine to get the determinant of any matrix.
Direct usage of this function should be avoided. Instead use
|
|
Get the distance between two planes.
|
|
Get the distance between a plane and a line.
|
|
Get the distance between a line and a plane.
|
|
Get the distance between a plane and a point.
|
|
Get the distance between a point and a plane.
|
|
Get the distance between two lines.
|
|
Get the distance between a point and a line.
|
|
Get the distance between a line and a point.
|
|
Get the distance between two points.
|
|
Get the intersection points between three spheres.
|
|
Get the intersection circle between two spheres. This methods returns false, if the two spheres are identical, since then no intersection circle exists.
|
|
Get the intersection circle between a plane and a sphere.
|
|
Get the intersection circle between a sphere and a plane.
|
|
Get the intersection point between a line and a sphere.
|
|
Get the intersection point between a sphere and a line.
|
|
Get the intersection line between two planes.
|
|
Get the intersection point between a line and a plane.
|
|
Get the intersection point between a plane and a line.
|
|
Get the intersection point between two lines.
|
|
Return the oriented angle of two vectors with a normal vector.
|
|
Return the oriented angle of two vectors with a normal vector.
|
|
Get the partition of two vectors, calculated with two ratio factors.
|
|
Get the partition of two vectors.
|
|
Return the torsion angle of four points to each other.
|
|
Test whether two vector3 are collinear.
|
|
Test whether four vector3 are complanar.
|
|
Test whether three vector3 are complanar.
|
|
Test whether two planes are intersecting.
|
|
Test whether a plane is intersecting a line.
|
|
Test whether a line is intersecting a plane.
|
|
Test whether a point lies in a plane.
|
|
Test whether a point lies in a plane.
|
|
Test whether two lines are intersecting.
|
|
Test whether a line is intersecting a point.
|
|
Test whether a line is intersecting a point.
|
|
Test whether two planes are orthogonal.
|
|
Test whether a plane and a vector3 are orthogonal.
|
|
Test whether a vector3 and a plane are orthogonal.
|
|
Test whether two lines are orthogonal.
|
|
Test whether a line and a vector3 are orthogonal.
|
|
Test whether a vector3 and a line are orthogonal.
|
|
Test whether two vector3 are orthogonal.
|
|
Test whether two planes are parallel.
|
|
Test whether a plane and a line are parallel.
|
|
Test whether a line and a plane are parallel.
|
|
Solve a quadratic equation of the form a .
|
|
Solve a system of linear equations. Given a system of linear equations
|
|
Solve a system of two equations of the form and .
|