예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(ICoordinateFilter filter)
 {
     for (int i = 0; i < _points.Count; i++)
     {
         filter.Filter(_points.GetCoordinate(i));
     }
 }
예제 #2
0
 /// <summary>
 /// Applys a given ICoordinateFilter to this LineString
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(ICoordinateFilter filter)
 {
     foreach (Coordinate c in _points)
     {
         filter.Filter(c);
     }
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(ICoordinateFilter filter)
 {
     for (int i = 0; i < _geometries.Length; i++)
     {
         _geometries[i].Apply(filter);
     }
 }
예제 #4
0
 /// <inheritdoc cref="Geometry.Apply(ICoordinateFilter)"/>
 public override void Apply(ICoordinateFilter filter)
 {
     _shell.Apply(filter);
     for (int i = 0; i < _holes.Length; i++)
     {
         _holes[i].Apply(filter);
     }
 }
예제 #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(ICoordinateFilter filter)
 {
     if (IsEmpty)
     {
         return;
     }
     filter.Filter(Coordinate);
 }
예제 #6
0
 ///<summary>
 ///  Performs an operation with or on this Geometry's coordinates.
 ///</summary>
 ///<param name="filter">The filter to apply to this Geometry's coordinates.</param>
 public override void Apply(ICoordinateFilter filter)
 {
     if (filter == null)
     {
         throw new ArgumentNullException("filter");
     }
     foreach (Coordinate coord in _points)
     {
         filter.Filter(coord);
     }
 }
예제 #7
0
 ///<summary>
 ///  Performs an operation with or on this Geometry's coordinates.
 ///</summary>
 ///<param name="filter">The filter to apply to this Geometry's coordinates</param>
 public override void Apply(ICoordinateFilter filter)
 {
     if (filter == null)
     {
         throw new ArgumentException("Filters cannot be null");
     }
     foreach (Geometry geom in _geometries)
     {
         geom.Apply(filter);
     }
 }
예제 #8
0
 ///<summary>
 ///  Performs an operation with or on this Geometry's coordinates.
 ///</summary>
 ///<param name="filter">The filter to apply to this Geometry's coordinates.</param>
 public override void Apply(ICoordinateFilter filter)
 {
     if (filter == null)
     {
         throw new ArgumentNullException("filter");
     }
     _shell.Apply(filter);
     for (int i = 0; i < _holes.Length; i++)
     {
         _holes[i].Apply(filter);
     }
 }
예제 #9
0
 ///<summary>
 ///  Performs an operation with or on this Geometry's coordinates.
 ///</summary>
 ///<param name="filter">The filter to apply to this Geometry's coordinates</param>
 public override void Apply(ICoordinateFilter filter)
 {
     if (IsEmpty())
     {
         return;
     }
     if (filter == null)
     {
         throw new ArgumentNullException("filter");
     }
     filter.Filter(_coordinate);
 }
예제 #10
0
		///<summary>
		///  Performs an operation with or on this Geometry's coordinates.  
		///</summary>
		///<param name="filter">The filter to apply to this Geometry's coordinates</param>
		public override void Apply(ICoordinateFilter filter)
		{
			if ( IsEmpty() ) return;
			if (filter==null)
			{
				throw new ArgumentNullException("filter");
			}
			filter.Filter( _coordinate );
		}
예제 #11
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(ICoordinateFilter filter) 
 {
     for (int i = 0; i < points.Count; i++)
         filter.Filter(points.GetCoordinate(i));
 }
예제 #12
0
		///<summary>
		///  Performs an operation with or on this Geometry's coordinates.  
		///</summary>
		///<param name="filter">The filter to apply to this Geometry's coordinates.</param>
		public override void Apply(ICoordinateFilter filter)
		{
			if (filter==null)
			{
				throw new ArgumentNullException("filter");
			}
			_shell.Apply(filter);
			for(int i = 0; i < _holes.Length; i++)
			{
				_holes[i].Apply(filter);
			}
		}
예제 #13
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(ICoordinateFilter filter)
 {
     shell.Apply(filter);
     for (int i = 0; i < holes.Length; i++) 
         holes[i].Apply(filter);            
 }
예제 #14
0
 public override void Apply(ICoordinateFilter filter) => Linearize().Apply(filter);
예제 #15
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(ICoordinateFilter filter) 
 {
     if (IsEmpty) 
         return;             
     filter.Filter((Coordinate) Coordinate);
 }
예제 #16
0
 /// <summary>
 /// Performs an operation with or on this <c>Geometry</c>'s
 /// coordinates. If you are using this method to modify the point, be sure
 /// to call GeometryChanged() afterwards. Notice that you cannot use this
 /// method to
 /// modify this Geometry if its underlying CoordinateSequence's Get method
 /// returns a copy of the Coordinate, rather than the actual Coordinate stored
 /// (if it even stores Coordinates at all).
 /// </summary>
 /// <param name="filter">The filter to apply to this <c>Geometry</c>'s coordinates</param>
 public abstract void Apply(ICoordinateFilter filter);
예제 #17
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(ICoordinateFilter filter)
 {
     for (int i = 0; i < _geometries.Length; i++)
         _geometries[i].Apply(filter);
 }
예제 #18
0
		///<summary>
		///  Performs an operation with or on this Geometry's coordinates.  
		///</summary>
		///<param name="filter">The filter to apply to this Geometry's coordinates</param>
		public override void Apply(ICoordinateFilter filter)
		{
			if(filter == null)
			{
				throw new ArgumentException("Filters cannot be null");
			}
			foreach(Geometry geom in _geometries)
			{
				geom.Apply(filter);
			}
		}
예제 #19
0
		///<summary>
		///  Performs an operation with or on this Geometry's coordinates.  
		///</summary>
		///<param name="filter">The filter to apply to this Geometry's coordinates</param>
		public abstract void Apply(ICoordinateFilter filter);
예제 #20
0
 /// <summary>
 /// Applys a given ICoordinateFilter to this LineString
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(ICoordinateFilter filter)
 {
     foreach (Coordinate c in _points)
     {
         filter.Filter(c);
     }
 }
예제 #21
0
		///<summary>
		///  Performs an operation with or on this Geometry's coordinates.  
		///</summary>
		///<param name="filter">The filter to apply to this Geometry's coordinates.</param>
		public override void Apply(ICoordinateFilter filter)
		{
			if (filter==null)
			{
				throw new ArgumentNullException("filter");
			}
			foreach(Coordinate coord in _points)
			{
				filter.Filter( coord );
			}
		}