GEOS: geos::operation::predicate::SegmentIntersectionTester Class Reference

- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# geos::operation::predicate::SegmentIntersectionTester Class Reference

Tests if any line segments in two sets of CoordinateSequences intersect. Optimized for small geometry size. More...

`#include <SegmentIntersectionTester.h>`

List of all members.

## Public Member Functions
bool | hasIntersectionWithLineStrings (const geom::CoordinateSequence &seq, const std::vector< const geom::LineString * > &lines)
bool | hasIntersection (const geom::CoordinateSequence &seq0, const geom::CoordinateSequence &seq1)

## Detailed Description

Tests if any line segments in two sets of CoordinateSequences intersect. Optimized for small geometry size.

Short-circuited to return as soon an intersection is found.

Last port: operation/predicate/SegmentIntersectionTester.java rev. 1.6 (JTS-1.7)

The documentation for this class was generated from the following file:

- SegmentIntersectionTester.h