Class MonotoneChainOverlapAction
The action for the internal iterator for performing overlap queries on a MonotoneChain.
Inheritance
MonotoneChainOverlapAction
Inherited Members
Namespace: NetTopologySuite.Index.Chain
Assembly: NetTopologySuite.dll
Syntax
public class MonotoneChainOverlapAction
Fields
| Edit this page View SourceoverlapSeg1
Declaration
protected LineSegment overlapSeg1
Field Value
| Type | Description |
|---|---|
| LineSegment |
overlapSeg2
Declaration
protected LineSegment overlapSeg2
Field Value
| Type | Description |
|---|---|
| LineSegment |
Methods
| Edit this page View SourceOverlap(LineSegment, LineSegment)
This is a convenience function which can be overridden to obtain the actual line segments which overlap.
Declaration
public virtual void Overlap(LineSegment seg1, LineSegment seg2)
Parameters
| Type | Name | Description |
|---|---|---|
| LineSegment | seg1 | |
| LineSegment | seg2 |
Overlap(MonotoneChain, int, MonotoneChain, int)
This function can be overridden if the original chains are needed.
Declaration
public virtual void Overlap(MonotoneChain mc1, int start1, MonotoneChain mc2, int start2)
Parameters
| Type | Name | Description |
|---|---|---|
| MonotoneChain | mc1 | |
| int | start1 | The index of the start of the overlapping segment from mc1. |
| MonotoneChain | mc2 | |
| int | start2 | The index of the start of the overlapping segment from mc2. |