import '../../../globals.js';
// Copyright 2023-2024, University of Colorado Boulder
/**
 * Like Vector2, but with BigRationals
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import { alpenglow } from '../imports.js';
export default class BigRationalVector2 {
    constructor(x, y) {
        this.x = x;
        this.y = y;
    }
    equals(vector) {
        return this.x.equals(vector.x) && this.y.equals(vector.y);
    }
    toString() {
        return `(${this.x}, ${this.y})`;
    }
}
alpenglow.register('BigRationalVector2', BigRationalVector2);
//# sourceMappingURL=BigRationalVector2.js.map