MCPcopy Create free account
hub / github.com/GenericMappingTools/gmt / gmtapi_init_grid

Function gmtapi_init_grid

src/gmt_api.c:2142–2145  ·  view source on GitHub ↗

! . */

Source from the content-addressed store, hash-verified

2140
2141/*! . */
2142GMT_LOCAL int gmtapi_init_grid (struct GMTAPI_CTRL *API, struct GMT_OPTION *opt, uint64_t dim[], double *range, double *inc, int registration, unsigned int mode, unsigned int direction, struct GMT_GRID *G) {
2143 if (direction == GMT_OUT) return (GMT_NOERROR); /* OK for creating a blank container for output */
2144 return (gmtapi_init_grdheader (API->GMT, direction, G->header, opt, dim, range, inc, registration, mode));
2145}
2146
2147/*! . */
2148GMT_LOCAL int gmtapi_init_image (struct GMTAPI_CTRL *API, struct GMT_OPTION *opt, uint64_t dim[], double *range, double *inc, int registration, unsigned int mode, unsigned int direction, struct GMT_IMAGE *I) {

Callers 2

gmtapi_import_gridFunction · 0.85
GMT_Create_DataFunction · 0.85

Calls 1

gmtapi_init_grdheaderFunction · 0.85

Tested by

no test coverage detected