<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Look at this men:<br><br>&nbsp; vtkPoints *points = vtkPoints::New();<br>&nbsp; [...some point adding steps...]<br>&nbsp; int numPts = points-&gt;GetNumberOfPoints();<br>&nbsp; printf("numPts=%d\n", numPts);<br>&nbsp; double *pts0 = points-&gt;GetPoint(0);<br>&nbsp; double *ptsn = points-&gt;GetPoint(1);<br>&nbsp; printf("%p %p\n", pts0, ptsn);<br><br>which leads:<br><br>numPts=11<br>0x19982c40 0x19982c40<br><br>Whatever the possibility I Made some mistake anywhere, I can not understand how this is possible!<br>GetPoint(0) returns the same address as GetPoint(1) while there are 11 points in the array!!!<br><br><br /><hr />Messenger débarque dans Hotmail ! <a href='http://www.windowslive.fr/hotmail/web-messenger/' target='_new'>Essayez-le !</a></body>
</html>