BG_Flood  0.8
Documentation (Work-in-progress)
Poly.h
Go to the documentation of this file.
1 
2 #ifndef POLY_H
3 #define POLY_H
4 
5 #include "General.h"
6 #include "Param.h"
7 #include "Input.h"
8 #include "Write_txtlog.h"
9 #include "Util_CPU.h"
10 #include "Forcing.h"
11 #include "Arrays.h"
12 #include "MemManagement.h"
13 
14 template <class T> bool blockinpoly(T xo, T yo, T dx, int blkwidth, Polygon Poly);
15 template <class T> int wn_PnPoly(T Px, T Py, Polygon Poly);
17 
18 
19 // End of global definition
20 #endif
Polygon CounterCWPoly(Polygon Poly)
check polygon handedness and reverse if necessary.
Definition: Poly.cu:194
int wn_PnPoly(T Px, T Py, Polygon Poly)
winding number test for a point in a polygon
Definition: Poly.cu:161
bool blockinpoly(T xo, T yo, T dx, int blkwidth, Polygon Poly)
check whether a block is inside or intersectin a polygon
Definition: Poly.cu:400
Definition: Input.h:94