mirror of https://github.com/CGAL/cgal
Fix HDS
This commit is contained in:
parent
df17fbcdaa
commit
6a2d925977
|
|
@ -46,6 +46,11 @@ public:
|
||||||
HalfedgeDS_in_place_list_vertex() {}
|
HalfedgeDS_in_place_list_vertex() {}
|
||||||
HalfedgeDS_in_place_list_vertex( const VertexBase& v) // down cast
|
HalfedgeDS_in_place_list_vertex( const VertexBase& v) // down cast
|
||||||
: VertexBase(v) {}
|
: VertexBase(v) {}
|
||||||
|
|
||||||
|
#ifndef CGAL_CFG_NO_CPP0X_DELETED_AND_DEFAULT_FUNCTIONS
|
||||||
|
HalfedgeDS_in_place_list_vertex(const HalfedgeDS_in_place_list_vertex&)=default;
|
||||||
|
#endif
|
||||||
|
|
||||||
Self& operator=( const Self& v) {
|
Self& operator=( const Self& v) {
|
||||||
// This self written assignment avoids that assigning vertices will
|
// This self written assignment avoids that assigning vertices will
|
||||||
// overwrite the list linking of the target vertex.
|
// overwrite the list linking of the target vertex.
|
||||||
|
|
@ -66,6 +71,11 @@ public:
|
||||||
HalfedgeDS_in_place_list_halfedge() {} // down cast
|
HalfedgeDS_in_place_list_halfedge() {} // down cast
|
||||||
HalfedgeDS_in_place_list_halfedge( const HalfedgeBase& h)
|
HalfedgeDS_in_place_list_halfedge( const HalfedgeBase& h)
|
||||||
: HalfedgeBase(h) {}
|
: HalfedgeBase(h) {}
|
||||||
|
|
||||||
|
#ifndef CGAL_CFG_NO_CPP0X_DELETED_AND_DEFAULT_FUNCTIONS
|
||||||
|
HalfedgeDS_in_place_list_halfedge(const HalfedgeDS_in_place_list_halfedge&)=default;
|
||||||
|
#endif
|
||||||
|
|
||||||
Self& operator=( const Self& h) {
|
Self& operator=( const Self& h) {
|
||||||
// This self written assignment avoids that assigning halfedges will
|
// This self written assignment avoids that assigning halfedges will
|
||||||
// overwrite the list linking of the target halfedge.
|
// overwrite the list linking of the target halfedge.
|
||||||
|
|
@ -84,6 +94,11 @@ public:
|
||||||
typedef typename FaceBase::Face_const_handle Face_const_handle;
|
typedef typename FaceBase::Face_const_handle Face_const_handle;
|
||||||
HalfedgeDS_in_place_list_face() {} // down cast
|
HalfedgeDS_in_place_list_face() {} // down cast
|
||||||
HalfedgeDS_in_place_list_face( const FaceBase& f) : FaceBase(f) {}
|
HalfedgeDS_in_place_list_face( const FaceBase& f) : FaceBase(f) {}
|
||||||
|
|
||||||
|
#ifndef CGAL_CFG_NO_CPP0X_DELETED_AND_DEFAULT_FUNCTIONS
|
||||||
|
HalfedgeDS_in_place_list_face(const HalfedgeDS_in_place_list_face&)=default;
|
||||||
|
#endif
|
||||||
|
|
||||||
Self& operator=( const Self& f) {
|
Self& operator=( const Self& f) {
|
||||||
// This self written assignment avoids that assigning faces will
|
// This self written assignment avoids that assigning faces will
|
||||||
// overwrite the list linking of the target face.
|
// overwrite the list linking of the target face.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue