From 5136fea47ab1cdab9dc3e9b005c77b2c77c51686 Mon Sep 17 00:00:00 2001 From: Giles Bathgate Date: Thu, 10 Mar 2022 21:08:45 +0000 Subject: [PATCH] Rotate the parameters to orthogonal_vector, keep same parity of the permutation --- Nef_S2/include/CGAL/Nef_S2/Sphere_segment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nef_S2/include/CGAL/Nef_S2/Sphere_segment.h b/Nef_S2/include/CGAL/Nef_S2/Sphere_segment.h index 2606148f458..403c6bcf11e 100644 --- a/Nef_S2/include/CGAL/Nef_S2/Sphere_segment.h +++ b/Nef_S2/include/CGAL/Nef_S2/Sphere_segment.h @@ -38,7 +38,7 @@ Sphere_segment_rep() { ps_ = pt_ = Point(); c_ = Circle(); } Sphere_segment_rep(const Point& p1, const Point& p2, bool shorter_arc=true) : ps_(p1), pt_(p2), - c_(CGAL::ORIGIN,R_().construct_orthogonal_vector_3_object()(p1,p2,Point_3(CGAL::ORIGIN))) + c_(CGAL::ORIGIN,R_().construct_orthogonal_vector_3_object()(Point_3(CGAL::ORIGIN),p1,p2)) { // warning stays as reminder that one gets an arbitrary plane equation // in this degenerate case CGAL_warning(p1 != p2.antipode());