RectangleIntersectsSegmentVisitor class

A visitor to test for intersection between the query rectangle and the line segments of the geometry.

@author Martin Davis

Inheritance

Constructors

RectangleIntersectsSegmentVisitor(Polygon rectangle)
Creates a visitor for checking rectangle intersection with segments

Properties

hashCode int
The hash code for this object.
no setterinherited
hasIntersection bool
getter/setter pair
p0 Coordinate
getter/setter pair
p1 Coordinate
getter/setter pair
rectEnv Envelope
getter/setter pair
rectIntersector RectangleLineIntersector
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyTo(Geometry geom) → void
inherited
checkIntersectionWithLineStrings(List lines) → void
checkIntersectionWithSegments(LineString testLine) → void
intersects() bool
Reports whether any segment intersection exists.
isDone() bool
Reports whether visiting components can be terminated. Once this method returns true, it must continue to return true on every subsequent call.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visit(Geometry geom) → void
override

Operators

operator ==(Object other) bool
The equality operator.
inherited