[vtkusers] Delete overlayed polygones defined by same points
Dominik Szczerba
dominik at itis.ethz.ch
Tue Oct 28 16:23:40 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am not sure if CleanGrid family of VTK/PV filters will handle such cases.
A simplest thing I would try is to first re-orient all the elements such
that node ids are increasing in each cell. Then std::sort(), then
std::unique(), then re-orient for outward normals etc.
Dominik
Charles Monty Burns wrote:
> Hello,
>
> I used the CleanPolyDataFilter to remove some degenerate cells in my
> mesh. The result is, that some cells are defined by the same point with
> another order. For example:
>
> cell 0: [0, 1, 2]
> cell 1: [1, 2, 0]
>
> What filter could remove that overlays?
>
> Greetings
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
- --
Dominik Szczerba, Ph.D.
Computational Physics Group
Foundation for Research
on Information Technologies in Society
http://www.itis.ethz.ch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFJB3TM/EBMh9bUuzIRAtlCAJ9ARiJ8SDxT7ANPy5QaOa1VITIo4QCg01GW
6x/LfSfa5ALhESDcVsQvaFc=
=hpD8
-----END PGP SIGNATURE-----
More information about the vtkusers
mailing list