[vtkusers] Re: cleaning an unstructured mesh
Dominik Szczerba
domi at vision.ee.ethz.ch
Mon Jan 7 16:59:08 EST 2008
My current strategy is: after snapping the points with vtkPointLocator 1)
reject all the cells referencing the same point id more than once 2) reject
duplicated cells by simply dropping them into an STL set<Triangle> with an
appropriate < operator. Seems to finally work but I would be happy to hear if
someone can find a hole in this thinking.
-- Dominik
On Monday 07 January 2008 22.19:43 Dominik Szczerba wrote:
> I have managed to snap nearby points using a point locator, but do not know
> how to remove the now fully degenerated/duplicate cells. Is it possible
using
> some high level function?
> -- Dominik
>
> On Monday 07 January 2008 18.52:25 Dominik Szczerba wrote:
> > Hi,
> > I have an unstructured mesh with some almost-degenerated elements. This is
> due
> > to several points very close to each other. I was wondering what would be
> the
> > best way (via some Point Locator or similar) to snap points separated by
> less
> > then threshold, but consistently merging the affected cells. Could someone
> > suggest a direction?
> > Thanks,
> > Dominik
> > --
> > Dominik Szczerba, Ph.D.
> > Computer Vision Lab CH-8092 Zurich
> > http://www.vision.ee.ethz.ch/~domi
> >
>
>
>
> --
> Dominik Szczerba, Ph.D.
> Computer Vision Lab CH-8092 Zurich
> http://www.vision.ee.ethz.ch/~domi
>
--
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080107/3377a2b4/attachment.pgp>
More information about the vtkusers
mailing list