[vtkusers] delaunay constrained tesselation issue

Sebastien MARAUX maraux at ondim.fr
Wed Jan 29 10:42:51 EST 2003


For people who will ask the same thing as me :

I would just say that everybody should clean polyData
before sending it to delaunay.

having identical points as start and end point is not enough 
for a polygon sent as constaint, points must have the same 
_ID_.

That was the source of my error.

Seb
  ----- Original Message ----- 
  From: Sebastien MARAUX 
  To: vtkusers 
  Sent: Wednesday, January 29, 2003 4:01 PM
  Subject: [vtkusers] delaunay constrained tesselation issue


  hello,
   
  As you can see with the attached gif file, 
  I meet problems doing a constrained
  tesselation with vtkDelaunay2D :

  inner polygons, whereas defined
  as CW , seems to be unclosed,
  ans it produces a face hole for each
  inner polygon.

  input data are a a vtkpolyData as input
  and also the same vtkpolyData
  as constraint.

  the vtkPolyData contains 1CCW big
  polygon closed (last point id = first
  point id) and 2 CW smaller polygons
  defining holes in the biggest one,
  closed as well as I can see.
  (3 VTK_POLYGONS type).

  Is there somebody here who could
  have an idea of what is happening ?

  Thank you in advance 

  Sebastien MARAUX

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030129/54d1e928/attachment.htm>


More information about the vtkusers mailing list