1040 passed = passed &&
FP_EQUALS(actual_pt.
x, expected_pt.
x);
1041 passed = passed &&
FP_EQUALS(actual_pt.
y, expected_pt.
y);
1048 CU_ASSERT_TRUE(passed);
char * lwgeom_to_ewkt(const LWGEOM *lwgeom)
Return an alloced string.
void lwpoint_free(LWPOINT *pt)
void lwgeom_free(LWGEOM *geom)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
LWPOINT * lwgeom_as_lwpoint(const LWGEOM *lwgeom)
int lwgeom_has_z(const LWGEOM *geom)
Return LW_TRUE if geometry has Z ordinates.
#define LW_PARSER_CHECK_NONE
#define LW_TRUE
Return types for functions with status returns.
int lwpoint_getPoint3dz_p(const LWPOINT *point, POINT3DZ *out)
#define FP_TOLERANCE
Floating point comparators.
LWPOINT * lwgeom_median(const LWGEOM *g, double tol, uint32_t maxiter, char fail_if_not_converged)
int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members) ...