Ask Your Question

Revision history [back]

Is there a function to see if a polygon is contained within another polygon?

I need to test to see if a polygon is contained within another polygon. Right now I'm just iterating through the points in one polygon and calling pointPolygonTest() on each one. I'm wondering if there is an openCV function to do this in a single call.