|
JTS Topology Suite version 1.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vividsolutions.jts.algorithm.match.AreaSimilarityMeasure
public class AreaSimilarityMeasure
Measures the degree of similarity between two Geometrys
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 Summary | |
|---|---|
AreaSimilarityMeasure()
|
|
| Method Summary | |
|---|---|
double |
measure(Geometry g1,
Geometry g2)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AreaSimilarityMeasure()
| Method Detail |
|---|
public double measure(Geometry g1,
Geometry g2)
measure in interface SimilarityMeasure
|
JTS Topology Suite version 1.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||