Пример #1
0
 /**
  * Computes intersections of the circle with a line. Return an array of Point2D, of size 0, 1 or 2
  * depending on the distance between circle and line. If there are 2 intersections points, the
  * first one in the array is the first one on the line.
  */
 public Collection<Point2D> intersections(LinearShape2D line) {
   return Circle2D.lineCircleIntersections(line, this);
 }