Merge change 2678 into donut
* changes: Converted the angle of OrientedBoundingBox to degrees
This commit is contained in:
@@ -413,7 +413,7 @@ final class GestureUtilities {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return new OrientedBoundingBox(angle, centroid[0], centroid[1], maxx - minx, maxy - miny);
|
return new OrientedBoundingBox((float) (angle * 180 / Math.PI), centroid[0], centroid[1], maxx - minx, maxy - miny);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static double[] computeOrientation(double[][] covarianceMatrix) {
|
private static double[] computeOrientation(double[][] covarianceMatrix) {
|
||||||
|
|||||||
Reference in New Issue
Block a user