KrisLibrary
1.0.0
|
Basic geometric utilities for rotations, intersections. More...
#include <KrisLibrary/math3d/rotation.h>
#include <KrisLibrary/math3d/Sphere3D.h>
#include <KrisLibrary/math3d/Circle3D.h>
Go to the source code of this file.
Functions | |
template<class Rot > | |
void | GetRotationAboutLocalPoint (const Vector3 &localpt, const Vector3 &pt, const Rot &r, RigidTransform &T) |
template<class Rot > | |
void | GetRotationAboutPoint (const Vector3 &pt, const Rot &r, RigidTransform &T) |
Returns the RigidTransform that rotates by r about the point pt. | |
bool | BallCircleCollision (const Sphere3D &a, const Circle3D &b) |
Returns true if the solid ball a intersects the circle boundary b. | |
void | CircleCircleClosestPoints (const Circle3D &a, const Circle3D &b, Vector3 &pa, Vector3 &pb) |
Calculates the closest points on the boundaries of circles a,b. | |
int | BallBallIntersection (const Sphere3D &a, const Sphere3D &b, Circle3D &c) |
Calculates the intersection region of the balls a,b. More... | |
void | CollisionSelfTest () |
Basic geometric utilities for rotations, intersections.