This PR improves the computation of "h orthogonal" in the following ways:
It avois the direct computation of intersection points between ray-segments (2D), or ray-faces(3D),
It delays the actual evaluation of the computed distances by using the comparison operators overloaded by CGAL (in the call to std::min)
The face of the polygon is indexed by an unsigned int face_index that runs from 0 to n_polygonal_faces-1, instead of a plain face iterator. The current face can be retrived simply by doing polygon_boundary[face_index].
The utility has been templatized on the Kernel type, which defaults to an exact one.
This PR improves the computation of "h orthogonal" in the following ways:
unsigned int face_index
that runs from 0 ton_polygonal_faces-1
, instead of a plain face iterator. The current face can be retrived simply by doingpolygon_boundary[face_index].
The utility has been templatized on the Kernel type, which defaults to an exact one.