BWAPI
SPAR/AIModule/BWTA/vendors/CGAL/CGAL/AABB_intersections/Bbox_3_bbox_3_do_intersect.h
Go to the documentation of this file.
00001 // Copyright (c) 2008  INRIA Sophia-Antipolis (France), ETHZ (Suisse).
00002 // Copyright (c) 2009  GeometryFactory (France)
00003 // All rights reserved.
00004 //
00005 // This file is part of CGAL (www.cgal.org); you may redistribute it under
00006 // the terms of the Q Public License version 1.0.
00007 // See the file LICENSE.QPL distributed with CGAL.
00008 //
00009 // Licensees holding a valid commercial license may use this file in
00010 // accordance with the commercial license agreement provided with the software.
00011 //
00012 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00013 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00014 //
00015 // $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.5-branch/AABB_tree/include/CGAL/AABB_intersections/Bbox_3_bbox_3_do_intersect.h $
00016 // $Id: Bbox_3_bbox_3_do_intersect.h 53383 2009-12-11 08:01:50Z stayeb $
00017 // 
00018 //
00019 // Author(s)     :  Laurent Rineau, Camille Wormser, Jane Tournois, Pierre Alliez
00020 
00021 #ifndef CGAL_BBOX_3_BBOX_3_DO_INTERSECT_H
00022 #define CGAL_BBOX_3_BBOX_3_DO_INTERSECT_H
00023 
00024 // Turn off Visual C++ warning
00025 #ifdef _MSC_VER
00026 #pragma warning ( disable : 4003 )
00027 #endif
00028 
00029 CGAL_BEGIN_NAMESPACE
00030 
00031 bool
00032 inline
00033 do_intersect(const CGAL::Bbox_3& c, 
00034                   const CGAL::Bbox_3& bbox)
00035 {
00036   return CGAL::do_overlap(c, bbox);
00037 }
00038 
00039 CGAL_END_NAMESPACE
00040 
00041 #endif  // CGAL_BBOX_3_BBOX_3_DO_INTERSECT_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines