Class InteriorIntersectionFinderAdder
Finds interior intersections between line segments in NodedSegmentStrings, and adds them as nodes using AddIntersection(LineIntersector, Int32, Int32, Int32). This class is used primarily for Snap-Rounding. For general-purpose noding, use IntersectionAdder.
Implements
Inherited Members
Namespace: NetTopologySuite.Noding
Assembly: NetTopologySuite.dll
Syntax
public class InteriorIntersectionFinderAdder : ISegmentIntersector
Constructors
| Improve this Doc View SourceInteriorIntersectionFinderAdder(LineIntersector)
Creates an intersection finder which finds all proper intersections.
Declaration
public InteriorIntersectionFinderAdder(LineIntersector li)
Parameters
Type | Name | Description |
---|---|---|
LineIntersector | li | The LineIntersector to use. |
Properties
| Improve this Doc View SourceInteriorIntersections
Declaration
public IList<Coordinate> InteriorIntersections { get; }
Property Value
Type | Description |
---|---|
IList<Coordinate> |
IsDone
Always process all intersections
Declaration
public bool IsDone { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceProcessIntersections(ISegmentString, Int32, ISegmentString, Int32)
This method is called by clients
of the ISegmentIntersector class to process
intersections for two segments of the ISegmentStrings being intersected.
Note that some clients (such as MonotoneChain
s) may optimize away
this call for segment pairs which they have determined do not intersect
(e.g. by an disjoint envelope test).
Declaration
public void ProcessIntersections(ISegmentString e0, int segIndex0, ISegmentString e1, int segIndex1)
Parameters
Type | Name | Description |
---|---|---|
ISegmentString | e0 | |
Int32 | segIndex0 | |
ISegmentString | e1 | |
Int32 | segIndex1 |