/// <summary> /// Instatiates a polygon based on one extorier ring. /// </summary> /// <param name="exteriorRing">Exterior ring</param> public Polygon(LinearRing exteriorRing) : this(exteriorRing, new Collection <LinearRing>()) { }
/// <summary> /// Instatiates a polygon based on one extorier ring and a collection of interior rings. /// </summary> /// <param name="exteriorRing">Exterior ring</param> /// <param name="interiorRings">Interior rings</param> public Polygon(LinearRing exteriorRing, IList <LinearRing> interiorRings) { _ExteriorRing = exteriorRing; _InteriorRings = interiorRings ?? new Collection <LinearRing>(); }