testObOb
- bool testObOb(Vector3d b0c, Vector3d b0uX, Vector3d b0uY, Vector3d b0uZ, Vector3d b0hs, Vector3d b1c, Vector3d b1uX, Vector3d b1uY, Vector3d b1uZ, Vector3d b1hs)
- bool testObOb(double b0cX, double b0cY, double b0cZ, double b0uXx, double b0uXy, double b0uXz, double b0uYx, double b0uYy, double b0uYz, double b0uZx, double b0uZy, double b0uZz, double b0hsX, double b0hsY, double b0hsZ, double b1cX, double b1cY, double b1cZ, double b1uXx, double b1uXy, double b1uXz, double b1uYx, double b1uYy, double b1uYz, double b1uZx, double b1uZy, double b1uZz, double b1hsX, double b1hsY, double b1hsZ)
intersection_d
static functionsstatic variables
Test whether two oriented boxes given via their center position, orientation and half-size, intersect. <p> The orientation of a box is given as three unit vectors spanning the local orthonormal basis of the box. <p> The size is given as the half-size along each of the unit vectors defining the orthonormal basis. <p> Reference: Book "Real-Time Collision Detection" chapter 4.4.1 "OBB-OBB Intersection"
@param b0c the center of the first box @param b0uX the local X unit vector of the first box @param b0uY the local Y unit vector of the first box @param b0uZ the local Z unit vector of the first box @param b0hs the half-size of the first box @param b1c the center of the second box @param b1uX the local X unit vector of the second box @param b1uY the local Y unit vector of the second box @param b1uZ the local Z unit vector of the second box @param b1hs the half-size of the second box @return <code>true</code> if both boxes intersect; <code>false</code> otherwise