Class SimpleNoder
Nodes a set of ISegmentStrings by performing a brute-force comparison of every segment to every other one. This has n^2 performance, so is too slow for use on large numbers of segments.
Implements
Inherited Members
Namespace: NetTopologySuite.Noding
Assembly: NetTopologySuite.dll
Syntax
public class SimpleNoder : SinglePassNoder, INoder
Constructors
| Improve this Doc View SourceSimpleNoder()
Initializes a new instance of the SimpleNoder class.
Declaration
public SimpleNoder()
SimpleNoder(ISegmentIntersector)
Initializes a new instance of the SimpleNoder class.
Declaration
public SimpleNoder(ISegmentIntersector segInt)
Parameters
Type | Name | Description |
---|---|---|
ISegmentIntersector | segInt |
Methods
| Improve this Doc View SourceComputeNodes(IList<ISegmentString>)
Computes the noding for a collection of ISegmentStrings. Some Noders may add all these nodes to the input ISegmentStrings; others may only add some or none at all.
Declaration
public override void ComputeNodes(IList<ISegmentString> inputSegStrings)
Parameters
Type | Name | Description |
---|---|---|
IList<ISegmentString> | inputSegStrings |
Overrides
| Improve this Doc View SourceGetNodedSubstrings()
Returns a IList<T> of fully noded NodedSegmentStrings. The NodedSegmentStrings have the same context as their parent.
Declaration
public override IList<ISegmentString> GetNodedSubstrings()
Returns
Type | Description |
---|---|
IList<ISegmentString> |