38 rect2(rhs[1].toRotatedRect());
41 plhs[0] =
MxArray(intersection);
const ConstMap< int, string > RectIntersectInvMap
types of intersection between rectangles
struct mxArray_tag mxArray
Forward declaration for mxArray.
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
Main entry called from Matlab.
mxArray object wrapper for data conversion and manipulation.
void nargchk(bool cond)
Alias for input/output arguments number check.
Global constant definitions.
int rotatedRectangleIntersection(const RotatedRect &rect1, const RotatedRect &rect2, OutputArray intersectingRegion)
std::map wrapper with one-line initialization and lookup method.