Package org.locationtech.jtstest.geomop
Class PreparedGeometryTeeOperation
- java.lang.Object
-
- org.locationtech.jtstest.geomop.TeeGeometryOperation
-
- org.locationtech.jtstest.geomop.PreparedGeometryTeeOperation
-
- All Implemented Interfaces:
GeometryOperation
public class PreparedGeometryTeeOperation extends TeeGeometryOperation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
PreparedGeometryTeeOperation.PreparedGeometryOp
-
Constructor Summary
Constructors Constructor Description PreparedGeometryTeeOperation()
PreparedGeometryTeeOperation(GeometryMethodOperation chainOp)
Creates a new operation which chains to the givenGeometryMethodOperation
for non-intercepted methods.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
checkAllPrepOps(Geometry g1, Geometry g2)
private void
checkContains(PreparedGeometry pg, Geometry g2)
private void
checkContainsProperly(PreparedGeometry pg, Geometry g2)
private void
checkCovers(PreparedGeometry pg, Geometry g2)
private void
checkIntersects(PreparedGeometry pg, Geometry g2)
private static boolean
containsProperly(Geometry g1, Geometry g2)
protected void
runTeeOp(java.lang.String opName, Geometry geometry, java.lang.Object[] args)
-
Methods inherited from class org.locationtech.jtstest.geomop.TeeGeometryOperation
getReturnType, invoke
-
-
-
-
Constructor Detail
-
PreparedGeometryTeeOperation
public PreparedGeometryTeeOperation()
-
PreparedGeometryTeeOperation
public PreparedGeometryTeeOperation(GeometryMethodOperation chainOp)
Creates a new operation which chains to the givenGeometryMethodOperation
for non-intercepted methods.- Parameters:
chainOp
- the operation to chain to
-
-
Method Detail
-
runTeeOp
protected void runTeeOp(java.lang.String opName, Geometry geometry, java.lang.Object[] args)
- Specified by:
runTeeOp
in classTeeGeometryOperation
-
checkIntersects
private void checkIntersects(PreparedGeometry pg, Geometry g2)
-
checkContains
private void checkContains(PreparedGeometry pg, Geometry g2)
-
checkContainsProperly
private void checkContainsProperly(PreparedGeometry pg, Geometry g2)
-
checkCovers
private void checkCovers(PreparedGeometry pg, Geometry g2)
-
-