[vtkusers] Getting too many coordinates from polydata

Karin Faulhaber faulhabe at ipf.uni-karlsruhe.de
Fri Mar 30 08:34:23 EST 2001


Hi all,

I have a test vtkPolyData with exactly 4 points building 1 polyvertex.
When I ask for the coordinates:

	pickedPolyData.GetPoint(0)
	pickedPolyData.GetPoint(3)

I get the correct results. But I can't understand the coordinates I get
if I ask for e.g.

	pickedPolyData.GetPoint(10)

Why do I get a result anyway? In my opinion it is supposed to crash???
After all I only HAVE 4 points???

Thanks
Karin




-- 
Karin Faulhaber
Universitaet Karlsruhe
Institut fuer Photogrammetrie und Fernerkundung (IPF)
Englerstr. 7 
76128 Karlsruhe

Tel: 0721/608-3676
E-Mail: faulhaber at ipf.uni-karlsruhe.de




More information about the vtkusers mailing list