Class SinglePassNoder
Base class for INoders which make a single pass to find intersections. This allows using a custom ISegmentIntersector (which for instance may simply identify intersections, rather than insert them).
Implements
Inherited Members
Namespace: NetTopologySuite.Noding
Assembly: NetTopologySuite.dll
Syntax
public abstract class SinglePassNoder : INoder
Constructors
| Improve this Doc View SourceSinglePassNoder()
Initializes a new instance of the SinglePassNoder class.
Declaration
protected SinglePassNoder()
SinglePassNoder(ISegmentIntersector)
Initializes a new instance of the SinglePassNoder class.
Declaration
protected SinglePassNoder(ISegmentIntersector segInt)
Parameters
Type | Name | Description |
---|---|---|
ISegmentIntersector | segInt | The ISegmentIntersector to use. |
Properties
| Improve this Doc View SourceSegmentIntersector
Gets/sets the ISegmentIntersector to use with this noder. A ISegmentIntersector will normally add intersection nodes to the input segment strings, but it may not - it may simply record the presence of intersections. However, some INoders may require that intersections be added.
Declaration
public ISegmentIntersector SegmentIntersector { get; set; }
Property Value
Type | Description |
---|---|
ISegmentIntersector |
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 abstract void ComputeNodes(IList<ISegmentString> segStrings)
Parameters
Type | Name | Description |
---|---|---|
IList<ISegmentString> | segStrings |
GetNodedSubstrings()
Returns a IList<T> of fully noded ISegmentStrings. The ISegmentStrings have the same context as their parent.
Declaration
public abstract IList<ISegmentString> GetNodedSubstrings()
Returns
Type | Description |
---|---|
IList<ISegmentString> |