Mercator
Intersect.h
1 // This file may be redistributed and modified only under the terms of
2 // the GNU General Public License (See COPYING for details).
3 // Copyright (C) 2003 Damien McGinnes
4 
5 #ifndef MERCATOR_INTERSECT
6 #define MERCATOR_INTERSECT
7 
8 #include <wfmath/axisbox.h>
9 #include <wfmath/vector.h>
10 #include <wfmath/point.h>
11 #include <Mercator/Terrain.h>
12 
13 namespace Mercator {
14 
15  bool Intersect(const Terrain &t, const WFMath::AxisBox<3> &bbox);
16  bool Intersect(const Terrain &t, const WFMath::Point<3> &pt);
17 
18  bool Intersect(const Terrain &t, const WFMath::Point<3> &sPt, const WFMath::Vector<3>& dir,
19  WFMath::Point<3> &intersection, WFMath::Vector<3> &normal, float &par);
20 } // namespace Mercator
21 
22 #endif
Definition: Area.cpp:20