testCircleCircle

Test whether the one circle with center <code>centerA</code> and square radius <code>radiusSquaredA</code> intersects the other circle with center <code>centerB</code> and square radius <code>radiusSquaredB</code>. <p> This method returns <code>true</code> when one circle contains the other circle. <p> Reference: <a href="http://gamedev.stackexchange.com/questions/75756/sphere-sphere-intersection-and-circle-sphere-intersection">http://gamedev.stackexchange.com</a>

@param centerA the first circle's center @param radiusSquaredA the square of the first circle's radius @param centerB the second circle's center @param radiusSquaredB the square of the second circle's radius @return <code>true</code> iff both circles intersect; <code>false</code> otherwise

  1. bool testCircleCircle(double aX, double aY, double rA, double bX, double bY, double rB)
  2. bool testCircleCircle(Vector2d centerA, double radiusSquaredA, Vector2d centerB, double radiusSquaredB)
    static
    bool
    testCircleCircle

Meta