AABB tree: move files up

This commit is contained in:
Pierre Alliez 2009-04-24 13:35:41 +00:00
parent 19503da319
commit aeb4889551
21 changed files with 30 additions and 28 deletions

8
.gitattributes vendored
View File

@ -17,10 +17,10 @@ AABB_tree/dont_submit -text
AABB_tree/examples/AABB_tree/AABB_polyhedron_facet_example.cpp -text AABB_tree/examples/AABB_tree/AABB_polyhedron_facet_example.cpp -text
AABB_tree/examples/AABB_tree/AABB_triangle_3_example.cpp -text AABB_tree/examples/AABB_tree/AABB_triangle_3_example.cpp -text
AABB_tree/examples/AABB_tree/CMakeLists.txt -text AABB_tree/examples/AABB_tree/CMakeLists.txt -text
AABB_tree/include/CGAL/AABB_tree/AABB_intersections.h -text AABB_tree/include/CGAL/AABB_intersections.h -text
AABB_tree/include/CGAL/AABB_tree/AABB_polyhedron_triangle_primitive.h -text AABB_tree/include/CGAL/AABB_polyhedron_triangle_primitive.h -text
AABB_tree/include/CGAL/AABB_tree/AABB_traits.h -text AABB_tree/include/CGAL/AABB_traits.h -text
AABB_tree/include/CGAL/AABB_tree/Triangle_3_line_3_intersection.h -text AABB_tree/include/CGAL/Triangle_3_line_3_intersection.h -text
AABB_tree/test/AABB_tree/CMakeLists.txt -text AABB_tree/test/AABB_tree/CMakeLists.txt -text
AABB_tree/test/AABB_tree/aabb_intersection_test.cpp -text AABB_tree/test/AABB_tree/aabb_intersection_test.cpp -text
AABB_tree/test/AABB_tree/aabb_projection_test.cpp -text AABB_tree/test/AABB_tree/aabb_projection_test.cpp -text

View File

@ -1,29 +1,29 @@
// Copyright (c) 2009 INRIA Sophia-Antipolis (France). // Copyright (c) 2009 INRIA Sophia-Antipolis (France).
// All rights reserved. // All rights reserved.
// //
// This file is part of CGAL (www.cgal.org); you may redistribute it under // This file is part of CGAL (www.cgal.org); you may redistribute it under
// the terms of the Q Public License version 1.0. // the terms of the Q Public License version 1.0.
// See the file LICENSE.QPL distributed with CGAL. // See the file LICENSE.QPL distributed with CGAL.
// //
// Licensees holding a valid commercial license may use this file in // Licensees holding a valid commercial license may use this file in
// accordance with the commercial license agreement provided with the software. // accordance with the commercial license agreement provided with the software.
// //
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// //
// $URL: $ // $URL: $
// $Id: $ // $Id: $
// //
// //
// Author(s) : Camille Wormser, Pierre Alliez // Author(s) : Camille Wormser, Pierre Alliez
// //
//****************************************************************************** //******************************************************************************
// File Description : // File Description :
// //
//****************************************************************************** //******************************************************************************
#include <iostream> #include <iostream>
#include <Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/AABB_traits.h> #include <CGAL/AABB_traits.h>
#include <CGAL/AABB_triangle_primitive.h> #include <CGAL/AABB_triangle_primitive.h>
#include <CGAL/AABB_tree.h> #include <CGAL/AABB_tree.h>
@ -69,6 +69,7 @@ int main(void)
Point b(0.0, 1.0, 0.0); Point b(0.0, 1.0, 0.0);
Point c(0.0, 0.0, 1.0); Point c(0.0, 0.0, 1.0);
Point d(0.0, 0.0, 0.0); Point d(0.0, 0.0, 0.0);
std::list<Triangle> triangles; std::list<Triangle> triangles;
triangles.push_back(Triangle(a,b,c)); triangles.push_back(Triangle(a,b,c));
triangles.push_back(Triangle(a,b,d)); triangles.push_back(Triangle(a,b,d));

View File

@ -25,6 +25,7 @@ if ( CGAL_FOUND )
include( CGAL_CreateSingleSourceCGALProgram ) include( CGAL_CreateSingleSourceCGALProgram )
create_single_source_cgal_program("AABB_polyhedron_facet_example.cpp") create_single_source_cgal_program("AABB_polyhedron_facet_example.cpp")
create_single_source_cgal_program("AABB_triangle_3_example.cpp")
else() else()