public override void SendTo(GeographyPipeline pipeline)
 {
     base.SendTo(pipeline);
     pipeline.BeginGeography(SpatialType.LineString);
     this.SendFigure(pipeline);
     pipeline.EndGeography();
 }
 public override void SendTo(GeographyPipeline pipeline)
 {
     base.SendTo(pipeline);
     pipeline.BeginGeography(SpatialType.MultiLineString);
     for (int i = 0; i < this.lineStrings.Length; i++)
     {
         this.lineStrings[i].SendTo(pipeline);
     }
     pipeline.EndGeography();
 }
 public override void SendTo(GeographyPipeline pipeline)
 {
     base.SendTo(pipeline);
     pipeline.BeginGeography(SpatialType.Polygon);
     for (int i = 0; i < this.rings.Length; i++)
     {
         this.rings[i].SendFigure(pipeline);
     }
     pipeline.EndGeography();
 }
 public override void SendTo(GeographyPipeline pipeline)
 {
     base.SendTo(pipeline);
     pipeline.BeginGeography(SpatialType.Collection);
     for (int i = 0; i < this.geographyArray.Length; i++)
     {
         this.geographyArray[i].SendTo(pipeline);
     }
     pipeline.EndGeography();
 }
        public override void SendTo(GeographyPipeline pipeline)
        {
            base.SendTo(pipeline);
            pipeline.BeginGeography(SpatialType.MultiPolygon);
            for (int i = 0; i < this.polygons.Length; ++i)
            {
                this.polygons[i].SendTo(pipeline);
            }

            pipeline.EndGeography();
        }
 public override void SendTo(GeographyPipeline pipeline)
 {
     base.SendTo(pipeline);
     pipeline.BeginGeography(SpatialType.Point);
     if (!this.IsEmpty)
     {
         pipeline.BeginFigure(new GeographyPosition(this.latitude, this.longitude, this.z, this.m));
         pipeline.EndFigure();
     }
     pipeline.EndGeography();
 }
 public TypeWashedToGeographyLongLatPipeline(SpatialPipeline output)
 {
     this.output = (GeographyPipeline) output;
 }
 public override void SendTo(GeographyPipeline pipeline)
 {
     base.SendTo(pipeline);
     pipeline.BeginGeography(SpatialType.FullGlobe);
     pipeline.EndGeography();
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="output">The pipeline to redirect the calls to</param>
 public TypeWashedToGeographyLatLongPipeline(SpatialPipeline output)
 {
     this.output = output;
 }
Exemple #10
0
 public SpatialBuilder(GeographyPipeline geographyInput, GeometryPipeline geometryInput, IGeographyProvider geographyOutput, IGeometryProvider geometryOutput) : base(geographyInput, geometryInput)
 {
     this.geographyOutput = geographyOutput;
     this.geometryOutput = geometryOutput;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SpatialPipeline"/> class.
 /// </summary>
 /// <param name="geographyPipeline">The geography chain.</param>
 /// <param name="geometryPipeline">The geometry chain.</param>
 public SpatialPipeline(GeographyPipeline geographyPipeline, GeometryPipeline geometryPipeline)
 {
     this.geographyPipeline = geographyPipeline;
     this.geometryPipeline = geometryPipeline;
     this.startingLink = this;
 }
Exemple #12
0
 /// <summary>
 /// Sends the current spatial object to the given pipeline
 /// </summary>
 /// <param name="chain">The spatial pipeline</param>
 public virtual void SendTo(GeographyPipeline chain)
 {
     Util.CheckArgumentNull(chain, "chain");
     chain.SetCoordinateSystem(this.coordinateSystem);
 }
Exemple #13
0
 public ForwardingSegment(System.Spatial.GeographyPipeline currentGeography, System.Spatial.GeometryPipeline currentGeometry) : this(new SpatialPipeline(currentGeography, currentGeometry))
 {
 }
Exemple #14
0
 /// <summary> Initializes a new instance of the <see cref="T:System.Spatial.SpatialPipeline" /> class. </summary>
 /// <param name="geographyPipeline">The geography chain.</param>
 /// <param name="geometryPipeline">The geometry chain.</param>
 public SpatialPipeline(GeographyPipeline geographyPipeline, GeometryPipeline geometryPipeline)
 {
     this.geographyPipeline = geographyPipeline;
     this.geometryPipeline  = geometryPipeline;
     this.startingLink      = this;
 }
 public SystemSpatialGeographySink(GeographyPipeline targetPipeline)
 {
     this.pipeline = targetPipeline;
 }