Search Results for

    Show / Hide Table of Contents

    Class Extracter<T>

    Class to extract single instance geometries of T

    Inheritance
    object
    Extracter<T>
    Implements
    IGeometryFilter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Geometries.Utilities
    Assembly: NetTopologySuite.dll
    Syntax
    public sealed class Extracter<T> : IGeometryFilter where T : Geometry
    Type Parameters
    Name Description
    T

    The type of the geometries to extract

    Methods

    | Edit this page View Source

    Filter(Geometry)

    Adds geom to the list when it is a T-geometry.

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

    GetItems(Geometry)

    Extracts the T-geometry elements from a single Geometry and adds them to the provided IList<T>.

    Declaration
    public static IList<T> GetItems(Geometry geom)
    Parameters
    Type Name Description
    Geometry geom

    The geometry from which to extract

    Returns
    Type Description
    IList<T>

    A list of T-geometry elements in geom

    | Edit this page View Source

    GetItems(Geometry, IList<T>)

    Extracts the T-geometry elements from a single Geometry and adds them to the provided IList<T>.

    Declaration
    public static IList<T> GetItems(Geometry geom, IList<T> comps)
    Parameters
    Type Name Description
    Geometry geom

    The geometry from which to extract

    IList<T> comps

    The list to add the extracted elements to

    Returns
    Type Description
    IList<T>

    comps, extended by T-geometries of geom

    Implements

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