You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got a custom data model,which recording removed vertex,working vertex,removed face,working face.I want to create a surfacemesh according to the data model.
But I met several questions.
Vertexes has their ordered vertex indexes in the data model,which starting from 0 and increasing sequentially, so as faces.
I want to map the same ordered indexes for vertex and face in the surfacemesh which I create.
When add_face sequentially,current inserting face can not be inserted,for it has topology problem with some face inserted before,maybe overlaped or something else.So I got a null face.
I set set_recycle_garbage to false.And I use CGAL::Euler::remove_face to truly remove a new inserted face if this face is marked removed in the data model.But the CGAL::Euler::remove_face also removes related vertexes of the face which is not what I want.
Then if I will insert a face using the removed vertex , I also got a null face.
So I want to know how to recover the vertex removed by CGAL::Euler::remove_face?
Or could you tell me a better way to map my custom data model to a same surfacemesh ?
Environment
Operating system (Windows 64 bits):
Compiler:Visual Studio 2022 community
Release or debug mode:debug
Specific flags used (if any):
CGAL version:5.6
Boost version:1.79.0
Other libraries versions if used (Eigen, TBB, etc.):
The text was updated successfully, but these errors were encountered:
Hello @StromanStroman,
Is this still an open question or did you find an answer yourself?
I guess you didn't get an answer, because you did not make an effort to clearly express yourself. There is no typesetting, no backticks around function names, no self-contained example code. You make it an effort for people to just understand what the issue is.
I got a custom data model,which recording removed vertex,working vertex,removed face,working face.I want to create a surfacemesh according to the data model.
But I met several questions.
Vertexes has their ordered vertex indexes in the data model,which starting from 0 and increasing sequentially, so as faces.
I want to map the same ordered indexes for vertex and face in the surfacemesh which I create.
When add_face sequentially,current inserting face can not be inserted,for it has topology problem with some face inserted before,maybe overlaped or something else.So I got a null face.
I set set_recycle_garbage to false.And I use CGAL::Euler::remove_face to truly remove a new inserted face if this face is marked removed in the data model.But the CGAL::Euler::remove_face also removes related vertexes of the face which is not what I want.
Then if I will insert a face using the removed vertex , I also got a null face.
So I want to know how to recover the vertex removed by CGAL::Euler::remove_face?
Or could you tell me a better way to map my custom data model to a same surfacemesh ?
Environment
The text was updated successfully, but these errors were encountered: