Package org.locationtech.jts.index.chain
Class MonotoneChainOverlapAction
java.lang.Object
org.locationtech.jts.index.chain.MonotoneChainOverlapAction
- Direct Known Subclasses:
MCIndexNoder.SegmentOverlapAction
,MCIndexSegmentSetMutualIntersector.SegmentOverlapAction
The action for the internal iterator for performing
overlap queries on a MonotoneChain
- Version:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
overlap
(LineSegment seg1, LineSegment seg2) This is a convenience function which can be overridden to obtain the actual line segments which overlapvoid
overlap
(MonotoneChain mc1, int start1, MonotoneChain mc2, int start2) This function can be overridden if the original chains are needed
-
Constructor Details
-
MonotoneChainOverlapAction
public MonotoneChainOverlapAction()
-
-
Method Details
-
overlap
This function can be overridden if the original chains are needed- Parameters:
start1
- the index of the start of the overlapping segment from mc1start2
- the index of the start of the overlapping segment from mc2
-
overlap
This is a convenience function which can be overridden to obtain the actual line segments which overlap- Parameters:
seg1
-seg2
-
-