Menu

#24 trimeshinfo.cpp

v1.0_(example)
open
nobody
None
1
2014-07-07
2013-01-21
Anonymous
No

Hi,

I had to make some chances to \apps\trimeshinfo\trimeshinfo.cpp in order to get it to compile (Windows 7 and qt).

Furthermore, I found a bug in the compution of whether a mesh is a manifold or not.
line 786 should be:

mi.VManifold = tri::Clean<CMesh>::CountNonManifoldVertexFF(m)==0; // mesh is manifold if No non-manifold vertices
mi.FManifold = tri::Clean<CMesh>::CountNonManifoldEdgeFF(m)==0;  // AND if No non-manifold faces

attached is a modified version of trimeshinfo.cpp

Best wishes,

Holger

1 Attachments

Discussion

  • Anonymous

    Anonymous - 2014-03-11

    Thanks!

     
  • Fabio Ganovelli

    Fabio Ganovelli - 2014-07-07

    Hi Holger,
    thanks for the file.. a few things were not up to date with the library...
    cheers,
    Fabio

     

Anonymous
Anonymous

Add attachments
Cancel