integer function cxGeoNewThis function creates a new IRIS Explorer geometry data type. To write into it, it must be selected with cxGeoBufferSelect(3E). Subsequent calls to the geometry library will be recorded in the buffer. On completion, the buffer should be closed with cxGeoBufferClose(3E).
Here is an example:
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:15 GMT 2000
[ Documentation Home ] © The Numerical Algorithms Group Ltd, Oxford UK. 1996