mirror of https://github.com/CGAL/cgal
added default on Delaunay_triangulation_2.h
add Dummy_output_iterator.h
This commit is contained in:
parent
e76a811284
commit
b72704d0f2
|
|
@ -31,7 +31,10 @@
|
|||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
template < class Gt, class Tds>
|
||||
template < class Gt,
|
||||
class Tds = Triangulation_data_structure_using_list_2 <
|
||||
Triangulation_vertex_base_2<Gt>,
|
||||
Triangulation_face_base_2<Gt> > >
|
||||
class Delaunay_triangulation_2 : public Triangulation_2<Gt,Tds>
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,49 @@
|
|||
// ======================================================================
|
||||
//
|
||||
// Copyright (c) 1997 The CGAL Consortium
|
||||
//
|
||||
// This software and related documentation is part of an INTERNAL release
|
||||
// of the Computational Geometry Algorithms Library (CGAL). It is not
|
||||
// intended for general use.
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
//
|
||||
// release :
|
||||
// release_date :
|
||||
//
|
||||
// file : include/CGAL/Dummy_output_iterator.h
|
||||
// package : Triangulation
|
||||
// source : $RCSfile$
|
||||
// revision : $Revision$
|
||||
// revision_date : $Date$
|
||||
// author(s) : Mariette Yvinec
|
||||
//
|
||||
// coordinator : Mariette Yvinec <Mariette Yvinec@sophia.inria.fr>
|
||||
//
|
||||
// ======================================================================
|
||||
|
||||
#ifndef CGAL_DUMMY_OUTPUT_ITERATOR_H
|
||||
#define CGAL_DUMMY_OUTPUT_ITERATOR_H
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
class Dummy_output_iterator
|
||||
{
|
||||
public:
|
||||
Dummy_output_iterator() {}
|
||||
Dummy_output_iterator( const Dummy_output_iterator&) {}
|
||||
|
||||
template<class T>
|
||||
Dummy_output_iterator& operator=(const T&) {return *this; }
|
||||
|
||||
Dummy_output_iterator& operator++() {return *this;}
|
||||
Dummy_output_iterator& operator++(int) {return *this;}
|
||||
|
||||
|
||||
Dummy_output_iterator& operator*() { return *this ;}
|
||||
};
|
||||
|
||||
|
||||
CGAL_END_NAMESPACE
|
||||
#endif //CGAL_DUMMY_OUTPUT_ITERATOR_H
|
||||
|
||||
Loading…
Reference in New Issue