public MultiTriangle(Triangle[] rectangles, GeometryFactory factory)
     : base(rectangles, factory)
 {
 }
Exemple #2
0
 public MultiSurface(Surface[] surfaces, GeometryFactory factory)
     : base(surfaces, factory)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MultiTriangle"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this geometry instance.
 /// </param>
 public MultiTriangle(GeometryFactory factory) : base(factory)
 {
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Curve"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this curve instance.
 /// </param>
 protected Curve(GeometryFactory factory) : base(factory)
 {
 }
Exemple #5
0
 protected CircularArc(Coordinate center, double radius, GeometryFactory factory)
     : base(factory)
 {
     m_objCenter = center;
     m_dRadius   = radius;
 }
Exemple #6
0
 /// <summary>  Constructs a MultiPolygon.
 /// </summary>
 /// <param name="">polygons
 /// the Polygons for this MultiPolygon,
 /// or null or an empty array to create the empty
 /// geometry. Elements may be empty Polygons, but
 /// not nulls. The polygons must conform to the
 /// assertions specified in the <A
 /// HREF="http://www.opengis.org/techno/specs.htm">OpenGIS Simple
 /// Features Specification for SQL</A>.
 /// </param>
 public MultiPolygon(Polygon[] polygons, GeometryFactory factory)
     : base(polygons, factory)
 {
 }
Exemple #7
0
 public MultiEllipse(Ellipse[] ellipses, GeometryFactory factory)
     : base(ellipses, factory)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MultiRectangle"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this geometry instance.
 /// </param>
 public MultiRectangle(GeometryFactory factory) : base(factory)
 {
 }
Exemple #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EllipticArc"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this curve instance.
 /// </param>
 public EllipticArc(GeometryFactory factory) : base(factory)
 {
 }
Exemple #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultiArc"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this geometry instance.
 /// </param>
 public MultiArc(GeometryFactory factory) : base(factory)
 {
 }
Exemple #11
0
 public MultiArc(Arc[] surfaces, GeometryFactory factory)
     : base(surfaces, factory)
 {
 }
 /// <summary>
 /// Create a shape factory which will create shapes using the given
 /// <see cref="GeometryFactory"/>.
 /// </summary>
 /// <param name="geomFact">the factory to use
 /// </param>
 public GeometryFactoryEx(GeometryFactory factory)
 {
     dim           = new Dimensions(this);
     this.geomFact = factory;
 }
Exemple #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Surface"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this geometry instance.
 /// </param>
 protected Surface(GeometryFactory factory) : base(factory)
 {
 }
Exemple #14
0
//		/// <summary>
//		/// Constructs a LinearRing with the given points.
//		/// </summary>
//		/// <param name="points"> points forming a closed and simple linestring, or
//		/// null or an empty array to create the empty geometry.
//		/// This array must not contain null elements.
//		/// </param>
//		/// <param name="precisionModel"> the specification of the grid of allowable points
//		/// for this LinearRing
//		/// </param>
//		/// <param name="SRID"> the ID of the Spatial Reference System used by this
//		/// LinearRing
//		/// </param>
//		/// <deprecated> Use GeometryFactory instead
//		/// </deprecated>
//		public LinearRing(Coordinate[] points,
//            PrecisionModel precisionModel, int SRID)
//            : this(CoordinateSequenceFactory.Instance().Create(points == null ?
//            new Coordinate[]{} : points),
//            new GeometryFactory(precisionModel, SRID, CoordinateSequenceFactory.Instance()))
//		{
//		}


        /// <summary>  Constructs a LinearRing with the given points.
        ///
        /// </summary>
        /// <param name="points">         points forming a closed and simple linestring, or
        /// null or an empty array to create the empty geometry.
        /// This array must not contain null elements.
        ///
        /// </param>
        public LinearRing(ICoordinateList points, GeometryFactory factory)
            : base(points, factory)
        {
            ValidateConstruction(true);
        }
 /// <summary>  Constructs a MultiLineString.
 ///
 /// </summary>
 /// <param name="">lineStrings
 /// the LineStrings for this MultiLineString,
 /// or null or an empty array to create the empty
 /// geometry. Elements may be empty LineStrings,
 /// but not nulls.
 /// </param>
 public MultiLineString(LineString[] lineStrings, GeometryFactory factory)
     : base(lineStrings, factory)
 {
 }
Exemple #16
0
 public EllipticArc(Coordinate center, double radius, GeometryFactory factory)
     : base(factory)
 {
     m_objCenter = center;
     m_dRadius   = radius;
 }
Exemple #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultiSurface"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this geometry instance.
 /// </param>
 public MultiPolygon(GeometryFactory factory) : base(factory)
 {
 }
Exemple #18
0
 public static Circle CreateCircumCircle(Coordinate p1, Coordinate p2,
                                         Coordinate p3, GeometryFactory factory)
 {
     return(null);
 }
Exemple #19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultiEllipse"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this geometry instance.
 /// </param>
 public MultiEllipse(GeometryFactory factory) : base(factory)
 {
 }
Exemple #20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Circle"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this curve instance.
 /// </param>
 public Circle(GeometryFactory factory) : base(factory)
 {
 }
Exemple #21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RoundedRectangle"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this geometry instance.
 /// </param>
 public RoundedRectangle(GeometryFactory factory) : base(factory)
 {
     m_objCoordinates = new CoordinateCollection();
 }
Exemple #22
0
 public Circle(Coordinate center, double radius, GeometryFactory factory)
     : base(factory)
 {
     m_objCenter = center;
     m_dRadius   = radius;
 }
Exemple #23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CircularArc"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this curve instance.
 /// </param>
 protected CircularArc(GeometryFactory factory) : base(factory)
 {
 }
Exemple #24
0
 public Circle(double centerX, double centerY, double radius,
               GeometryFactory factory) : base(factory)
 {
     m_objCenter = new Coordinate(centerX, centerY);
     m_dRadius   = radius;
 }
Exemple #25
0
 protected CircularArc(double centerX, double centerY, double radius,
                       GeometryFactory factory) : base(factory)
 {
     m_objCenter = new Coordinate(centerX, centerY);
     m_dRadius   = radius;
 }
Exemple #26
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultiSurface"/> geometry.
 /// </summary>
 /// <param name="factory">
 /// The <see cref="GeometryFactory">geometry factory</see>, which
 /// created this geometry instance.
 /// </param>
 public MultiSurface(GeometryFactory factory) : base(factory)
 {
 }