PedestrianDynamics / jupedsim

JuPedSim is an open source pedestrian dynamics simulator
http://jupedsim.org
Other
40 stars 28 forks source link

[SUMO-Integration] Delaunay triangulation doesn't finish #1088

Closed bcoueraud87 closed 1 year ago

bcoueraud87 commented 1 year ago

I can't load into JuPedSim the geometry that describes some large pedestrian network, as the Delaunay triangulation that takes place in CGAL doesn't finish.

Some context:

pedestrian_network_connected_component_0.txt pedestrianNetwork_Cpp.txt

Ozaq commented 1 year ago

@bcoueraud87 I cannot reproduce the issue you see. I converted the attached files (See attachment of this comment). pedestrianNetwork_Cpp.txt loads fine, pedestrian_network_connected_component_0.txt (corrected.txt) is not a simple polygon.

pedestrianNetwork_Cpp.txt

corrected.txt

bcoueraud87 commented 1 year ago

I uploaded two "corrected" files that wouldn't bring any confusion. The coordinates are now in the same order for both files. Note that the second one is volontarily missing the GEOMETRYCOLLECTION string at its beginning, and that for each polygon in the first one, the last point has been removed to make CGAL happy.

Ozaq commented 1 year ago

Underlying issue was the wrong dependency under windows (old version of poly2tri)