1083 A1.
x = -1; A1.
y = 0;
1084 A2.
x = 0 ; A2.
y = 1;
1085 A3.
x = 1 ; A3.
y = 0;
1089 CU_ASSERT_DOUBLE_EQUAL(d, M_PI, 0.000001);
1091 CU_ASSERT_DOUBLE_EQUAL(d, M_PI, 0.000001);
1096 A3.
x = 0; A3.
y = -1;
1100 CU_ASSERT_DOUBLE_EQUAL(d, M_PI, 0.000001);
1102 CU_ASSERT_DOUBLE_EQUAL(d, M_PI, 0.000001);
1105 A1.
x = -1; A1.
y = 0;
1107 A3.
x = 0; A3.
y = -1;
1111 CU_ASSERT_DOUBLE_EQUAL(d, 3*M_PI_2, 0.000001);
1113 CU_ASSERT_DOUBLE_EQUAL(d, 3*M_PI_2, 0.000001);
double lw_arc_length(const POINT2D *A1, const POINT2D *A2, const POINT2D *A3)
Returns the length of a circular arc segment.