Example #1
0
 ///<summary>
 ///  Performs an operation with or on this Geometry and it's children.
 ///</summary>
 ///<param name="filter">The filter to apply to this Geometry (and it's children, if it is a
 ///GeometryCollection).</param>
 public override void Apply(IGeometryFilter filter)
 {
     if (filter == null)
     {
         throw new ArgumentNullException("filter");
     }
     filter.Filter(this);
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(IGeometryFilter filter)
 {
     filter.Filter(this);
     for (int i = 0; i < _geometries.Length; i++)
     {
         _geometries[i].Apply(filter);
     }
 }
 ///<summary>
 ///  Performs an operation with or on this Geometry and it's children.
 ///</summary>
 ///<param name="filter">The filter to apply to this Geometry (and it's children, if it is a
 ///GeometryCollection).</param>
 public override void Apply(IGeometryFilter filter)
 {
     if (filter == null)
     {
         throw new ArgumentException("Filters cannot be null");
     }
     filter.Filter(this);
     foreach (Geometry geom in _geometries)
     {
         geom.Apply(filter);
     }
 }
Example #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(IGeometryFilter filter)
 {
     filter.Filter(this);
 }
Example #5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(IGeometryFilter filter) 
 {
     filter.Filter(this);
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="filter"></param>
 public override void Apply(IGeometryFilter filter)
 {
     filter.Filter(this);
     for (int i = 0; i < _geometries.Length; i++)
         _geometries[i].Apply(filter);
 }
		///<summary>
		///  Performs an operation with or on this Geometry and it's children.  
		///</summary>
		///<param name="filter">The filter to apply to this Geometry (and it's children, if it is a 
		///GeometryCollection).</param>
		public override void Apply(IGeometryFilter filter)
		{
			if(filter == null)
			{
				throw new ArgumentException("Filters cannot be null");
			}
			filter.Filter( this );
			foreach(Geometry geom in _geometries)
			{
				geom.Apply(filter);
			}
		}
Example #8
0
		///<summary>
		///  Performs an operation with or on this Geometry and it's children.  
		///</summary>
		///<param name="filter">The filter to apply to this Geometry (and it's children, if it is a 
		///GeometryCollection).</param>
		public override void Apply(IGeometryFilter filter)
		{
			if (filter==null)
			{
				throw new ArgumentNullException("filter");
			}
			filter.Filter( this );
		}