Skip to content

Commit 16a47d2

Browse files
committed
Javadoc
1 parent 4da0a02 commit 16a47d2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

modules/core/src/main/java/org/locationtech/jts/algorithm/distance/DiscreteHausdorffDistance.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ public static double distance(Geometry g0, Geometry g1)
8181

8282
/**
8383
* Computes the Hausdorff distance between two geometries,
84-
* densified by the given fraction.
84+
* with each segment densified by the given fraction.
8585
*
8686
* @param g0 the first input
8787
* @param g1 the second input
88-
* @param densifyFrac the densification fraction
88+
* @param densifyFrac the densification fraction (in [0, 1])
8989
* @return the Hausdorff distance between g0 and g1
9090
*/
9191
public static double distance(Geometry g0, Geometry g1, double densifyFrac)
@@ -113,11 +113,11 @@ public static LineString distanceLine(Geometry g0, Geometry g1)
113113
/**
114114
* Computes a line containing points indicating
115115
* the Hausdorff distance between two geometries,
116-
* densified by the given fraction.
116+
* with each segment densified by the given fraction.
117117
*
118118
* @param g0 the first input
119119
* @param g1 the second input
120-
* @param densifyFrac the densification fraction
120+
* @param densifyFrac the densification fraction (in [0, 1])
121121
* @return a 2-point line indicating the distance
122122
*/
123123
public static LineString distanceLine(Geometry g0, Geometry g1, double densifyFrac)
@@ -143,11 +143,11 @@ public static double orientedDistance(Geometry g0, Geometry g1)
143143

144144
/**
145145
* Computes the oriented Hausdorff distance from one geometry to another,
146-
* densified by the given fraction.
146+
* with each segment densified by the given fraction.
147147
*
148148
* @param g0 the first input
149149
* @param g1 the second input
150-
* @param densifyFrac the densification fraction
150+
* @param densifyFrac the densification fraction (in [0, 1])
151151
* @return the oriented Hausdorff distance from g0 to g1
152152
*/
153153
public static double orientedDistance(Geometry g0, Geometry g1, double densifyFrac)
@@ -175,11 +175,11 @@ public static LineString orientedDistanceLine(Geometry g0, Geometry g1)
175175
/**
176176
* Computes a line containing points indicating
177177
* the computed oriented Hausdorff distance from one geometry to another,
178-
* densified by the given fraction.
178+
* with each segment densified by the given fraction.
179179
*
180180
* @param g0 the first input
181181
* @param g1 the second input
182-
* @param densifyFrac the densification fraction
182+
* @param densifyFrac the densification fraction (in [0, 1])
183183
* @return a 2-point line indicating the distance
184184
*/
185185
public static LineString orientedDistanceLine(Geometry g0, Geometry g1, double densifyFrac)

0 commit comments

Comments
 (0)