[vtkusers] delaunay 3D with very close points

Marie-Gabrielle Vallet mgv.research at gmail.com
Thu Oct 9 15:29:20 EDT 2008


Pamela,

You can try to scale your coordinates.
Get the bounding box of your points and define the linear transformation
x1=ax+b; y1=cy+d; z1=ez+f, a,b,c,d,e,f such that the bounding box becomes
the unit cube [0,1]x[0,1]x[0,1]. Apply the transformation to your points.
Then, mesh them with Delaunay3D. Finally, apply the inverse transfomation.

Marie-Gabrielle

> Date: Mon, 6 Oct 2008 17:21:19 -0300
> From: pam <papereyra at gmail.com>
> Subject: [vtkusers] delaunay 3D with very close points
> To: vtkusers at vtk.org
> Message-ID:
  >      <2bcd18a00810061321i3fcba41hc7db331a9723fbfa at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> hi all, I was trying Delaunay3D with some points and I found that it
> has problem when are very close in Z in my case.
> This is my groups of points and in Z the points are so near that I
> think the algorithm are taken this in the same plane because I can?t
> see anything
> with Delaunay3D but I can see something in delaunay2D. I was playing
> with setAlpha and setTolerance but I couldn't make it work. There is
> any solution? Maybe could I change the referential in Z?
>
> pts->InsertPoint(0,25783.132,11566.265,1204.81926);
> pts->InsertPoint(1,22435.896,14102.563,1282.0512);
> pts->InsertPoint(2,24875,13875,1250);
> pts->InsertPoint(3,26097.56,12804.878,1219.5122);
> pts->InsertPoint(4,27926.829,13780.487,1219.5122);
> pts->InsertPoint(5,31923.076,14743.589,1282.0512);
> pts->InsertPoint(6,24000,17625,1250);
>
> Thanks in advance.
>
> Pamela
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081009/caf3d633/attachment.htm>


More information about the vtkusers mailing list