25 #include <ServerFunction.h>
37 void function_dap2_bbox(
int argc, libdap::BaseType *argv[], libdap::DDS &dds, libdap::BaseType **btpp);
38 libdap::BaseType *function_dap4_bbox(libdap::D4RValueList *args, libdap::DMR &dmr);
46 setDescriptionString(
"The bbox() function returns the indices for a bounding-box based on an Array variable's values.");
47 setUsageString(
"bbox(<array>, <float64>, <float64>)");
48 setRole(
"http://services.opendap.org/dap4/server-side-function/bbox");
49 setDocUrl(
"http://docs.opendap.org/index.php/Server_Side_Processing_Functions#bbox");
50 setFunction(function_dap2_bbox);
51 setFunction(function_dap4_bbox);