Skip to content

Commit

Permalink
Remove JvmOverloads annotation on circle function
Browse files Browse the repository at this point in the history
  • Loading branch information
elcolto committed May 15, 2024
1 parent 7e5d9cc commit f31687b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import io.github.dellisd.spatialk.geojson.LineString
import io.github.dellisd.spatialk.geojson.Point
import io.github.dellisd.spatialk.geojson.Polygon
import io.github.dellisd.spatialk.geojson.Position
import kotlin.jvm.JvmOverloads

/**
* Takes a [LineString] and returns a curved version by applying a Bezier spline algorithm.
Expand Down Expand Up @@ -147,7 +146,6 @@ public fun bezierSpline(coords: List<Position>, duration: Int = 10_000, sharpnes
* @param steps number of steps, must be at least four. Default is 64
* @param units unit of [radius], default is [Units.Kilometers]
*/
@JvmOverloads
@ExperimentalTurfApi
public fun circle(center: Point, radius: Double, steps: Int = 64, units: Units = Units.Kilometers): Polygon {
require(steps >= 4) { "circle needs to have four or more coordinates." }
Expand Down

0 comments on commit f31687b

Please sign in to comment.