751 CU_ASSERT_DOUBLE_EQUAL(dl.
distance, 0.5, 0.000001);
758 CU_ASSERT_DOUBLE_EQUAL(dl.
distance, 0.5, 0.000001);
765 CU_ASSERT_DOUBLE_EQUAL(dl.
distance, sqrt(2.0), 0.000001);
772 CU_ASSERT_DOUBLE_EQUAL(dl.
distance, sqrt(2.0)-1, 0.000001);
779 CU_ASSERT_DOUBLE_EQUAL(dl.
distance, 0, 0.000001);
786 CU_ASSERT_DOUBLE_EQUAL(dl.
distance, 0, 0.000001);
793 CU_ASSERT_DOUBLE_EQUAL(dl.
distance, 1, 0.000001);
803 CU_ASSERT_DOUBLE_EQUAL(dl.
distance, 0.5, 0.000001);
int lw_dist2d_pt_arc(const POINT2D *P, const POINT2D *A1, const POINT2D *A2, const POINT2D *A3, DISTPTS *dl)
void lw_dist2d_distpts_init(DISTPTS *dl, int mode)
Structure used in distance-calculations.