@Test public void testTangentialIntersections() { ICircle circle = Circle.createCircle(Vector2.fromXY(5, 7), 6); IVector2 externalPoint = Vector2.fromXY(1, 1); List<IVector2> res = circle.tangentialIntersections(externalPoint); for (IVector2 p : res) { if (p.isCloseTo(Vector2.fromXY(5, 1), ACCURACY)) { return; } } Assert.fail(); }
public static ICircle createCircle(final IVector2 center, final double radius) { return new Circle(center, radius); }
Circle extends ACircle { public static ICircle createCircle(final IVector2 center, final double radius) { return new Circle(center, radius); } }
Circle extends ACircle { public static ICircle createCircle(final IVector2 center, final double radius) { return new Circle(center, radius); } protected  Circle(); protected  Circle(final ICircle circle); protected  Circle(final IVector2 center, final double radius); }
Circle extends ACircle { public static ICircle createCircle(final IVector2 center, final double radius) { return new Circle(center, radius); } protected  Circle(); protected  Circle(final ICircle circle); protected  Circle(final IVector2 center, final double radius); static ICircle from2Points(final IVector2 p1, final IVector2 p2); static Optional<ICircle> from3Points(final IVector2 p1, final IVector2 p2, final IVector2 p3); static Optional<ICircle> fromNPoints(final List<IVector2> points); static Optional<ICircle> hullCircle(final List<IVector2> points); static ICircle createCircle(final IVector2 center, final double radius); @Override ICircle withMargin(final double margin); @Override ICircle mirror(); @Override double radius(); @Override IVector2 center(); @Override final boolean equals(final Object o); @Override final int hashCode(); @Override String toString(); }
Circle extends ACircle { public static ICircle createCircle(final IVector2 center, final double radius) { return new Circle(center, radius); } protected  Circle(); protected  Circle(final ICircle circle); protected  Circle(final IVector2 center, final double radius); static ICircle from2Points(final IVector2 p1, final IVector2 p2); static Optional<ICircle> from3Points(final IVector2 p1, final IVector2 p2, final IVector2 p3); static Optional<ICircle> fromNPoints(final List<IVector2> points); static Optional<ICircle> hullCircle(final List<IVector2> points); static ICircle createCircle(final IVector2 center, final double radius); @Override ICircle withMargin(final double margin); @Override ICircle mirror(); @Override double radius(); @Override IVector2 center(); @Override final boolean equals(final Object o); @Override final int hashCode(); @Override String toString();  }