Thread: worldToScreen??
View Single Post
  #2  
Old 07-20-2010, 05:54 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
1) There is no difference in functionality. The worldtoscreen version will be removed in future versions, so you should use the viz.MainWindow.worldToScreen method.

2) The function returns a list of 3 values, [x,y,distance]. If distance is negative, then the point is behind the camera. If either of the x or y values is outside the normalized 0 to 1 range, then the point is not within the current view frustum.
Reply With Quote