}
}
-double smaller_angle_of_two(
+double angle_between_closer_point(
double sx, double sy, // common start point
double cx, double cy, // common middle point
double x1, double y1, // first ending point
this->cc().lrx(), this->cc().lry(),
this->cc().rrx(), this->cc().rry()
);
- double a1 = ::smaller_angle_of_two(
+ double a1 = ::angle_between_closer_point(
this->ps().x1(), this->ps().y1(),
cclx, ccly,
std::get<1>(cli1), std::get<2>(cli1),
this->ps().x2(), this->ps().y2(),
this->ps().x3(), this->ps().y3()
);
- double a2 = smaller_angle_of_two(
+ double a2 = angle_between_closer_point(
this->cc().rrx(), this->cc().rry(),
cclx, ccly,
std::get<1>(cli2), std::get<2>(cli2),
this->ps().x1(), this->ps().y1(),
this->ps().x2(), this->ps().y2()
);
- double a1 = smaller_angle_of_two(
+ double a1 = angle_between_closer_point(
this->cc().lrx(), this->cc().lry(),
cclx, ccly,
std::get<1>(cli1), std::get<2>(cli1),
this->ps().x2(), this->ps().y2(),
this->ps().x3(), this->ps().y3()
);
- double a2 = smaller_angle_of_two(
+ double a2 = angle_between_closer_point(
this->cc().rrx(), this->cc().rry(),
cclx, ccly,
std::get<1>(cli2), std::get<2>(cli2),
this->ps().x3(), this->ps().y3(),
this->ps().x4(), this->ps().y4()
);
- double a1 = smaller_angle_of_two(
+ double a1 = angle_between_closer_point(
this->cc().rfx(), this->cc().rfy(),
ccrx, ccry,
std::get<1>(cli1), std::get<2>(cli1),
this->ps().x2(), this->ps().y2(),
this->ps().x3(), this->ps().y3()
);
- double a2 = smaller_angle_of_two(
+ double a2 = angle_between_closer_point(
this->cc().rfx(), this->cc().rfy(),
ccrx, ccry,
std::get<1>(cli2), std::get<2>(cli2),
this->ps().x3(), this->ps().y3(),
this->ps().x4(), this->ps().y4()
);
- double a3 = smaller_angle_of_two(
+ double a3 = angle_between_closer_point(
this->cc().lfx(), this->cc().lfy(),
ccrx, ccry,
std::get<1>(cli3), std::get<2>(cli3),