Ask Your Question

Revision history [back]

C++ to Java/Android

I need conversion in this line of code "while(hierarchy[k][2] != -1)" from C++ to Java.

hierarchy is of type MatOfInt4 and k int.

PS hierarchy.get(k,2) doesen't work because return a double[]