This commit is contained in:
Sven Oesau 2025-12-04 14:51:19 +01:00 committed by GitHub
commit 8054426ce8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 0 deletions

View File

@ -241,6 +241,10 @@ namespace Point_set {
const FT cos_value =
m_scalar_product_2(query_normal, m_normal_of_best_fit);
if (cos_value < 0)
return false;
const FT squared_cos_value = cos_value * cos_value;
FT squared_cos_value_threshold =

View File

@ -287,6 +287,10 @@ namespace Polygon_mesh {
const Vector_3 face_normal = get(m_face_normals, query);
const FT cos_value = m_scalar_product_3(face_normal, m_normal_of_best_fit);
if (cos_value < 0)
return false;
const FT squared_cos_value = cos_value * cos_value;
FT squared_cos_value_threshold =

View File

@ -244,6 +244,10 @@ namespace Segment_set {
const FT cos_value =
m_scalar_product(query_direction, m_direction_of_best_fit);
if (cos_value < 0)
return false;
const FT squared_cos_value = cos_value * cos_value;
FT squared_cos_value_threshold =