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