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