Table of Contents

Class PolygonBuilder

Namespace
NetTopologySuite.Operation.Overlay
Assembly
NetTopologySuite.dll

Forms Polygons out of a graph of {DirectedEdge}s. The edges to use are marked as being in the result Area.

public class PolygonBuilder
Inheritance
PolygonBuilder
Inherited Members

Constructors

PolygonBuilder(GeometryFactory)

public PolygonBuilder(GeometryFactory geometryFactory)

Parameters

geometryFactory GeometryFactory

Properties

Polygons

public IList<Geometry> Polygons { get; }

Property Value

IList<Geometry>

Methods

Add(PlanarGraph)

Add a complete graph. The graph is assumed to contain one or more polygons, possibly with holes.

public void Add(PlanarGraph graph)

Parameters

graph PlanarGraph

Add(IList<EdgeEnd>, IList<Node>)

Add a set of edges and nodes, which form a graph. The graph is assumed to contain one or more polygons, possibly with holes.

public void Add(IList<EdgeEnd> dirEdges, IList<Node> nodes)

Parameters

dirEdges IList<EdgeEnd>
nodes IList<Node>