import '../../../globals.js';
// Copyright 2022-2024, University of Colorado Boulder
/**
 * A SegmentTree for Vertices. See SegmentTree for more details
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import { kite, SegmentTree } from '../imports.js';
export default class VertexSegmentTree extends SegmentTree {
    getMinX(vertex, epsilon) {
        return vertex.point.x - epsilon;
    }
    getMaxX(vertex, epsilon) {
        return vertex.point.x + epsilon;
    }
}
kite.register('VertexSegmentTree', VertexSegmentTree);
//# sourceMappingURL=VertexSegmentTree.js.map