Definition at line 1044 of file cu_measures.c.
References ASSERT_DOUBLE_EQUAL, cu_error_msg, LW_FALSE, LW_PARSER_CHECK_NONE, LW_TRUE, lwgeom_cpa_within(), lwgeom_free(), lwgeom_from_wkt(), and lwgeom_tcpa().
Referenced by measures_suite_setup().
1057 CU_ASSERT_STRING_EQUAL(
1058 "Both input geometries must have a measure dimension",
1070 CU_ASSERT_STRING_EQUAL(
1071 "Both input geometries must be linestrings",
1085 CU_ASSERT_STRING_EQUAL(
1086 "Both input lines must have at least 2 points",
1098 CU_ASSERT_STRING_EQUAL(
1099 "Both input lines must have at least 2 points",
void lwgeom_free(LWGEOM *geom)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
int lwgeom_cpa_within(const LWGEOM *g1, const LWGEOM *g2, double maxdist)
Is the closest point of approach within a distance ?
#define LW_PARSER_CHECK_NONE
#define LW_TRUE
Return types for functions with status returns.
double lwgeom_tcpa(const LWGEOM *g1, const LWGEOM *g2, double *mindist)
Find the time of closest point of approach.
#define ASSERT_DOUBLE_EQUAL(o, e)
char cu_error_msg[MAX_CUNIT_ERROR_LENGTH+1]