NAME
cxGeoNew
- create a new geometry buffer
C SPECIFICATION
#include <cx/DataAccess.h>
cxGeometry *cxGeoNew()
FORTRAN SPECIFICATION
integer function cxGeoNew
DESCRIPTION
This 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 */
SEE ALSO
cxGeoBufferSelect(3E),
cxGeoRoot(3E),
cxGeoDelete(3E),
cxGeoBufferClose(3E)
Last modified: Mon Nov 18 13:49:02 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996