public static TriangulationPoint getMidpoint(TriangulationPoint p1, TriangulationPoint p2)
	{
		TriangulationPoint midpoint = new PolygonPoint(
				(p1.getX() + p2.getX()) / 2.0,
				(p1.getY() + p2.getY()) / 2.0);
		return midpoint;
	}