|
SWN_get1Extent
A library function which returns the size of the smallest rectangle, all of whose faces
are parallel to an axis, which contains ALL the elements 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_get1Extent namePattern
namePattern
specifies the elements whose extent will be returned.
Return Value
If the function succeeds it returns a list defining a single extent which contains all the
specified elements.This extent is defined by a list consisting of six numeric elements,
namely: minx,maxx,miny,maxy,minz and maxz. If an error occurs the procedure returns
a string describing that error.
|