cgal/Triangulation_3/test/Triangulation_3/test_delaunay_3.cpp

52 lines
1.6 KiB
C++

// Copyright (c) 1998 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// You can redistribute it and/or modify it under the terms of the GNU
// General Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your option) any later version.
//
// 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$
// $Id$
//
//
// Author(s) : Francois Rebufat
#define CGAL_NO_DEPRECATION_WARNINGS
#include <CGAL/Delaunay_triangulation_3.h>
#include <CGAL/Triangulation_cell_base_with_circumcenter_3.h>
bool del=true;
#include <CGAL/_test_types.h>
#include <CGAL/_test_cls_delaunay_3.h>
// Explicit instantiation of the whole class :
template class CGAL::Delaunay_triangulation_3<K>;
int main()
{
typedef CGAL::Delaunay_triangulation_3<EPIC> Cls;
typedef CGAL::Delaunay_triangulation_3<EPEC> Cls_with_epec;
_test_cls_delaunay_3( Cls() );
_test_cls_delaunay_3( Cls_with_epec() );
// Second version for the circumcenter storing cell base class.
typedef CGAL::Triangulation_vertex_base_3<K> Vb;
typedef CGAL::Triangulation_cell_base_with_circumcenter_3<K> Cb;
typedef CGAL::Triangulation_data_structure_3<Vb, Cb> TDS;
typedef CGAL::Delaunay_triangulation_3<K, TDS> Cls_circumcenter;
_test_cls_delaunay_3( Cls_circumcenter() );
return 0;
}