public class MonotoneChainOverlapAction extends Object
| Modifier and Type | Field and Description |
|---|---|
protected LineSegment |
overlapSeg1
|
protected LineSegment |
overlapSeg2
|
| Constructor and Description |
|---|
MonotoneChainOverlapAction()
|
| Modifier and Type | Method and Description |
|---|---|
void |
overlap(LineSegment
This is a convenience function which can be overridden to obtain the actual line segments which overlap
|
void |
overlap(MonotoneChain
This function can be overridden if the original chains are needed
|
protected LineSegmentoverlapSeg1
protected LineSegmentoverlapSeg2
public void overlap(MonotoneChainmc1, int start1, MonotoneChain mc2, int start2)
start1 - the index of the start of the overlapping segment from mc1
start2 - the index of the start of the overlapping segment from mc2
public void overlap(LineSegmentseg1, LineSegment seg2)
seg1 -
seg2 -