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 forLinealgeometries.Instances of this class are thread-safe.
-
-
Field Summary
Fields Modifier and Type Field Description private FastSegmentSetIntersectionFindersegIntFinder
-
Constructor Summary
Constructors Constructor Description PreparedLineString(Lineal line)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FastSegmentSetIntersectionFindergetIntersectionFinder()booleanintersects(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:BasicPreparedGeometryDefault implementation.- Specified by:
intersectsin interfacePreparedGeometry- Overrides:
intersectsin classBasicPreparedGeometry- Parameters:
g- the Geometry to test- Returns:
- true if this Geometry intersects the given Geometry
- See Also:
Geometry.intersects(Geometry)
-
-