myriambn / geodesic

Automatically exported from code.google.com/p/geodesic
0 stars 0 forks source link

The mesh file flat_triangular_mesh_produces: core dumped #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile example0.cpp with:
g++ -Wall example0.cpp -o test
on Ubuntu 14.04 LTS
Intel® Core™ i5-4200M CPU @ 2.50GHz × 4 
64-bit
2. Try:
./test flat_triangular_mesh.txt 35
3. Get Error:
mesh has 121 vertices, 200 faces, 320 edges
40 edges are boundary edges
shortest/longest edges are 0.2/0.282843 = 0.707107
enclosing XYZ box: X[1.5,3.5] Y[-1,1] Z[0,0]
approximate diameter of the mesh is 2.82843
min/max face angles are 45/90 degrees

test: geodesic_algorithm_exact.h:1165: void 
geodesic::GeodesicAlgorithmExact::construct_propagated_intervals(bool, 
geodesic::edge_pointer, geodesic::face_pointer, geodesic::IntervalWithStop*, 
unsigned int&, geodesic::interval_pointer): Assertion `p->start() < p->stop()' 
failed.
Aborted (core dumped)

What is the expected output? What do you see instead?

Expectet is that the shortest distance of the 35. vertex to all other vertices 
is printed.

What version of the product are you using? On what operating system?
 See above.

Please provide any additional information below.
 I guess the flat mesh is maybe not a mesh? Maybe another set of triangles (corrupted mesh)?

The other mesh (hedgehog.txt) works fine.

Original issue reported on code.google.com by web...@t-online.de on 1 Jun 2015 at 1:11

GoogleCodeExporter commented 8 years ago
And not to forget, i used the bugfix for the segmentation fault on Ubuntu!
(Issue 3)

Sorry i don't know how to modify the original post.

Original comment by web...@t-online.de on 1 Jun 2015 at 1:15