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
| Improve this Doc View SourceoverlapSeg1
Declaration
protected LineSegment overlapSeg1
Field Value
Type | Description |
---|---|
LineSegment |
overlapSeg2
Declaration
protected LineSegment overlapSeg2
Field Value
Type | Description |
---|---|
LineSegment |
Methods
| Improve this Doc 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, Int32, MonotoneChain, Int32)
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 | |
Int32 | start1 | The index of the start of the overlapping segment from mc1. |
MonotoneChain | mc2 | |
Int32 | start2 | The index of the start of the overlapping segment from mc2. |