Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Mesh_estimation example doesn't work correctly

Subject: CGAL users discussion list

List archive

[cgal-discuss] Mesh_estimation example doesn't work correctly


Chronological Thread 
  • From: Clutterhead <>
  • To:
  • Subject: [cgal-discuss] Mesh_estimation example doesn't work correctly
  • Date: Thu, 16 May 2019 12:59:43 -0500 (CDT)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
  • Ironport-phdr: 9a23:B+LlYRAV0mRFtITcWkg8UyQJP3N1i/DPJgcQr6AfoPdwSPv+oMbcNUDSrc9gkEXOFd2Cra4d0qyP6/irADVcqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba5vIBmssAndqtUajYR/JqosxRbCv2dFdflRyW50P1yYggzy5t23/J5t8iRQv+wu+stdWqjkfKo2UKJVAi0+P286+MPkux/DTRCS5nQHSWUZjgBIAwne4x7kWJr6rzb3ufB82CmeOs32UKw0VDG/5KplVBPklCEKPCM//WrKiMJ/kbhbrQqvqRJ/3YDaY5ybO/Vica3SZt4aWWhMUtpNWyBdHo+wcY0CBPcBM+ZCqIn9okMDoAW6BQmxGOPv1iFHhmX23aIkyesuDBzN0QslH9IPs3Tbss/5NLwVUe+rzKnIyyvMb+lN1Dfy7YjHaBEhofWWUb1sdsrRzFAiGgXYhVuerozlOima1uULs2WD6epvT/mghHUjqw5vuDSg2sAsiozRio0JxVDL7yF5zJwyJd2iR052Z8OvHphItyyCKod7RscvT3tmtSs50LELup+2cDILxZkmwRPUduaJfJKS4h35UeacOTd4i2xheLK4nxuy90etxvf6Vsauy1lFtS5FncfWun8R0BzT79CLSvp7/ki/xTaCzx3f5+VALEwum6fWKIQtz70xm5YJsEnOHzf6mEDsg6+XckUk9PKo6+PiYrj+o5+cNox0hR/kPqQ1ncywH+Q4Mg4QUGiB4um827jj8lf4QLVOlPE5jq7ZsJXCKcQBuqG5GxNV0pok6xunEzim384XnX0eIF1YeRKHlJTmO0zVIPDjFvq/mFStkDJzx//cJLHhA5PNLmLCkLj7Z7p95VRcm0IPyoVU6JtQT70AO/nuQVTZtdrCDxZ/PRbn7fzgDYBW0p4CRW+VAqKQPOuGtF6L66Q0JOSMYoIPkDn4IvkhofXpiClqyhcmYaC10M5POziDFfN8LhDBOCu+spI6CW4P+zEGYqnvgVyGXyRUYi/rDa057zA/TomhCNWYH93/sPm6xC6+W6ZuSCVGB1SLSCq6cdnCXf4GYiafZMRml25dDOTze8oazRir8TTC5f9/NOONo38XsJvi0J5+4OiBzRw=

Hello,

I want to compute the principal curvatures and directions on meshes and have
therefore installed CGAL.
After installation i tried a few code examples (
https://doc.cgal.org/latest/Manual/tutorial_hello_world.html
<https://doc.cgal.org/latest/Manual/tutorial_hello_world.html> ) and they
all worked correctly.
Then I tried the Mesh_estimation example and after replacing
'Default_diagonalize_traits' with 'Eigen_diagonalize_traits' due to
deprecation the code compiled and ran.
I didn't change anything else but the code doesn't work as intended, even
with the example model of an ellipsoid the program outputs the message that
the model contains 0 vertices and 0 facets. I suspect that the error lies
within the ifstream:

209 PolyhedralSurf P;
210 std::ifstream stream(if_name.c_str());
211 stream >> P;

but I don't know how to correct it.
Does somebody have an idea or knows how to help me?
Thanks in advance



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/



Archive powered by MHonArc 2.6.18.

Top of Page