- double xf = this->ps().x4();
- double yf = this->ps().y4();
- if (std::get<0>(clif)) {
- xf = std::get<1>(clif);
- yf = std::get<2>(clif);
- if (
- edist(
- this->ps().x4(),
- this->ps().y4(),
- std::get<3>(clif),
- std::get<4>(clif)
- ) < edist(
- this->ps().x4(),
- this->ps().y4(),
- xf, yf
- )
- ) {
- xf = std::get<3>(clif);
- yf = std::get<4>(clif);
- }
- af = ::angle_between_three_points(
- this->cc().lfx(),
- this->cc().lfy(),
- ccrx, ccry,
- xf, yf
- );
- }