Search Results for

    Show / Hide Table of Contents

    Class PolygonalExtracter

    .

    Inheritance
    object
    PolygonalExtracter
    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 static class PolygonalExtracter

    Methods

    | Edit this page View Source

    GetPolygonals<TCollection>(Geometry)

    Extracts the Polygon and MultiPolygon elements from a Geometry and returns them in a list.

    Declaration
    public static TCollection GetPolygonals<TCollection>(this Geometry geom) where TCollection : ICollection<Geometry>, new()
    Parameters
    Type Name Description
    Geometry geom

    The geometry from which to extract

    Returns
    Type Description
    TCollection
    Type Parameters
    Name Description
    TCollection
    | Edit this page View Source

    GetPolygonals<TCollection>(Geometry, TCollection)

    Extracts the Polygon and MultiPolygon elements from a Geometry and adds them to the provided list.

    Declaration
    public static TCollection GetPolygonals<TCollection>(this 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
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX