public class PreparedFilterGeometry extends Object implements FilterGeometry
FilterGeometry implementation for prepared geometries.| Constructor and Description |
|---|
PreparedFilterGeometry() |
PreparedFilterGeometry(org.locationtech.jts.geom.prep.PreparedGeometry geometry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(FilterGeometry other)
Check to see if this geometry contains the provided geometry.
|
boolean |
crosses(FilterGeometry other)
Check to see if this geometry crosses the provided geometry.
|
boolean |
disjoint(FilterGeometry other)
Check to see if this geometry is disjoint from the provided geometry.
|
void |
fromBinary(byte[] bytes) |
org.locationtech.jts.geom.Geometry |
getGeometry() |
boolean |
intersects(FilterGeometry other)
Check to see if this geometry intersects the provided geometry.
|
boolean |
isEqualTo(FilterGeometry other)
Check to see if this geometry is topologically equal to the provided geometry.
|
boolean |
overlaps(FilterGeometry other)
Check to see if this geometry overlaps the provided geometry.
|
byte[] |
toBinary() |
boolean |
touches(FilterGeometry other)
Check to see if this geometry touches the provided geometry.
|
boolean |
within(FilterGeometry other)
Check to see if this geometry is within the provided geometry.
|
public PreparedFilterGeometry()
public PreparedFilterGeometry(org.locationtech.jts.geom.prep.PreparedGeometry geometry)
public org.locationtech.jts.geom.Geometry getGeometry()
getGeometry in interface FilterGeometrypublic boolean intersects(FilterGeometry other)
FilterGeometryintersects in interface FilterGeometryother - the geometry to test againsttrue if the geometries intersectpublic boolean disjoint(FilterGeometry other)
FilterGeometrydisjoint in interface FilterGeometryother - the geometry to test againsttrue if the geometries are disjointpublic boolean crosses(FilterGeometry other)
FilterGeometrycrosses in interface FilterGeometryother - the geometry to test againsttrue if this geometry crosses the provided geometrypublic boolean overlaps(FilterGeometry other)
FilterGeometryoverlaps in interface FilterGeometryother - the geometry to test againsttrue if the geometries overlappublic boolean touches(FilterGeometry other)
FilterGeometrytouches in interface FilterGeometryother - the geometry to test againsttrue if the geometries touchpublic boolean within(FilterGeometry other)
FilterGeometrywithin in interface FilterGeometryother - the geomtery to test againsttrue if this geometry is within the provided geometrypublic boolean contains(FilterGeometry other)
FilterGeometrycontains in interface FilterGeometryother - the geomtery to test againsttrue if this geometry contains the provided geometrypublic boolean isEqualTo(FilterGeometry other)
FilterGeometryisEqualTo in interface FilterGeometryother - the geomtery to test againsttrue if this geometry is topologically equal to the provided geometrypublic byte[] toBinary()
toBinary in interface Persistablepublic void fromBinary(byte[] bytes)
fromBinary in interface PersistableCopyright © 2013–2021. All rights reserved.