void computePotentialSplitScore ( List < Point2D_I32 > contour , Element < Corner > e0 , boolean mustSplit ) { Element < Corner > e1 = next ( e0 ) ; e0 . object . splitable = canBeSplit ( contour , e0 , mustSplit ) ; if ( e0 . object . splitable ) { setSplitVariables ( contour , e0 , e1 ) ; } }
Computes the split location and the score of the two new sides if it s split there