Remove not used Geometry classes
This commit is contained in:
parent
c3dbfc0e8b
commit
1aae2e7425
@ -1,31 +0,0 @@
|
||||
class Point {
|
||||
constructor(x, y) {
|
||||
this.x = x || 0;
|
||||
this.y = y || 0;
|
||||
}
|
||||
|
||||
moveX(val) {
|
||||
this.x += val;
|
||||
}
|
||||
|
||||
moveY(val) {
|
||||
this.y += val;
|
||||
}
|
||||
|
||||
setPosition(point) {
|
||||
this.x = point.x
|
||||
this.y = point.y;
|
||||
}
|
||||
}
|
||||
|
||||
class BBox {
|
||||
constructor (x, y, width, height) {
|
||||
this.position = new Point(x, y)
|
||||
this.width = width || 0;
|
||||
this.height = height || 0;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
BBox, Point,
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
const Extract = require('./../Extract');
|
||||
const Model = require('./../model');
|
||||
const VisitorBase = require('./VisitorBase');
|
||||
const Geometry = require('../model/Geometry');
|
||||
|
||||
/**
|
||||
* Visits text data while parsing pdf
|
||||
|
Loading…
Reference in New Issue
Block a user