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 classPreparedGeometryTeeOperation.PreparedGeometryOp
-
Constructor Summary
Constructors Constructor Description PreparedGeometryTeeOperation()PreparedGeometryTeeOperation(GeometryMethodOperation chainOp)Creates a new operation which chains to the givenGeometryMethodOperationfor non-intercepted methods.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcheckAllPrepOps(Geometry g1, Geometry g2)private voidcheckContains(PreparedGeometry pg, Geometry g2)private voidcheckContainsProperly(PreparedGeometry pg, Geometry g2)private voidcheckCovers(PreparedGeometry pg, Geometry g2)private voidcheckIntersects(PreparedGeometry pg, Geometry g2)private static booleancontainsProperly(Geometry g1, Geometry g2)protected voidrunTeeOp(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 givenGeometryMethodOperationfor 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:
runTeeOpin 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)
-
-