This commit is contained in:
Mael Rouxel-Labbé 2022-02-24 21:58:28 +01:00
parent 3452fb7596
commit 2dd39271e6
2 changed files with 5 additions and 5 deletions

View File

@ -68,8 +68,8 @@ squared_distance_to_triangle_RT(const typename K::Point_3& pt,
if(normal == NULL_VECTOR)
{
// The case normal==NULL_VECTOR covers the case when the triangle
// is colinear, or even more degenerate. In that case, we can
// The case normal == NULL_VECTOR covers the case when the triangle
// is collinear, or even more degenerate. In that case, we can
// simply take also the distance to the three segments.
squared_distance_RT(pt, segment(t2, t0), num, den, k);
@ -161,7 +161,7 @@ squared_distance_to_triangle(const typename K::Point_3& pt,
if(normal == NULL_VECTOR)
{
// The case normal == NULL_VECTOR covers the case when the triangle
// is colinear, or even more degenerate. In that case, we can
// is collinear, or even more degenerate. In that case, we can
// simply take also the distance to the three segments.
//
// Note that in the degenerate case, at most 2 edges cover the full triangle,

View File

@ -74,7 +74,7 @@ int main(int, char**)
// result = traits.power_test_2_object()(P2, P1, P10);
// assert(result == CGAL::ON_NEGATIVE_SIDE);
// power_test_2(p,q) where p, q, and the center of the sphere are colinear
// power_test_2(p,q) where p, q, and the center of the sphere are collinear
// result = traits.power_test_2_object()(P1, P7);
// assert(result == CGAL::ON_POSITIVE_SIDE);
// result = traits.power_test_2_object()(P1, P1);
@ -101,7 +101,7 @@ int main(int, char**)
// result = traits_6.power_test_2_object()(P14, P1, P11);
// assert(result == CGAL::ON_NEGATIVE_SIDE);
// power_test_2(p,q) where p, q and sphere are colinear
// power_test_2(p,q) where p, q and sphere are collinear
// result = traits_6.power_test_2_object()(P13, P0);
// assert(result == CGAL::ON_POSITIVE_SIDE);
// result = traits_6.power_test_2_object()(P13, P13);