One of the functions for getting a point from a PolyData (actually the PointSet) doesn't seem to work (or I am doing something wrong)<br><br>This one works fine:<br>1) void <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkPointSet.html#ef4cdb2893d13d2b4b9c61a4848f1e50">GetPoint</a> (<a class="el" href="http://www.vtk.org/doc/nightly/html/vtkType_8h.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> ptId, double x[3])<br>
<br> double p0[3];<br> TriPoints->GetPoint(0, p0);<br><br>This one seems to give the same values for GetPoint(0), GetPoint(1), GetPoint(2).<br>2) double * <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkPointSet.html#7b1f11e85608a0de638810dbea9749ab">GetPoint</a> (<a class="el" href="http://www.vtk.org/doc/nightly/html/vtkType_8h.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> ptId)<br>
<br>
double* p0;<br>
p0 = TriPoints->GetPoint(0);<br>
<br>Here is a compilable example:<br><a href="http://www.rpi.edu/%7Edoriad/VTK_List/GetPoint/GetPointTest.cpp" target="_blank">http://www.rpi.edu/~doriad/VTK_List/GetPoint/GetPointTest.cpp</a><br><br>This seems like a pretty basic function, so maybe I am just calling it wrong?<br>
<br clear="all">Thanks,<br><br>David<br>