LETG / coastlinetracking

MIT License
0 stars 2 forks source link

GetDistance problème de multipoint #9

Open pierrejego opened 2 years ago

pierrejego commented 2 years ago

In getDistance method, we check intersect beetween Radial and Coastline. In current code it is supposed to be Point. In some case we have Multipoint which lead to a ClassCastException.

For the moment the ClassCastException has been catched and logged but somme addition research are to be made to understand how to handle this point correctly.

pierrejego commented 2 years ago

In case of multipoint get Centroid