subroutine cxGeoRootThis function makes the root object the current object. The root object is a special grouping node that is created automatically when the geometry library is initialized. All subsequently defined objects will be descendents of the root object.
This function is often used in a particular sequence to entirely replace previously defined geometry:
cxGeometry *geo; /* handle to geometry object */ /* allocate the new geometry object and select it */ geo = cxGeoNew(); cxGeoBufferSelect(geo); /* delete the previously defined geometry */ cxGeoRoot(); cxGeoDelete(); /* define new geometry here */ /* close the buffer */ cxGeoBufferClose(geo); /* output the new geometry */
Last modified: Mon Nov 6 16:33:19 GMT 2000
[ Documentation Home ] © The Numerical Algorithms Group Ltd, Oxford UK. 1996