import { Polygon, Sketch } from "../../../types/index.js"; import { genSampleSketch } from "../../../helpers/index.js"; // bbox - [xmin, ymin, xmax, ymax] // pixel - [left, bottom, right, top] export const quad1Poly: Sketch = genSampleSketch({ type: "Polygon", coordinates: [ [ [-2, 2], [-2, 18], [-18, 18], [-18, 2], [-2, 2], ], ], }); export const quad2Poly: Sketch = genSampleSketch({ type: "Polygon", coordinates: [ [ [2, 2], [2, 18], [18, 18], [18, 2], [2, 2], ], ], }); export const allQuadPoly: Sketch = genSampleSketch({ type: "Polygon", coordinates: [ [ [-18, -18], [-18, 18], [18, 18], [18, -18], [-18, -18], ], ], }); export const outsideQuadPoly: Sketch = genSampleSketch({ type: "Polygon", coordinates: [ [ [30, 30], [30, 50], [50, 50], [50, 30], [30, 30], ], ], }); export default { quad1Poly, quad2Poly, allQuadPoly, outsideQuadPoly, };