This commit is contained in:
Andreas Fabri 2024-03-12 16:29:18 +01:00
parent b02c4092e7
commit 2e4c5765ce
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ list as `id`. We compute the number of intersections with plane
and triangles queries, and the closest point from a point query. and triangles queries, and the closest point from a point query.
\cgalExample{AABB_tree/AABB_segment_3_example.cpp} \cgalExample{AABB_tree/AABB_segment_3_example.cpp}
\subsectiom aabb_tree_examples_8 Tree of Polyline and Polygon Segments for Intersection and Distance Queries \subsection aabb_tree_examples_8 Tree of Polyline and Polygon Segments for Intersection and Distance Queries
The following example uses segments given by a polyline and a polygon. The difference is that the polygon is closed. The `id` in this case is the iterator pointing to a `Point_2` in the polyline or the polygon. The datum, a `Segment_2`, is created on the fly from the points using the `id` as the source and the following `Point_2` as the target. We count the intersections with a `Segment_2` and the closest point and id from a point query. The following example uses segments given by a polyline and a polygon. The difference is that the polygon is closed. The `id` in this case is the iterator pointing to a `Point_2` in the polyline or the polygon. The datum, a `Segment_2`, is created on the fly from the points using the `id` as the source and the following `Point_2` as the target. We count the intersections with a `Segment_2` and the closest point and id from a point query.
\cgalExample{AABB_tree/AABB_polyline_segment_2_example.cpp} \cgalExample{AABB_tree/AABB_polyline_segment_2_example.cpp}