Subject: CGAL users discussion list
List archive
- From: "Fernando Cacciola" <>
- To: <>
- Subject: Re: [cgal-discuss] Question about mesh simplification
- Date: Mon, 3 Dec 2007 10:04:18 -0300
- Organization: Geometry Factory
Hi Pablo,
I'm trying some other solution here, I suspect that this model is alreadyRight, that's exactly the case here.
simple enough and no triangle can be removed somehow without changing the
shape....
I tested it and every edge in your example is "non-collapsable".
One way to notice this is via a visitor, as shown in the second example in the user manual.
In fact, if you use that example you can see how it reports that none of the 191316 edges can be collapsed due to topological constriants.
Furthermore, if you use the LindstromTurk policies with that example, you can see that more than 190000 edges cannot be collapsed due to cost computation constrians, which in this case means that any new vertex placement would incurr a very large error, so it discarded.
I need some topological structure where I can query for adjacent triangles
of a vertice / triangle or adjecent edges of a vertive / egde.. is there
anything like this in cgal.. (I think there is)..
any one can give-me an
example or a doc about some structure like this? I'm currently using a CGAL
Polyhedron to store my triangles...
You can query all adjacencies of a given element using the Polyhedron, but when you build a polyhedron you do the opposite: define those adjacencies rather than query them.
I did not investigate why none of the edges are non-collapsable, but from your question above: is this a real mesh or just a collection of isolated triangles? that is, are edges shared between triangles? If not, then you probem is how to build a proper mesh from the whatever input you have.
If that's the case, please top-post a question, with a proper subject, asking for that specifically, providing details of the input you have and what you know about the adjacencies of the triangles (if anything)
Btw: I couldn't use your viewer because it depends on a "osgViewer.dll" which I don't have.
HTH
Fernando Cacciola
GeometryFactory
- Re: [cgal-discuss] Question about mesh simplification, Fernando Cacciola, 12/03/2007
- parameterization of genus-3 mesh, Defeng WANG, 12/03/2007
- Re: [cgal-discuss] parameterization of genus-3 mesh, Laurent Saboret, 12/03/2007
- Re: [cgal-discuss] parameterization of genus-3 mesh, Defeng WANG, 12/03/2007
- Re: [cgal-discuss] parameterization of genus-3 mesh, Laurent Saboret, 12/05/2007
- Re: [cgal-discuss] parameterization of genus-3 mesh, Laurent Saboret, 12/05/2007
- Re: [cgal-discuss] parameterization of genus-3 mesh, Defeng WANG, 12/06/2007
- Re: [cgal-discuss] parameterization of genus-3 mesh, Laurent Rineau, 12/05/2007
- Re: [cgal-discuss] parameterization of genus-3 mesh, Laurent Saboret, 12/05/2007
- Re: [cgal-discuss] parameterization of genus-3 mesh, Laurent Saboret, 12/05/2007
- Re: [cgal-discuss] parameterization of genus-3 mesh, Laurent Saboret, 12/05/2007
- help - "FATAL ERROR: Input mesh is not a surface", Defeng WANG, 12/04/2007
- Re: [cgal-discuss] help - "FATAL ERROR: Input mesh is not a surface", Defeng WANG, 12/05/2007
- Re: [cgal-discuss] parameterization of genus-3 mesh, Defeng WANG, 12/03/2007
- Re: [cgal-discuss] parameterization of genus-3 mesh, Laurent Saboret, 12/03/2007
- parameterization of genus-3 mesh, Defeng WANG, 12/03/2007
Archive powered by MHonArc 2.6.16.