initialize solution

This commit is contained in:
Andreas Fabri 2022-04-07 13:14:14 +01:00
parent 69562405f5
commit 3aea3f4691
1 changed files with 2 additions and 2 deletions

View File

@ -230,14 +230,14 @@ public:
return this->shoot(ray, null_handle, mask);
}
enum SOLUTION { is_vertex_, is_edge_, is_facet_ };
enum SOLUTION { is_vertex_, is_edge_, is_facet_ , is_none_};
virtual Object_handle shoot(const Ray_3& ray, Vertex_handle ray_source_vertex, int mask=255) const {
CGAL_NEF_TIMER(rs_t.start());
CGAL_assertion( initialized);
_CGAL_NEF_TRACEN( "shooting: "<<ray);
SOLUTION solution;
SOLUTION solution = is_none_;
Vertex_handle v_res;
Halfedge_handle e_res;
Halffacet_handle f_res;