← Back

ofxPointInPolyline

github.com/genekogan/ofxPointInPolyline · @genekogan
OF 0.8 Utilities

[obsolete] lightweight openframeworks addon for checking if a point lies inside a polygon

3 0 Last commit 12y ago Created 12y ago

README

Obsolete



This functionality is a duplicate of ofPolyline::inside(ofPoint& p), so it is obsolete... better to use the one in the core.

ofxPointInPolyline



This is a simple openFrameworks addon for determining if a given ofPoint lies inside a polygon (specified by an ofPolyline). polygons can be convex/concave, and have any number of vertices. See included example. Usage is simple:

bool isInside(ofPolyline poly, ofPoint p); Code is adapted from this link.

Get this addon

HTTPS
SSH