mirror of https://github.com/CGAL/cgal
- removed redundant typedefs
- added virtual constructor to some classes
This commit is contained in:
parent
7de795c118
commit
172a4e4c64
|
|
@ -121,6 +121,8 @@ public:
|
||||||
virtual Bounding_box_3 operator()(Halffacet_handle f) const;
|
virtual Bounding_box_3 operator()(Halffacet_handle f) const;
|
||||||
virtual Bounding_box_3 operator()(Halffacet_triangle_handle f) const;
|
virtual Bounding_box_3 operator()(Halffacet_triangle_handle f) const;
|
||||||
|
|
||||||
|
virtual Objects_bbox() {}
|
||||||
|
|
||||||
SNC_decorator D;
|
SNC_decorator D;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,8 +70,6 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
typedef typename SNC_structure::Object_handle Object_handle;
|
typedef typename SNC_structure::Object_handle Object_handle;
|
||||||
typedef typename Decorator_traits::Halfedge_handle Halfedge_handle;
|
|
||||||
typedef typename Decorator_traits::Halffacet_handle Halffacet_handle;
|
|
||||||
|
|
||||||
typedef typename SNC_structure::Point_3 Point_3;
|
typedef typename SNC_structure::Point_3 Point_3;
|
||||||
typedef typename SNC_structure::Segment_3 Segment_3;
|
typedef typename SNC_structure::Segment_3 Segment_3;
|
||||||
|
|
@ -110,6 +108,8 @@ public:
|
||||||
public:
|
public:
|
||||||
virtual void operator()( Halfedge_handle edge, Object_handle object,
|
virtual void operator()( Halfedge_handle edge, Object_handle object,
|
||||||
const Point_3& intersection_point) const = 0;
|
const Point_3& intersection_point) const = 0;
|
||||||
|
|
||||||
|
virtual ~Intersection_call_back() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
virtual void initialize(SNC_structure* W) = 0;
|
virtual void initialize(SNC_structure* W) = 0;
|
||||||
|
|
@ -164,8 +164,6 @@ public:
|
||||||
typedef K3_tree SNC_candidate_provider;
|
typedef K3_tree SNC_candidate_provider;
|
||||||
|
|
||||||
typedef typename SNC_structure::Object_handle Object_handle;
|
typedef typename SNC_structure::Object_handle Object_handle;
|
||||||
typedef typename Decorator_traits::Halfedge_handle Halfedge_handle;
|
|
||||||
typedef typename Decorator_traits::Halffacet_handle Halffacet_handle;
|
|
||||||
#ifdef CGAL_NEF3_TRIANGULATE_FACETS
|
#ifdef CGAL_NEF3_TRIANGULATE_FACETS
|
||||||
typedef typename Decorator_traits::Halffacet_triangle_handle
|
typedef typename Decorator_traits::Halffacet_triangle_handle
|
||||||
Halffacet_triangle_handle;
|
Halffacet_triangle_handle;
|
||||||
|
|
|
||||||
|
|
@ -64,9 +64,6 @@ public:
|
||||||
typedef SM_point_locator<SM_decorator> SM_point_locator;
|
typedef SM_point_locator<SM_decorator> SM_point_locator;
|
||||||
typedef SNC_intersection<SNC_structure> SNC_intersection;
|
typedef SNC_intersection<SNC_structure> SNC_intersection;
|
||||||
|
|
||||||
typedef typename SNC_decorator::Decorator_traits Decorator_traits;
|
|
||||||
typedef typename Decorator_traits::SM_decorator SM_decorator;
|
|
||||||
|
|
||||||
typedef typename Decorator_traits::Vertex_handle Vertex_handle;
|
typedef typename Decorator_traits::Vertex_handle Vertex_handle;
|
||||||
typedef typename Decorator_traits::Halfedge_handle Halfedge_handle;
|
typedef typename Decorator_traits::Halfedge_handle Halfedge_handle;
|
||||||
typedef typename Decorator_traits::Halffacet_handle Halffacet_handle;
|
typedef typename Decorator_traits::Halffacet_handle Halffacet_handle;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue