Skip to content

Commit 8ed2d11

Browse files
author
Langston Smith
authored
Adjusting javadoc info about Turf circle methods (#1192)
1 parent 9c8e265 commit 8ed2d11

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

services-turf/src/main/java/com/mapbox/turf/TurfTransformation.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ public static Polygon circle(@NonNull Point center, double radius) {
3838
}
3939

4040
/**
41-
* Takes a {@link Point} and calculates the circle polygon given a radius in degrees, radians,
42-
* miles, or kilometers; and steps for precision. This uses the {@link #DEFAULT_STEPS}.
41+
* Takes a {@link Point} and calculates the circle polygon given a radius in the
42+
* provided {@link TurfConstants.TurfUnitCriteria}; and steps for precision. This
43+
* method uses the {@link #DEFAULT_STEPS}.
4344
*
4445
* @param center a {@link Point} which the circle will center around
4546
* @param radius the radius of the circle
@@ -53,8 +54,8 @@ public static Polygon circle(@NonNull Point center, double radius,
5354
}
5455

5556
/**
56-
* Takes a {@link Point} and calculates the circle polygon given a radius in degrees, radians,
57-
* miles, or kilometers; and steps for precision.
57+
* Takes a {@link Point} and calculates the circle polygon given a radius in the
58+
* provided {@link TurfConstants.TurfUnitCriteria}; and steps for precision.
5859
*
5960
* @param center a {@link Point} which the circle will center around
6061
* @param radius the radius of the circle

0 commit comments

Comments
 (0)