| java.lang.Object com.vividsolutions.jump.qa.diff.BufferGeometryMatcher
BufferGeometryMatcher | public class BufferGeometryMatcher implements DiffGeometryMatcher(Code) | | Matches geometries based on whether each Geometry is contained in the
other's buffer. This is equivalent to each geometry being entirely
within the distance tolerance of the other.
|
Method Summary | |
public Geometry | getQueryGeometry() | public static boolean | isMatch(Geometry g1, Geometry g2, double tolerance) Computes whether two geometries match under
this similarity test.
This is not the most efficient way of
executing this predicate for multiple geometries. | public boolean | isMatch(Geometry geom) | public static double | maxOrthogonalDistance(Envelope env1, Envelope env2) | public void | setQueryGeometry(Geometry geom) |
ERROR_TOLERANCE | final public static double ERROR_TOLERANCE(Code) | | |
BufferGeometryMatcher | public BufferGeometryMatcher(double tolerance)(Code) | | |
getQueryGeometry | public Geometry getQueryGeometry()(Code) | | |
isMatch | public static boolean isMatch(Geometry g1, Geometry g2, double tolerance)(Code) | | Computes whether two geometries match under
this similarity test.
This is not the most efficient way of
executing this predicate for multiple geometries.
Parameters: g1 - a Geometry Parameters: g2 - a Geometry true if the geometries match under this comparison operation |
isMatch | public boolean isMatch(Geometry geom)(Code) | | |
maxOrthogonalDistance | public static double maxOrthogonalDistance(Envelope env1, Envelope env2)(Code) | | |
setQueryGeometry | public void setQueryGeometry(Geometry geom)(Code) | | |
|
|