Table of Contents

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

LineSegment

overlapSeg2

protected LineSegment overlapSeg2

Field Value

LineSegment

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

seg1 LineSegment
seg2 LineSegment

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

mc1 MonotoneChain
start1 int

The index of the start of the overlapping segment from mc1.

mc2 MonotoneChain
start2 int

The index of the start of the overlapping segment from mc2.