Package org.locationtech.jts.geom.prep
Class PreparedLineString
- java.lang.Object
-
- org.locationtech.jts.geom.prep.BasicPreparedGeometry
-
- org.locationtech.jts.geom.prep.PreparedLineString
-
- All Implemented Interfaces:
PreparedGeometry
public class PreparedLineString extends BasicPreparedGeometry
A prepared version forLineal
geometries.Instances of this class are thread-safe.
-
-
Field Summary
Fields Modifier and Type Field Description private FastSegmentSetIntersectionFinder
segIntFinder
-
Constructor Summary
Constructors Constructor Description PreparedLineString(Lineal line)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FastSegmentSetIntersectionFinder
getIntersectionFinder()
boolean
intersects(Geometry g)
Default implementation.-
Methods inherited from class org.locationtech.jts.geom.prep.BasicPreparedGeometry
contains, containsProperly, coveredBy, covers, crosses, disjoint, envelopeCovers, envelopesIntersect, getGeometry, getRepresentativePoints, isAnyTargetComponentInTest, overlaps, toString, touches, within
-
-
-
-
Field Detail
-
segIntFinder
private FastSegmentSetIntersectionFinder segIntFinder
-
-
Constructor Detail
-
PreparedLineString
public PreparedLineString(Lineal line)
-
-
Method Detail
-
getIntersectionFinder
public FastSegmentSetIntersectionFinder getIntersectionFinder()
-
intersects
public boolean intersects(Geometry g)
Description copied from class:BasicPreparedGeometry
Default implementation.- Specified by:
intersects
in interfacePreparedGeometry
- Overrides:
intersects
in classBasicPreparedGeometry
- Parameters:
g
- the Geometry to test- Returns:
- true if this Geometry intersects the given Geometry
- See Also:
Geometry.intersects(Geometry)
-
-