testCircleCircle

Test whether the one circle with center <code>(aX, aY)</code> and radius <code>rA</code> intersects the other circle with center <code>(bX, bY)</code> and radius <code>rB</code>. <p> This method returns <code>true</code> when one circle contains the other circle. <p> Reference: <a href="http://math.stackexchange.com/questions/275514/two-circles-overlap">http://math.stackexchange.com/</a>

@param aX the x coordinate of the first circle's center @param aY the y coordinate of the first circle's center @param rA the square of the first circle's radius @param bX the x coordinate of the second circle's center @param bY the y coordinate of the second circle's center @param rB 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)
    public static
    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)

Meta