Search Results for

    Show / Hide Table of Contents

    Class CoordinateFilter

    An implementation of ICoordinateFilter that delegates the filter action to a provided method.

    Inheritance
    object
    CoordinateFilter
    Implements
    ICoordinateFilter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Geometries
    Assembly: NetTopologySuite.dll
    Syntax
    public class CoordinateFilter : ICoordinateFilter

    Constructors

    | Edit this page View Source

    CoordinateFilter(Action<Coordinate>)

    Creates an instance of this class providing the action to perform on any coordinate.

    Declaration
    public CoordinateFilter(Action<Coordinate> coordFilterAction)
    Parameters
    Type Name Description
    Action<Coordinate> coordFilterAction

    The action

    Exceptions
    Type Condition
    ArgumentNullException

    thrown if coordFilterAction is null.

    Methods

    | Edit this page View Source

    Filter(Coordinate)

    Performs an operation with the provided coord. Note that there is no guarantee that the input coordinate is the actual object stored in the source geometry, so changes to the coordinate object may not be persistent.

    Declaration
    public void Filter(Coordinate coord)
    Parameters
    Type Name Description
    Coordinate coord

    A Coordinate to which the filter is applied.

    Implements

    ICoordinateFilter
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX