///
/// Returns true if the point (p) lies inside the circumcircle made up by points (p1,p2,p3)
///
///
/// NOTE: A point on the edge is inside the circumcircle
///
/// Point to check
/// First point on circle
/// Second point on circle
/// Third point on circle
/// true if p is inside circle
private static bool InCircle(Geometry.Point p, Geometry.Point p1, Geometry.Point p2, Geometry.Point p3)
{
//Return TRUE if the point (xp,yp) lies inside the circumcircle
//made up by points (x1,y1) (x2,y2) (x3,y3)
//NOTE: A point on the edge is inside the circumcircle
if (System.Math.Abs(p1.Y - p2.Y) < double>
{
//INCIRCUM - F - Points are coincident !!
return false;
}
double m1, m2;
double mx1, mx2;
double my1, my2;
double xc, y