Exemple #1
0
        /* BEGIN ADDED BY MPAUL42: monoGIS team */

        /// <summary>
        /// Constructs a <c>Polygon</c> with the given exterior boundary.
        /// </summary>
        /// <param name="shell">
        /// The outer boundary of the new <c>Polygon</c>,
        /// or <c>null</c> or an empty <c>LinearRing</c> if the empty
        /// polygon is to be created.
        /// </param>
        /// <param name="factory"></param>
        public Polygon(LinearRing shell, GeometryFactory factory) : this(shell, null, factory)
        {
        }
 /// <summary>
 /// Constructs a <c>MultiPoint</c>.
 /// </summary>
 /// <param name="points">
 /// The <c>Point</c>s for this <c>MultiPoint</c>
 /// , or <c>null</c> or an empty array to create the empty point.
 /// Elements may be empty <c>Point</c>s, but not <c>null</c>s.
 /// </param>
 /// <param name="factory"></param>
 public MultiPoint(Point[] points, GeometryFactory factory) : base(points, factory)
 {
 }
Exemple #3
0
 /// <summary>
 /// Constructs a <c>MultiLineString</c>.
 /// </summary>
 /// <param name="lineStrings">
 /// The <c>LineString</c>s for this <c>MultiLineString</c>,
 /// or <c>null</c> or an empty array to create the empty
 /// point. Elements may be empty <c>LineString</c>s,
 /// but not <c>null</c>s.
 /// </param>
 /// <param name="factory"></param>
 public MultiLineString(LineString[] lineStrings, GeometryFactory factory)
     : base(lineStrings, factory)
 {
 }
 /// <summary>
 /// Constructs a <c>MultiPolygon</c>.
 /// </summary>
 /// <param name="polygons">
 /// The <c>Polygon</c>s for this <c>MultiPolygon</c>
 /// , or <c>null</c> or an empty array to create the empty point.
 /// Elements may be empty <c>Polygon</c>s, but not <c>null</c>
 /// s. The polygons must conform to the assertions specified in the
 /// <see href="http://www.opengis.org/techno/specs.htm"/> OpenGIS Simple Features
 /// Specification for SQL.
 /// </param>
 /// <param name="factory"></param>
 public MultiPolygon(Polygon[] polygons, GeometryFactory factory) : base(polygons, factory)
 {
 }
Exemple #5
0
 /// <summary>
 /// Constructs a <c>LinearRing</c> with the vertices specified
 /// by the given <see cref="CoordinateSequence"/>.
 /// </summary>
 /// <param name="points">A sequence points forming a closed and simple linestring,
 /// or <c>null</c> to create the empty geometry.</param>
 /// <param name="factory">The factory that creates this <c>LinearRing</c></param>
 /// <exception cref="ArgumentException">If the ring is not closed, or has too few points</exception>
 public LinearRing(CoordinateSequence points, GeometryFactory factory)
     : base(points, factory)
 {
     ValidateConstruction();
 }