I'm finding how to find intersection point between circle and line(2 points) using Mapbox(Turf).
Turfjs provides "intersect" function but Turf in java doesn't provide that function.
I wonder how to calculate intersection point(longitude and latitude).
My code below:
public void circleIntersectionPointTest() {
Point circleCenter = Point.fromLngLat(1.0, 1.0);
double circleRadius = 35; //nautical mile
Polygon circle = TurfTransformation.circle(circleCenter, circleRadius, TurfConstants.UNIT_NAUTICAL_MILES);
Point innerPoint = Point.fromLngLat(1.0, 0.5);
Point outerPoint = Point.fromLngLat(2.0, 1.5);
//how to find between circle and line with innerPoint and outerPoint
Point intersectionPoint;
}