Skip to content

Commit 47407fc

Browse files
committed
simply implementation
1 parent 5a26a95 commit 47407fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Kernel_23/include/CGAL/Kernel/function_objects.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,7 @@ namespace CommonKernelFunctors {
201201
{
202202
typename K::Compute_scalar_product_3 scalar_product = K().compute_scalar_product_3_object();
203203
typename K::Construct_vector_3 construct_vector = K().construct_vector_3_object();
204-
return CGAL::compare(scalar_product(construct_vector(ORIGIN, p), construct_vector(dir)),
205-
scalar_product(construct_vector(ORIGIN, q), construct_vector(dir)));
204+
return CGAL::sign(scalar_product(construct_vector(q, p), construct_vector(dir)));
206205
}
207206
};
208207

0 commit comments

Comments
 (0)