<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi, <div>How do I create tetrahedral from a set of points using vtkDelaunay3D? This is what I have come up with so far. </div><div><br></div><div>vtkDelaunay3D* getDelaunayTets; // create instance of vtkDelaunay3D</div><div>vtkPoints* points;  </div><div>    points=vtkPoints::New(); // initialise points (online example - not clear from doc)</div><div>    points->InsertNextPoint(0,0,1); // insert points (online example - not sure if points r added)</div><div>    points->InsertNextPoint(0,0,0);</div><div>    points->InsertNextPoint(0,1,0);</div><div>    points->InsertNextPoint(1,0,0);</div><div>    points->InsertNextPoint(0.5,0.5,0.5);</div><div><br class="gmail-Apple-interchange-newline">vtkUnstructuredGrid* Mesh;  vtkIdType id; double x[3]; vtkIdList* holeTetras; <br></div><div>getDelaunayTets->InsertPoint(Mesh, points, id, x, holeTetras);</div><div><br></div><div>I get an initialisation error for holeTetras and I am not sure how to initialise holeTetras.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Thank you</div>Idayat Salako</div><div dir="ltr"><br></div><div dir="ltr" style="text-align:center"><span style="font-size:small"><font face="arial, helvetica, sans-serif" color="#000000">***Whoever wakes up in the morning and is safe in his home, in good health and has enough provision for the day, it is as if he has all the good things of this world [HadithTirmidhi 2346]***</font></span><br></div><div dir="ltr" style="text-align:center"><br></div></div></div></div></div></div></div></div></div></div></div></div></div>