Search Results for

    Show / Hide Table of Contents

    Class PointExtracter

    Extracts all the 0-dimensional (Point) components from a Geometry.

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

    Constructors

    | Edit this page View Source

    PointExtracter(ICollection<Geometry>)

    Constructs a PointExtracterFilter with a list in which to store Points found.

    Declaration
    public PointExtracter(ICollection<Geometry> pts)
    Parameters
    Type Name Description
    ICollection<Geometry> pts

    Methods

    | Edit this page View Source

    Filter(Geometry)

    Declaration
    public void Filter(Geometry geom)
    Parameters
    Type Name Description
    Geometry geom
    | Edit this page View Source

    GetPoints(Geometry)

    Extracts the Point elements from a single Geometry and returns them in a IList<T>.

    Declaration
    public static ReadOnlyCollection<Geometry> GetPoints(Geometry geom)
    Parameters
    Type Name Description
    Geometry geom

    the geometry from which to extract

    Returns
    Type Description
    ReadOnlyCollection<Geometry>
    | Edit this page View Source

    GetPoints<TCollection>(Geometry, TCollection)

    Extracts the Point elements from a single Geometry and adds them to the provided ICollection<T>.

    Declaration
    public static TCollection GetPoints<TCollection>(Geometry geom, TCollection list) where TCollection : ICollection<Geometry>
    Parameters
    Type Name Description
    Geometry geom

    The geometry from which to extract

    TCollection list

    The list to add the extracted elements to

    Returns
    Type Description
    TCollection
    Type Parameters
    Name Description
    TCollection

    Implements

    IGeometryFilter

    See Also

    GeometryExtracter
    Extracter
    Extracter<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX