Closed bcoueraud87 closed 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.
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.
Underlying issue was the wrong dependency under windows (old version of poly2tri)
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:
pedestrianNetwork_Cpp.txt
loads invisdbg
but arrays with flattened coordinates (contained inpedestrian_network_connected_component_0.txt
) passed to JuPedSim give the problem above.preparePolygonForJPS
.visdbg
does.GeometryBuilder::Build
starts, and then time is lost in various CGAL calls, like (for example)CGAL::Surface_sweep
, etc.pedestrian_network_connected_component_0.txt pedestrianNetwork_Cpp.txt