mirror of https://github.com/CGAL/cgal
new class gives the default value for the template
paramater Items of class Nef_polyhedron_3 dependend upon the used Kernel
This commit is contained in:
parent
c36fe88397
commit
a426d8cfa3
|
|
@ -2903,6 +2903,7 @@ Nef_3/doc_tex/Nef_3_ref/fig/snc.pdf -text svneol=unset#application/pdf
|
|||
Nef_3/examples/Nef_3/complex_construction.cin -text
|
||||
Nef_3/examples/Nef_3/handling_double_coordinates.cin -text
|
||||
Nef_3/include/CGAL/Nef_3/Binary_operation.h -text
|
||||
Nef_3/include/CGAL/Nef_3/Default_items.h -text
|
||||
Nef_3/include/CGAL/Nef_3/Edge_edge_overlay.h -text
|
||||
Nef_3/include/CGAL/Nef_3/Halfedge.h -text
|
||||
Nef_3/include/CGAL/Nef_3/Halffacet.h -text
|
||||
|
|
|
|||
|
|
@ -0,0 +1,47 @@
|
|||
//
|
||||
// This file is part of CGAL (www.cgal.org); you may redistribute it under
|
||||
// the terms of the Q Public License version 1.0.
|
||||
// See the file LICENSE.QPL distributed with CGAL.
|
||||
//
|
||||
// Licensees holding a valid commercial license may use this file in
|
||||
// accordance with the commercial license agreement provided with the software.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
//
|
||||
// $URL: svn+ssh://hachenb@scm.gforge.inria.fr/svn/cgal/trunk/Nef_2/include/CGAL/Is_extended_kernel.h $
|
||||
// $Id: Is_extended_kernel.h 30322 2006-04-14 15:07:17Z lsaboret $
|
||||
//
|
||||
//
|
||||
// Author(s) : Andreas Fabri <andreas.fabri@geometryfactory.com>
|
||||
|
||||
#ifndef CGAL_NEF_DEFAULT_ITEMS_H
|
||||
#define CGAL_NEF_DEFAULT_ITEMS_H
|
||||
|
||||
#include <CGAL/Nef_3/SNC_items.h>
|
||||
#include <CGAL/Nef_3/SNC_indexed_items.h>
|
||||
#include <CGAL/Extended_homogeneous.h>
|
||||
#include <CGAL/Extended_cartesian.h>
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
template<class Kernel>
|
||||
struct Default_items {
|
||||
typedef CGAL::SNC_indexed_items Items;
|
||||
};
|
||||
|
||||
template<> template<typename Kernel>
|
||||
struct Default_items<CGAL::Extended_homogeneous<Kernel> > {
|
||||
typedef CGAL::SNC_indexed_items Items;
|
||||
};
|
||||
|
||||
template<> template<typename Kernel>
|
||||
struct Default_items<CGAL::Extended_cartesian<Kernel> > {
|
||||
typedef CGAL::SNC_indexed_items Items;
|
||||
};
|
||||
|
||||
CGAL_END_NAMESPACE
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue