@opencvjs/types 4.10.0-release.4 → 4.10.0-release.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -59,15 +59,15 @@ export declare class RotatedRect {
|
|
|
59
59
|
*/
|
|
60
60
|
public constructor(point1: Point2f, point2: Point2f, point3: Point2f);
|
|
61
61
|
|
|
62
|
-
public boundingRect(): Rect;
|
|
62
|
+
public static boundingRect(rect: RotatedRect): Rect;
|
|
63
63
|
|
|
64
|
-
public boundingRect2f():
|
|
64
|
+
public static boundingRect2f(rect: RotatedRect): Rect;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* returns 4 vertices of the rectangle
|
|
68
68
|
*
|
|
69
|
-
* @param
|
|
70
|
-
* topRight, bottomRight
|
|
69
|
+
* @param rect The rotated rectangle
|
|
70
|
+
* @returns Array of 4 points in order: bottomLeft, topLeft, topRight, bottomRight
|
|
71
71
|
*/
|
|
72
|
-
public points(
|
|
72
|
+
public static points(rect: RotatedRect): Point2f[];
|
|
73
73
|
}
|