Go to the source code of this file.
Defines | |
#define | vgl_polygon_test_txx_ |
#define | VGL_POLYGON_TEST_INSTANTIATE(T) template bool vgl_polygon_test_inside(T const*, T const*, unsigned, T, T) |
Functions | |
template<class T > | |
bool | vgl_polygon_test_inside (T const *xs, T const *ys, unsigned n, T x, T y) |
return true iff (x, y) is inside (or on boundary of) the given n-gon. |
Definition in file vgl_polygon_test.txx.
#define VGL_POLYGON_TEST_INSTANTIATE | ( | T | ) | template bool vgl_polygon_test_inside(T const*, T const*, unsigned, T, T) |
Definition at line 53 of file vgl_polygon_test.txx.
#define vgl_polygon_test_txx_ |
Definition at line 3 of file vgl_polygon_test.txx.
bool vgl_polygon_test_inside | ( | T const * | xs, |
T const * | ys, | ||
unsigned | n, | ||
T | x, | ||
T | y | ||
) |
return true iff (x, y) is inside (or on boundary of) the given n-gon.
Definition at line 12 of file vgl_polygon_test.txx.