///<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); } }
/// <summary> /// /// </summary> /// <param name="filter"></param> public override void Apply(IGeometryFilter filter) { filter.Filter(this); }
/// <summary> /// Performs an operation with or on this <c>Geometry</c> and its /// subelement <c>Geometry</c>s (if any). /// Only GeometryCollections and subclasses /// have subelement Geometry's. /// </summary> /// <param name="filter"> /// The filter to apply to this <c>Geometry</c> (and /// its children, if it is a <c>GeometryCollection</c>). /// </param> public abstract void Apply(IGeometryFilter filter);
/// <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); }
public FilteredGeometryCollector WherePasses(IGeometryFilter filter) { Filters.Add(filter); return(this); }
///<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); } }
public override void Apply(IGeometryFilter filter) => Linearize().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 ArgumentNullException("filter"); } filter.Filter( this ); }
///<summary> /// Performs an operation with or on this Geometry and it's subelement Geometrys (if any). /// Only GeometryCollections and subclasses have subelement Geometrys. ///</summary> ///<param name="filter">The filter to apply to this Geometry (and it's children, if it is a ///GeometryCollection).</param> public abstract void Apply(IGeometryFilter filter);