/// <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)); } }
/// <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); } }
/// <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); } }
/// <summary> /// /// </summary> /// <param name="filter"></param> public override void Apply(ICoordinateFilter filter) { if (IsEmpty) { return; } filter.Filter(Coordinate); }
///<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); } }
///<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); } }
///<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); } }
///<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); }
///<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 ); }
/// <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)); }
///<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); } }
/// <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); }
public override void Apply(ICoordinateFilter filter) => Linearize().Apply(filter);
/// <summary> /// /// </summary> /// <param name="filter"></param> public override void Apply(ICoordinateFilter filter) { if (IsEmpty) return; filter.Filter((Coordinate) Coordinate); }
/// <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);
/// <summary> /// /// </summary> /// <param name="filter"></param> public override void Apply(ICoordinateFilter filter) { for (int i = 0; i < _geometries.Length; i++) _geometries[i].Apply(filter); }
///<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); } }
///<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);
///<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 ); } }