Interface ISegmentIntersector
Processes possible intersections detected by a INoder.
Namespace: NetTopologySuite .Noding
Assembly: NetTopologySuite.dll
Syntax
public interface ISegmentIntersector
Remarks
The ISegment
This class may be used either to find all intersections, or
to detect the presence of an intersection. In the latter case,
Noders may choose to short-circuit their computation by calling the
Is
This class is an example of the Strategy pattern.
This class may be used either to find all intersections, or
to detect the presence of an intersection. In the latter case,
Noders may choose to short-circuit their computation by calling the
Is
Properties
| Edit this page View SourceIsDone
Reports whether the client of this class needs to continue testing all intersections in an arrangement.
Declaration
bool IsDone { get; }
Property Value
Type | Description |
---|---|
bool | if there is no need to continue testing segments |
Methods
| Edit this page View SourceProcessIntersections(ISegmentString, int, ISegmentString, int)
This method is called by clients
of the ISegment
Declaration
void ProcessIntersections(ISegmentString e0, int segIndex0, ISegmentString e1, int segIndex1)
Parameters
Type | Name | Description |
---|---|---|
ISegment |
e0 | |
int | segIndex0 | |
ISegment |
e1 | |
int | segIndex1 |