|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
|
inline |
Containment test for a convex or concave polygon.
Uses the winding number algorithm, which handles both convex and non-convex polygons correctly. Vertices are in NDC, ordered either clockwise or counter-clockwise.
| vertices | Polygon vertices. Copied into the closure. |
Definition at line 227 of file Bounds.hpp.
Referenced by MayaFlux::Portal::Forma::Geometry::drawable_canvas(), and MayaFlux::Portal::Forma::Geometry::position_picker().
Here is the caller graph for this function: