title: attempting to check if a circle overlaps, is inside of, or outside of, a second circle
body: <p>I have these three methods to check if a circle is inside another circle, everything works except for the fact that the intersecting circle is marked as inside and intersecting. I've been reading articles but none of the suggested options seem to make it work correctly. Here are my methods:</p>
  
  <pre><code>    public boolean isInside(Circle c2) {
      // get the distance between the two center points
      double distance = Math.sqrt((x - c2.x) * (x - c2.x) + (y - c2.y) * (y - c2.y));
      // check to see if we are inside the first circle, if so then return
      // true, otherwise return false.
      if (distance &lt;= ((radius) + (c2.radius))) {
          System.out.println(distance);
          return true;
      } else {
          return false;
      }
  }
  
  public boolean isOutside(Circle c2) {
      double distance = Math.sqrt((x - c2.x) * (x - c2.x) + (y - c2.y) * (y - c2.y));
      if (distance &gt; ((radius) + (c2.radius))) {
          System.out.println(distance);
          return true;
      } else {
          return false;
      }
  
  }
  
  public boolean isIntersecting(Circle c2) {
      double distance = Math.sqrt((x - c2.x) * (x - c2.x) + (y - c2.y) * (y - c2.y));
      if (Math.abs((radius - c2.radius)) &lt;= distance &amp;&amp; distance &lt;= (radius + c2.radius)) {
          System.out.println(distance);
          return true;
      } else {
          return false;
      }
  }
  </code></pre>