/** * Tests if the vertex is inside the circle defined by * the triangle with vertices a, b, c (oriented counter-clockwise). * * @param a a vertex of the triangle * @param b a vertex of the triangle * @param c a vertex of the triangle * @return true if this vertex is in the circumcircle of (a,b,c) */ public boolean isInCircle(Vertex a, Vertex b, Vertex c) { return TrianglePredicate.isInCircleRobust(a.p, b.p, c.p, this.p); // non-robust - best to not use //return TrianglePredicate.isInCircle(a.p, b.p, c.p, this.p); }
/** * Tests if the vertex is inside the circle defined by * the triangle with vertices a, b, c (oriented counter-clockwise). * * @param a a vertex of the triangle * @param b a vertex of the triangle * @param c a vertex of the triangle * @return true if this vertex is in the circumcircle of (a,b,c) */ public boolean isInCircle(Vertex a, Vertex b, Vertex c) { return TrianglePredicate.isInCircleRobust(a.p, b.p, c.p, this.p); // non-robust - best to not use //return TrianglePredicate.isInCircle(a.p, b.p, c.p, this.p); }