| 980 | } |
| 981 | |
| 982 | DDir canonicalize_like(const DDir& a, const DDir& ref) { |
| 983 | return (a * ref) < 0. ? -a : a; |
| 984 | } |
| 985 | |
| 986 | DPoint to_double_point(const Point_2& p) { |
| 987 | return {CGAL::to_double(p.x()), CGAL::to_double(p.y())}; |
no outgoing calls
no test coverage detected