public OGCPolygon(com.epl.geometry.Polygon geom, com.epl.geometry.SpatialReference sr) { polygon = geom; if (geom.GetExteriorRingCount() > 1) { throw new System.ArgumentException("Polygon has to have one exterior ring. Simplify geom with OperatorSimplify."); } esriSR = sr; }