<P>
&gt;&gt;I have a more or less sphere-like surface and want to have a direct &gt;&gt;link on this surface from a given start- and endpoint on this surface.<BR>
<BR>
If your surface is generated from vtkSphereSource, you can find the points of sphere using:<BR>
<BR>
cs = vtk.vtkSphereSource()<BR>
cs.Update()<BR>
ps = cs.GetOutput()<BR>
points = ps.GetPoints()<BR>
<BR>
Then you can write a simple function which will calculate the distance between your point and points on the sphere. You can now identify the point nearest to your given point. Once you have the 2 points you can draw a line between them. <BR>
<BR>
If you yourself have created the surface you can always do the same logic easily.<BR>
<BR>
&gt;&gt;I hope you understand the problem and may give me some ideas how to &gt;&gt;show the shortest link on the surface between the to points.<BR>

</P>
<br><br>
<Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style='font-family:Verdana;font-size:11px;line-height:15px;'><TR><td><a href='http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Middle5/1362386_1355934/1361766/1?PARTNER=3&OAS_QUERY=null target=new '><img src =http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/1362386_1355934/creative_1361766.gif  alt='ebay'  border=0></a></td></TR></Table>