scoords (<point>{,<window>})
numeric
The screen coordinates corresponding to a 3-D modeling point in a graphic window. Two values are returned, x and y. Screen coordinates run from left to right, and top to bottom. If there is a problem doing the conversion, the values 0,0 are returned.
<point>
The 3-D point to
be converted.
<window>
The graphic window
to be used. If omitted, the current graphic window is used.
Returns the screen coordinates corresponding to the modeling origin in the current graphic window.
numeric sxy[2] = scoords(p0)
Returns the screen coordinates corresponding to the point my_p in the window win1.
sxy = scoords(my_p,win1)
Functions: |
ntos(numeric) |
Structures: |