public class AreaSimilarityMeasure extends java.lang.Object implements SimilarityMeasure
Geometry
s
using the area of intersection between the geometries.
The measure is normalized to lie in the range [0, 1].
Higher measures indicate a great degree of similarity.
NOTE: Currently experimental and incomplete.
Constructor and Description |
---|
AreaSimilarityMeasure() |
Modifier and Type | Method and Description |
---|---|
double |
measure(Geometry g1,
Geometry g2) |
public double measure(Geometry g1, Geometry g2)
measure
in interface SimilarityMeasure