// ============================================================================ // // Copyright (c) 1998 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 : test/Triangulation/test_constrained_triangulation.C // source : $URL$ // revision : $Id$ // revision_date : $Date$ // author(s) : Francois Rebufat (Francois.Rebufat@sophia.inria.fr) // // coordinator : INRIA Sophia-Antipolis // ============================================================================ #include #include #include #include #include // Explicit instantiation of the whole class : template class CGAL::Constrained_triangulation_2; int main() { std::cout << "Testing constrained_triangulation "<< std::endl; std::cout << " with No_intersection_tag : " << std::endl; typedef CGAL::Constrained_triangulation_2 Ct; _test_cls_constrained_triangulation(Ct()); std::cout << "Testing constrained_triangulation "<< std::endl; std::cout << " with Exact_predicates_tag : " << std::endl; typedef CGAL::Triangulation_vertex_base_2 Vb; typedef CGAL::Constrained_triangulation_face_base_2 Fb; typedef CGAL::Triangulation_data_structure_2 TDS; typedef CGAL::Exact_predicates_tag Itag; typedef CGAL::Constrained_triangulation_2 Ctwi; _test_cls_constrained_triangulation(Ctwi()); std::cout << "Testing constrained_triangulation "<< std::endl; std::cout << " with Exact_intersections_tag : " << std::endl; typedef CGAL::Triangulation_vertex_base_2 Vbb; typedef CGAL::Constrained_triangulation_face_base_2 Fbb; typedef CGAL::Triangulation_data_structure_2 TDSS; typedef CGAL::Exact_intersections_tag EItag; typedef CGAL::Constrained_triangulation_2 Ctwei; _test_cls_constrained_triangulation(Ctwei()); return 0; }