Houjie
2025-07-24 52a3ff1bce1417b39f6872d8e8cb378e9c2ccc6f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import ResultPoint from '../../ResultPoint';
import BitMatrix from '../../common/BitMatrix';
import { int } from '../../../customTypings';
/**
 * @author Guenther Grau
 */
export default class BoundingBox {
    private image;
    private topLeft;
    private bottomLeft;
    private topRight;
    private bottomRight;
    private minX;
    private maxX;
    private minY;
    private maxY;
    constructor(image: BitMatrix | BoundingBox, topLeft?: ResultPoint, bottomLeft?: ResultPoint, topRight?: ResultPoint, bottomRight?: ResultPoint);
    /**
     *
     * @param image
     * @param topLeft
     * @param bottomLeft
     * @param topRight
     * @param bottomRight
     *
     * @throws NotFoundException
     */
    private constructor_1;
    private constructor_2;
    /**
     * @throws NotFoundException
     */
    static merge(leftBox: BoundingBox, rightBox: BoundingBox): BoundingBox;
    /**
     * @throws NotFoundException
     */
    addMissingRows(missingStartRows: int, missingEndRows: int, isLeft: boolean): BoundingBox;
    getMinX(): int;
    getMaxX(): int;
    getMinY(): int;
    getMaxY(): int;
    getTopLeft(): ResultPoint;
    getTopRight(): ResultPoint;
    getBottomLeft(): ResultPoint;
    getBottomRight(): ResultPoint;
}