我想判断一个线段实例和circle 是不是相交
here is my code. it doesn’ work
check(circle) {
.....
let line = L.polyline([
[lat, lng],
[destintionLonAndLat.lat, destintionLonAndLat.lng],
]).addTo(this.map);
// how to detemine wheather line was intersects with circle
});
},
show me some right solution