Search Results for

    Show / Hide Table of Contents

    Class DelaunayTriangulationBuilder

    A utility class which creates Delaunay Triangulations from collections of points and extract the resulting triangulation edges or triangles as geometries.

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

    Properties

    | Edit this page View Source

    Tolerance

    Sets the snapping tolerance which will be used to improved the robustness of the triangulation computation. A tolerance of 0.0 specifies that no snapping will take place.

    Declaration
    public double Tolerance { set; }
    Property Value
    Type Description
    double

    Methods

    | Edit this page View Source

    Envelope(ICollection<Coordinate>)

    Computes the Envelope(ICollection<Coordinate>) of a collection of Coordinates.

    Declaration
    public static Envelope Envelope(ICollection<Coordinate> coords)
    Parameters
    Type Name Description
    ICollection<Coordinate> coords

    a List of Coordinates

    Returns
    Type Description
    Envelope

    the envelope of the set of coordinates

    | Edit this page View Source

    ExtractUniqueCoordinates(Geometry)

    Extracts the unique Coordinates from the given Geometry.

    Declaration
    public static CoordinateList ExtractUniqueCoordinates(Geometry geom)
    Parameters
    Type Name Description
    Geometry geom

    the geometry to extract from

    Returns
    Type Description
    CoordinateList

    a List of the unique Coordinates

    | Edit this page View Source

    GetEdges(GeometryFactory)

    Gets the edges of the computed triangulation as a MultiLineString.

    Declaration
    public MultiLineString GetEdges(GeometryFactory geomFact)
    Parameters
    Type Name Description
    GeometryFactory geomFact

    the geometry factory to use to create the output

    Returns
    Type Description
    MultiLineString

    the edges of the triangulation

    | Edit this page View Source

    GetSubdivision()

    Gets the QuadEdgeSubdivision which models the computed triangulation.

    Declaration
    public QuadEdgeSubdivision GetSubdivision()
    Returns
    Type Description
    QuadEdgeSubdivision

    the subdivision containing the triangulation

    | Edit this page View Source

    GetTriangles(GeometryFactory)

    Gets the faces of the computed triangulation as a GeometryCollection of NetTopologySuite.Triangulate.Polygon.

    Declaration
    public GeometryCollection GetTriangles(GeometryFactory geomFact)
    Parameters
    Type Name Description
    GeometryFactory geomFact

    the geometry factory to use to create the output

    Returns
    Type Description
    GeometryCollection

    the faces of the triangulation

    | Edit this page View Source

    SetSites(Geometry)

    Sets the sites (vertices) which will be triangulated. All vertices of the given geometry will be used as sites.

    Declaration
    public void SetSites(Geometry geom)
    Parameters
    Type Name Description
    Geometry geom

    the geometry from which the sites will be extracted.

    | Edit this page View Source

    SetSites(ICollection<Coordinate>)

    Sets the sites (vertices) which will be triangulated from a collection of Coordinates.

    Declaration
    public void SetSites(ICollection<Coordinate> coords)
    Parameters
    Type Name Description
    ICollection<Coordinate> coords

    a collection of Coordinates.

    | Edit this page View Source

    ToVertices(ICollection<Coordinate>)

    Converts all Coordinates in a collection to Vertexes.

    Declaration
    public static IList<Vertex> ToVertices(ICollection<Coordinate> coords)
    Parameters
    Type Name Description
    ICollection<Coordinate> coords

    the coordinates to convert

    Returns
    Type Description
    IList<Vertex>

    a List of Vertex objects

    | Edit this page View Source

    Unique(Coordinate[])

    Declaration
    public static CoordinateList Unique(Coordinate[] coords)
    Parameters
    Type Name Description
    Coordinate[] coords
    Returns
    Type Description
    CoordinateList
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX