![]() |
|
Namespace with helper function for polygons. More...
Functions | |
| bool | point_is_in_polygon (const Vector< double > &point, const Vector< Vector< double > > &polygon_vertex) |
Namespace with helper function for polygons.
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
| bool oomph::PolygonHelper::point_is_in_polygon | ( | const Vector< double > & | point, |
| const Vector< Vector< double > > & | polygon_vertex | ||
| ) |
Check if point in inside polygon. Reference: http://paulbourke.net/geometry/insidepoly/
References i, max, min, OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, p1, and sqrt().