private void CheckCircleZeroRadius(Geometry geom, double tolerance)
        {
            var lec = new LargestEmptyCircle(geom, tolerance);

            var    radiusLine   = lec.GetRadiusLine();
            double actualRadius = radiusLine.Length;

            Assert.AreEqual(0.0, actualRadius, tolerance, "Radius: ");

            var centerPt = lec.GetCenter().Coordinate;

            CheckEqualXY("Radius line center point: ", centerPt, radiusLine.GetCoordinateN(0));
            var radiusPt = lec.GetRadiusPoint().Coordinate;

            CheckEqualXY("Radius line endpoint point: ", radiusPt, radiusLine.GetCoordinateN(1));
        }
        private void CheckCircle(Geometry geom, double tolerance,
                                 double x, double y, double expectedRadius)
        {
            var      lec            = new LargestEmptyCircle(geom, tolerance);
            Geometry centerPoint    = lec.GetCenter();
            var      centerPt       = centerPoint.Coordinate;
            var      expectedCenter = new Coordinate(x, y);

            CheckEqualXY(expectedCenter, centerPt, tolerance);

            var    radiusLine   = lec.GetRadiusLine();
            double actualRadius = radiusLine.Length;

            Assert.AreEqual(expectedRadius, actualRadius, tolerance, "Radius: ");

            CheckEqualXY("Radius line center point: ", centerPt, radiusLine.GetCoordinateN(0));
            var radiusPt = lec.GetRadiusPoint().Coordinate;

            CheckEqualXY("Radius line endpoint point: ", radiusPt, radiusLine.GetCoordinateN(1));
        }