[vtkusers] modification to vtkDelaunay2D for topographical models?
John Biddiscombe
john.biddiscombe at mirada-solutions.com
Mon Jul 28 11:00:48 EDT 2003
Jean-Do
> The solution could be either :
> - to modify vtkDelaunay2D filter such that this type of
> triangle (3 pts
> belonging to the same constrained line) does not exist,
Too much work and would result in nasty reworking of delaunay.
> - or to create a filter that would take as input the
> vtkDelaunay2D output
> and the input lines, and that would modify the mesh such that
> this type of
> triangles would be removed or redistributed.
yes. Easy solution. just loop over the (delaunay) triangles and then get the cells (of the constrained lines) used by the points and check they are not all the same. reject those you don't like.
JB
RPD : A drag drop front end for vtk
www.skippingmouse.co.uk
More information about the vtkusers
mailing list