public class MonotoneChainOverlapAction extends Object
Constructor and Description |
---|
MonotoneChainOverlapAction() |
Modifier and Type | Method and Description |
---|---|
void |
overlap(LineSegment seg1,
LineSegment seg2)
This is a convenience function which can be overridden to obtain the actual
line segments which overlap
|
void |
overlap(MonotoneChain mc1,
int start1,
MonotoneChain mc2,
int start2)
This function can be overridden if the original chains are needed
|
public void overlap(MonotoneChain mc1, int start1, MonotoneChain mc2, int start2)
start1
- the index of the start of the overlapping segment from mc1start2
- the index of the start of the overlapping segment from mc2public void overlap(LineSegment seg1, LineSegment seg2)
seg1
- seg2
- Copyright © 2022. All rights reserved.