public void ValidatePolygonRing_Geography() { GeographyPipeline v = new SpatialValidatorImplementation(); v.SetCoordinateSystem(NonDefaultGeographicCoords); v.BeginGeography(SpatialType.Polygon); v.BeginFigure(new GeographyPosition(10, 20, 30, 40)); v.LineTo(new GeographyPosition(20, 30, 40, 50)); v.LineTo(new GeographyPosition(20, 40, 40, 50)); v.LineTo(new GeographyPosition(10, 20, 30, 40)); v.EndFigure(); v.EndGeography(); }
public void ValidateFullGlobe_Geography() { GeographyPipeline v = new SpatialValidatorImplementation(); v.SetCoordinateSystem(NonDefaultGeographicCoords); v.BeginGeography(SpatialType.FullGlobe); v.EndGeography(); }