#include <MonotoneChainOverlapAction.h>
Inherited by geos::noding::MCIndexNoder::SegmentOverlapAction, and geos::noding::MCIndexSegmentSetMutualIntersector::SegmentOverlapAction.
Public Member Functions | |
virtual void | overlap (MonotoneChain &mc1, std::size_t start1, MonotoneChain &mc2, std::size_t start2) |
virtual void | overlap (const geom::LineSegment &, const geom::LineSegment &) |
Public Attributes | |
geom::Envelope | tempEnv1 |
geom::Envelope | tempEnv2 |
Protected Attributes | |
geom::LineSegment | overlapSeg1 |
geom::LineSegment | overlapSeg2 |
The action for the internal iterator for performing overlap queries on a MonotoneChain
virtual void geos::index::chain::MonotoneChainOverlapAction::overlap | ( | MonotoneChain & | mc1, |
std::size_t | start1, | ||
MonotoneChain & | mc2, | ||
std::size_t | start2 | ||
) | [virtual] |
This function can be overridden if the original chains are needed
start1 | the index of the start of the overlapping segment from mc1 |
start2 | the index of the start of the overlapping segment from mc2 |
virtual void geos::index::chain::MonotoneChainOverlapAction::overlap | ( | const geom::LineSegment & | , |
const geom::LineSegment & | |||
) | [inline, virtual] |
This is a convenience function which can be overridden to obtain the actual line segments which overlap
seg1 | |
seg2 |