Function handling 3d max distance calculations and dfullywithin calculations.
The difference is just the tolerance.
Definition at line 310 of file measures3d.c.
311{
313 {
315 "One or both of the geometries is missing z-value. The unknown z-value will be regarded as \"any value\"");
317 }
319 LWDEBUG(2,
"lwgeom_maxdistance3d_tolerance is called");
325
326
327 lwerror(
"Some unspecified error.");
328 return -1;
329}
int lwgeom_has_z(const LWGEOM *geom)
Return LW_TRUE if geometry has Z ordinates.
double lwgeom_maxdistance2d_tolerance(const LWGEOM *lw1, const LWGEOM *lw2, double tolerance)
Function handling max distance calculations and dfullywithin calculations.
#define LWDEBUG(level, msg)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
int lw_dist3d_recursive(const LWGEOM *lwg1, const LWGEOM *lwg2, DISTPTS3D *dl)
This is a recursive function delivering every possible combination of subgeometries.
Structure used in distance-calculations.
References DIST_MAX, DISTPTS3D::distance, lw_dist3d_recursive(), LWDEBUG, lwerror(), lwgeom_has_z(), lwgeom_maxdistance2d_tolerance(), lwnotice(), DISTPTS3D::mode, and DISTPTS3D::tolerance.
Referenced by LWGEOM_dfullywithin3d(), and lwgeom_maxdistance3d().