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

 

 


SWN_getExtent

A library function which returns the size of the smallest rectangle, all of whose faces are parallel to an axis, which contains the all the element whose names match the passed specification. An extent is different from a bounding box, because a bounding box has no constraints on the orientation of its faces.

package require SWN
SWN_getExtent namePattern


namePattern
specifies the elements  whose extent will be returned.

Return Value
If the function succeeds it returns a list defining the extents of each of the specified elements. Each such extent is defined by a list consisting of six numeric elements, namely: minx,maxx,miny,maxy,minz and maxz. This means that if the namePattern specifies more than a single element the procedure returns a list of lists 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.