Class SnappingIntersectionAdder
Finds intersections between line segments which are being snapped, and adds them as nodes.
Implements
Inherited Members
Namespace: NetTopologySuite.Noding.Snap
Assembly: NetTopologySuite.dll
Syntax
public sealed class SnappingIntersectionAdder : ISegmentIntersector
Constructors
| Improve this Doc View SourceSnappingIntersectionAdder(Double, SnappingPointIndex)
Creates an intersector which finds all snapped intersections, and adds them as nodes.
Declaration
public SnappingIntersectionAdder(double snapTolerance, SnappingPointIndex snapPointIndex)
Parameters
Type | Name | Description |
---|---|---|
Double | snapTolerance | The snapping tolerance distance |
SnappingPointIndex | snapPointIndex | A snap index to use |
Properties
| Improve this Doc View SourceIsDone
Declaration
public bool IsDone { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
Always process all intersections
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 seg0, int segIndex0, ISegmentString seg1, int segIndex1)
Parameters
Type | Name | Description |
---|---|---|
ISegmentString | seg0 | |
Int32 | segIndex0 | |
ISegmentString | seg1 | |
Int32 | segIndex1 |