Overture  Version 25
Geom.h
Go to the documentation of this file.
1 #ifndef __KKC_GEOM__
2 #define __KKC_GEOM__
3 
4 // AP: Is this really necessary? #include "Overture.h"
5 #include "aString.H" // defines true (!)
6 #include "mathutil.h" // defines min, max, etc.
7 
8 #include "ArraySimple.h"
9 #include "Face.h"
10 #include "ShewchukPredicates.h"
11 
12 
13 #define USE_SARRAY
14 
15 #ifndef USE_SARRAY
16 bool intersect2D(realArray const &a, realArray const &b, realArray const &c, realArray const &d, bool &isParallel);
17 
18 #else
19 
20 bool intersect2D(const ArraySimple<real> &a, const ArraySimple<real> &b,
21  const ArraySimple<real> &c, const ArraySimple<real> &d, bool &isParallel);
22 
23 bool intersect3D(const ArraySimpleFixed<real,3,3,1,1> &triVertices,
26  bool &isParallel, real &angle, real ftol=0.0);
27 
28 int
30  ArraySimple<real> const &p2,
31  ArraySimple<real> const &p3, ArraySimple<real> &center);
32 
33 #endif
34 
35 #include "Geom_inline.C"
36 
37 #endif