610{
611 BOX2DF b1, b2;
612 Datum gs1 = PG_GETARG_DATUM(0);
613 Datum gs2 = PG_GETARG_DATUM(1);
614
615 POSTGIS_DEBUG(3, "entered function");
616
617
620 {
624 }
625 PG_RETURN_FLOAT8(FLT_MAX);
626}
static char * box2df_to_string(const BOX2DF *a)
static double box2df_distance_leaf_centroid(const BOX2DF *a, const BOX2DF *b)
Calculate the centroid->centroid distance between the boxes.
int gserialized_datum_get_box2df_p(Datum gsdatum, BOX2DF *box2df)
Peak into a GSERIALIZED datum to find the bounding box.
static double distance(double x1, double y1, double x2, double y2)