Search Results for

    Show / Hide Table of Contents

    Class GeometryNoder

    Nodes the linework in a list of Geometrys using Snap-Rounding to a given PrecisionModel.

    The input coordinates do not need to be rounded to the precision model. All output coordinates are rounded to the precision model.

    This class does not dissolve the output linework, so there may be duplicate linestrings in the output. Subsequent processing (e.g. polygonization) may require the linework to be unique. Using UnaryUnion is one way to do this (although this is an inefficient approach).

    Inheritance
    object
    GeometryNoder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Noding.Snapround
    Assembly: NetTopologySuite.dll
    Syntax
    public class GeometryNoder

    Constructors

    | Edit this page View Source

    GeometryNoder(PrecisionModel)

    Creates a new noder which snap-rounds to a grid specified by the given PrecisionModel

    Declaration
    public GeometryNoder(PrecisionModel pm)
    Parameters
    Type Name Description
    PrecisionModel pm

    The precision model for the grid to snap-round to.

    Properties

    | Edit this page View Source

    IsValidityChecked

    Gets or sets whether noding validity is checked after noding is performed.

    Declaration
    public bool IsValidityChecked { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Node(IEnumerable<Geometry>)

    Nodes the linework of a set of Geometrys using SnapRounding.

    Declaration
    public ReadOnlyCollection<LineString> Node(IEnumerable<Geometry> geoms)
    Parameters
    Type Name Description
    IEnumerable<Geometry> geoms

    A collection of Geometrys of any type

    Returns
    Type Description
    ReadOnlyCollection<LineString>

    A list of LineStrings representing the noded linework of the input

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