From 5370a50dd6be860e7b22ac4ca364be4a7435eba0 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Mon, 12 Oct 2020 08:15:20 +0200 Subject: [PATCH] Update doc --- .../include/CGAL/scanline_orient_normals.h | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/Point_set_processing_3/include/CGAL/scanline_orient_normals.h b/Point_set_processing_3/include/CGAL/scanline_orient_normals.h index 67bdfeef8b6..d3e2639832d 100644 --- a/Point_set_processing_3/include/CGAL/scanline_orient_normals.h +++ b/Point_set_processing_3/include/CGAL/scanline_orient_normals.h @@ -379,20 +379,13 @@ void orient_scanline (Iterator begin, Iterator end, Then, the line of sight (estimated vector between a point and the position of the scanner at its time of acquisition) is estimated: - - if both `scan_direction_flag` and `scan_angle` are provided, the - line of sight can be directly computed as a combination of the 2D - vector of the projected scanline, the vertical vector and the + - if `scan_angle` is provided, the line of sight can be directly + computed as a combination of the estimated scanline and of the scan angle. - - if only `scan_angle` is provided, then for each scanline, the - position of the scanner is estimated as being above the point of - the scanline which has the minimum scan angle absolute - value. This method is less optimal than the one using - `scan_direction_flag`. - - - if none of these property maps are provided, then for each - scanline, the position of the scanner is estimated as being above - of the barycenter of the points of the scanline projected on the + - if no scan angle map is provided, then for each scanline, the + position of the scanner is estimated as being above of the + barycenter of the points of the scanline projected on the XY-plane. This fallback method gives suboptimal results. Once the line of sight is estimated for each point, the normals are