NTS TopologySuite  1.13.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
NetTopologySuite.Triangulate.ConformingDelaunayTriangulationBuilder Class Reference

A utility class which creates Conforming Delaunay Trianglulations from collections of points and linear constraints, and extract the resulting triangulation edges or triangles as geometries. More...

Public Member Functions

void SetSites (IGeometry sites)
 Sets the sites (point or vertices) which will be triangulated. All vertices of the given geometry will be used as sites. The site vertices do not have to contain the constraint vertices as well; any site vertices which are identical to a constraint vertex will be removed from the site vertex set. More...
 
QuadEdgeSubdivision GetSubdivision ()
 Gets the QuadEdgeSubdivision which models the computed triangulation. More...
 
IMultiLineString GetEdges (IGeometryFactory geomFact)
 Gets the edges of the computed triangulation as a IMultiLineString. More...
 
IGeometryCollection GetTriangles (IGeometryFactory geomFact)
 Gets the faces of the computed triangulation as a IGeometryCollection of Polygon. More...
 

Properties

IGeometry Constraints [set]
 Sets the linear constraints to be conformed to. All linear components in the input will be used as constraints. The constraint vertices do not have to be disjoint from the site vertices. The constraints must not contain duplicate segments (up to orientation). More...
 
double Tolerance [get, set]
 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. More...
 

Detailed Description

A utility class which creates Conforming Delaunay Trianglulations from collections of points and linear constraints, and extract the resulting triangulation edges or triangles as geometries.

<author>Martin Davis</author>

Member Function Documentation

IMultiLineString NetTopologySuite.Triangulate.ConformingDelaunayTriangulationBuilder.GetEdges ( IGeometryFactory  geomFact)

Gets the edges of the computed triangulation as a IMultiLineString.

Parameters
geomFactThe geometry factory to use to create the output
Returns
the edges of the triangulation
QuadEdgeSubdivision NetTopologySuite.Triangulate.ConformingDelaunayTriangulationBuilder.GetSubdivision ( )

Gets the QuadEdgeSubdivision which models the computed triangulation.

Returns
The subdivision containing the triangulation
IGeometryCollection NetTopologySuite.Triangulate.ConformingDelaunayTriangulationBuilder.GetTriangles ( IGeometryFactory  geomFact)

Gets the faces of the computed triangulation as a IGeometryCollection of Polygon.

Parameters
geomFactthe geometry factory to use to create the output
Returns
the faces of the triangulation
void NetTopologySuite.Triangulate.ConformingDelaunayTriangulationBuilder.SetSites ( IGeometry  sites)

Sets the sites (point or vertices) which will be triangulated. All vertices of the given geometry will be used as sites. The site vertices do not have to contain the constraint vertices as well; any site vertices which are identical to a constraint vertex will be removed from the site vertex set.

The geometry from which the sites will be extracted.

Property Documentation

IGeometry NetTopologySuite.Triangulate.ConformingDelaunayTriangulationBuilder.Constraints
set

Sets the linear constraints to be conformed to. All linear components in the input will be used as constraints. The constraint vertices do not have to be disjoint from the site vertices. The constraints must not contain duplicate segments (up to orientation).

double NetTopologySuite.Triangulate.ConformingDelaunayTriangulationBuilder.Tolerance
getset

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.


The documentation for this class was generated from the following file: