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.
|