vcanim.gif (8357 bytes)SW_getExtent
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

 


SW_getExtent


A library function which returns the size of the smallest rectangle, orthogonal to the axes, which contains the specified element. An extent is different from a bounding box, because a bounding box is not necessarily orthogonal to the axes.


package require SW
SW_getExtent elementID [sceneID]

elementID
the element whose extent will be returned.
sceneID
The scene in which the element occurs. This is an optional parameter. If it is missing then the current scene is the default.


Return Value
If the function succeeds it returns a list defining the extent. The returned lists consists of six numeric elements, namely: minx,maxx,miny,maxy,minz and maxz. If an error occurs the procedure returns a string describing that error.


Behaviors Overview ] Behavior Evaluate ] Behavior Edit ] Debugger ] Console ] Find ] SAA Library ] SW library ] SWC library ] SWN library index ] SWU library ] Attributes Index ] Scripting Examples ]

copyright Video-Collage Inc.