Definition at line 1108 of file cu_measures.c.
1124 CU_ASSERT_DOUBLE_EQUAL(dl.
distance, 1, 0.000001);
1134 "lw_dist2d_ptarray_ptarrayarc called with non-arc input");
1143 CU_ASSERT_DOUBLE_EQUAL(dl.
distance, 1, 0.000001);
1152 CU_ASSERT_DOUBLE_EQUAL(dl.
distance, 0.5, 0.000001);
static LWGEOM * lwgeom_from_text(const char *str)
void cu_error_msg_reset()
char cu_error_msg[MAX_CUNIT_ERROR_LENGTH+1]
#define ASSERT_STRING_EQUAL(o, e)
LWLINE * lwgeom_as_lwline(const LWGEOM *lwgeom)
void lwline_free(LWLINE *line)
void lw_dist2d_distpts_init(DISTPTS *dl, int mode)
int lw_dist2d_ptarray_ptarrayarc(const POINTARRAY *pa, const POINTARRAY *pb, DISTPTS *dl)
Test each segment of pa against each arc of pb for distance.
Structure used in distance-calculations.
References ASSERT_STRING_EQUAL, cu_error_msg, cu_error_msg_reset(), DIST_MIN, DISTPTS::distance, lw_dist2d_distpts_init(), lw_dist2d_ptarray_ptarrayarc(), LW_FAILURE, LW_SUCCESS, lwgeom_as_lwline(), lwgeom_from_text(), lwline_free(), and LWLINE::points.
Referenced by measures_suite_setup().