コード例 #1
0
ファイル: MultiTriangle.cs プロジェクト: spacefan/iGeospatial
 public MultiTriangle(Triangle[] rectangles, GeometryFactory factory)
     : base(rectangles, factory)
 {
 }
コード例 #2
0
ファイル: MultiSurface.cs プロジェクト: spacefan/iGeospatial
 public MultiSurface(Surface[] surfaces, GeometryFactory factory)
     : base(surfaces, factory)
 {
 }
コード例 #3
0
ファイル: MultiTriangle.cs プロジェクト: spacefan/iGeospatial
 /// <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)
 {
 }
コード例 #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)
 {
 }
コード例 #5
0
ファイル: CircularArc.cs プロジェクト: spacefan/iGeospatial
 protected CircularArc(Coordinate center, double radius, GeometryFactory factory)
     : base(factory)
 {
     m_objCenter = center;
     m_dRadius   = radius;
 }
コード例 #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)
 {
 }
コード例 #7
0
ファイル: MultiEllipse.cs プロジェクト: spacefan/iGeospatial
 public MultiEllipse(Ellipse[] ellipses, GeometryFactory factory)
     : base(ellipses, factory)
 {
 }
コード例 #8
0
 /// <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)
 {
 }
コード例 #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)
 {
 }
コード例 #10
0
ファイル: MultiArc.cs プロジェクト: spacefan/iGeospatial
 /// <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)
 {
 }
コード例 #11
0
ファイル: MultiArc.cs プロジェクト: spacefan/iGeospatial
 public MultiArc(Arc[] surfaces, GeometryFactory factory)
     : base(surfaces, factory)
 {
 }
コード例 #12
0
 /// <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;
 }
コード例 #13
0
ファイル: Surface.cs プロジェクト: spacefan/iGeospatial
 /// <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)
 {
 }
コード例 #14
0
ファイル: LinearRing.cs プロジェクト: spacefan/iGeospatial
//		/// <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);
        }
コード例 #15
0
 /// <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)
 {
 }
コード例 #16
0
 public EllipticArc(Coordinate center, double radius, GeometryFactory factory)
     : base(factory)
 {
     m_objCenter = center;
     m_dRadius   = radius;
 }
コード例 #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)
 {
 }
コード例 #18
0
 public static Circle CreateCircumCircle(Coordinate p1, Coordinate p2,
                                         Coordinate p3, GeometryFactory factory)
 {
     return(null);
 }
コード例 #19
0
ファイル: MultiEllipse.cs プロジェクト: spacefan/iGeospatial
 /// <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)
 {
 }
コード例 #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)
 {
 }
コード例 #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();
 }
コード例 #22
0
 public Circle(Coordinate center, double radius, GeometryFactory factory)
     : base(factory)
 {
     m_objCenter = center;
     m_dRadius   = radius;
 }
コード例 #23
0
ファイル: CircularArc.cs プロジェクト: spacefan/iGeospatial
 /// <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)
 {
 }
コード例 #24
0
 public Circle(double centerX, double centerY, double radius,
               GeometryFactory factory) : base(factory)
 {
     m_objCenter = new Coordinate(centerX, centerY);
     m_dRadius   = radius;
 }
コード例 #25
0
ファイル: CircularArc.cs プロジェクト: spacefan/iGeospatial
 protected CircularArc(double centerX, double centerY, double radius,
                       GeometryFactory factory) : base(factory)
 {
     m_objCenter = new Coordinate(centerX, centerY);
     m_dRadius   = radius;
 }
コード例 #26
0
ファイル: MultiSurface.cs プロジェクト: spacefan/iGeospatial
 /// <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)
 {
 }