Defines | Functions
core/vgl/vgl_polygon_test.h File Reference

Go to the source code of this file.

Defines

#define VGL_POLYGON_TEST_INSTANTIATE(T)   extern "please include vgl/vgl_polygon_test.txx instead"

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.

Detailed Description

Author:
fsm
    Modifications
     Nov.2003 - Peter Vanroose - made function templated
   

Definition in file vgl_polygon_test.h.


Define Documentation

#define VGL_POLYGON_TEST_INSTANTIATE (   T)    extern "please include vgl/vgl_polygon_test.txx instead"

Definition at line 17 of file vgl_polygon_test.h.


Function Documentation

template<class T >
bool vgl_polygon_test_inside ( T const *  xs,
T const *  ys,
unsigned  n,
x,
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.