@Pure
	public static boolean intersectsOrientedBoxAlignedBox(
			double centerx,double  centery,double  centerz,
			double axis1x, double axis1y, double axis1z,
			double axis2x, double axis2y, double axis2z,
			double axis3x, double axis3y, double axis3z,
			double extentAxis1, double extentAxis2, double extentAxis3,
			double lowerx,double  lowery,double  lowerz,
			double upperx,double  uppery,double  upperz) {
		assert(lowerx<=upperx);
		assert(lowery<=uppery);
		assert(lowerz<=upperz);
		assert(extentAxis1>=0);
		assert(extentAxis2>=0);
		assert(extentAxis3>=0);

		double aabbCenterx,aabbCentery,aabbCenterz;
		aabbCenterx = (upperx+lowerx)/2.f;
		aabbCentery = (uppery+lowery)/2.f;
		aabbCenterz = (upperz+lowerz)/2.f;


		return intersectsOrientedBoxOrientedBox(
				aabbCenterx, aabbCentery, aabbCenterz,
				1,0,0,	//Axis 1
				0,1,0,	//Axis 2
				0,0,1,	//Axis 3
				upperx - aabbCenterx, uppery - aabbCentery, upperz - aabbCenterz,
				centerx, centery, centerz,
				axis1x, axis1y, axis1z,
				axis2x, axis2y, axis2z,
				axis3x, axis3y, axis3z,
				extentAxis1, extentAxis2, extentAxis3);
	}
@ Pure public static boolean intersectsOrientedBoxAlignedBox ( double centerx , double centery , double centerz , double axis1x , double axis1y , double axis1z , double axis2x , double axis2y , double axis2z , double axis3x , double axis3y , double axis3z , double extentAxis1 , double extentAxis2 , double extentAxis3 , double lowerx , double lowery , double lowerz , double upperx , double uppery , double upperz ) { assert ( lowerx <= upperx ) ; assert ( lowery <= uppery ) ; assert ( lowerz <= upperz ) ; assert ( extentAxis1 >= 0 ) ; assert ( extentAxis2 >= 0 ) ; assert ( extentAxis3 >= 0 ) ; double aabbCenterx , aabbCentery , aabbCenterz ; aabbCenterx = ( upperx + lowerx ) / 2.f ; aabbCentery = ( uppery + lowery ) / 2.f ; aabbCenterz = ( upperz + lowerz ) / 2.f ; return intersectsOrientedBoxOrientedBox ( aabbCenterx , aabbCentery , aabbCenterz , 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , upperx - aabbCenterx , uppery - aabbCentery , upperz - aabbCenterz , centerx , centery , centerz , axis1x , axis1y , axis1z , axis2x , axis2y , axis2z , axis3x , axis3y , axis3z , extentAxis1 , extentAxis2 , extentAxis3 ) ; }
Replies if the specified boxes intersect.
<p>
This function is assuming that <var>lx1</var> is lower
or equal to <var>ux1</var>, <var>ly1</var> is lower
or equal to <var>uy1</var>, and so on.
The extents are assumed to be positive or zero.
The lengths of the given arrays are assumed to be <code>3</code>.
<p>
This function uses the "separating axis theorem" which states that
for any two OBBs (AABB is a special case of OBB)
that do not touch, a separating axis can be found.
<p>
This function uses an optimized algorithm for AABB as first parameter.
The general intersection type between two OBB is given by
{@link #intersectsOrientedBoxOrientedBox(double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double)}

@param centerx is the center point of the oriented box.
@param centery is the center point of the oriented box.
@param centerz is the center point of the oriented box.
@param axis1x are the unit vectors of the oriented box axis.
@param axis1y are the unit vectors of the oriented box axis.
@param axis1z are the unit vectors of the oriented box axis.
@param axis2x are the unit vectors of the oriented box axis.
@param axis2y are the unit vectors of the oriented box axis.
@param axis2z are the unit vectors of the oriented box axis.
@param axis3x are the unit vectors of the oriented box axis.
@param axis3y are the unit vectors of the oriented box axis.
@param axis3z are the unit vectors of the oriented box axis.
@param extentAxis1 are the sizes of the oriented box.
@param extentAxis2 are the sizes of the oriented box.
@param extentAxis3 are the sizes of the oriented box.
@param lowerx coordinates of the lowest point of the first AABB box.
@param lowery coordinates of the lowest point of the first AABB box.
@param lowerz coordinates of the lowest point of the first AABB box.
@param upperx coordinates of the uppermost point of the first AABB box.
@param uppery coordinates of the uppermost point of the first AABB box.
@param upperz coordinates of the uppermost point of the first AABB box.
@return <code>true</code> if intersecting, otherwise <code>false</code>
@see "RTCD pages 102-105"
@see <a href="http://www.gamasutra.com/features/19991018/Gomez_5.htm">OBB collision detection on Gamasutra.com</a>