import { s } from "./chunk-XLJB6BCW.js"; import { r } from "./chunk-GM5Q2WQ7.js"; import "./chunk-VCH45Q2I.js"; import "./chunk-6T6G6LCQ.js"; import "./chunk-YEJL5NEF.js"; import "./chunk-PQFTYGF5.js"; import "./chunk-2Z2TG5CU.js"; import "./chunk-6KZ2LTDA.js"; import "./chunk-U2XHEJM7.js"; import "./chunk-SQOPWYIT.js"; import "./chunk-V6P2MAQQ.js"; import "./chunk-E5O6P5I2.js"; import "./chunk-SPWQ3AWG.js"; import "./chunk-2TIUKVZN.js"; import "./chunk-YXWMMD76.js"; import "./chunk-S5KM4IGW.js"; // node_modules/@arcgis/core/geometry/geometryEngine.js function t(n) { return Array.isArray(n) ? n[0].spatialReference : n && n.spatialReference; } function r2(e) { return s.extendedSpatialReferenceInfo(e); } function u(r3, u2) { return s.clip(r, t(r3), r3, u2); } function i(r3, u2) { return s.cut(r, t(r3), r3, u2); } function c(r3, u2) { return s.contains(r, t(r3), r3, u2); } function o(r3, u2) { return s.crosses(r, t(r3), r3, u2); } function f(r3, u2, i2) { return s.distance(r, t(r3), r3, u2, i2); } function s2(r3, u2) { return s.equals(r, t(r3), r3, u2); } function a(r3, u2) { return s.intersects(r, t(r3), r3, u2); } function l(r3, u2) { return s.touches(r, t(r3), r3, u2); } function p(r3, u2) { return s.within(r, t(r3), r3, u2); } function d(r3, u2) { return s.disjoint(r, t(r3), r3, u2); } function m(r3, u2) { return s.overlaps(r, t(r3), r3, u2); } function g(r3, u2, i2) { return s.relate(r, t(r3), r3, u2, i2); } function h(r3) { return s.isSimple(r, t(r3), r3); } function w(r3) { return s.simplify(r, t(r3), r3); } function R(r3, u2 = false) { return s.convexHull(r, t(r3), r3, u2); } function x(r3, u2) { return s.difference(r, t(r3), r3, u2); } function y(r3, u2) { return s.symmetricDifference(r, t(r3), r3, u2); } function S(r3, u2) { return s.intersect(r, t(r3), r3, u2); } function A(r3, u2 = null) { return s.union(r, t(r3), r3, u2); } function D(r3, u2, i2, c2, o2, f2) { return s.offset(r, t(r3), r3, u2, i2, c2, o2, f2); } function j(r3, u2, i2, c2 = false) { return s.buffer(r, t(r3), r3, u2, i2, c2); } function E(r3, u2, i2, c2, o2, f2) { return s.geodesicBuffer(r, t(r3), r3, u2, i2, c2, o2, f2); } function J(r3, u2, i2 = true) { return s.nearestCoordinate(r, t(r3), r3, u2, i2); } function L(r3, u2) { return s.nearestVertex(r, t(r3), r3, u2); } function N(r3, u2, i2, c2) { return s.nearestVertices(r, t(r3), r3, u2, i2, c2); } function O(n) { var _a, _b; return "xmin" in n ? "center" in n ? n.center : null : "x" in n ? n : "extent" in n ? (_b = (_a = n.extent) == null ? void 0 : _a.center) != null ? _b : null : null; } function T(e, t2, r3) { if (null == e) throw new F(); const u2 = e.spatialReference; if (null == (r3 = r3 != null ? r3 : O(e))) throw new F(); const i2 = e.constructor.fromJSON(s.rotate(e, t2, r3)); return i2.spatialReference = u2, i2; } function V(e, t2) { if (null == e) throw new F(); const r3 = e.spatialReference; if (null == (t2 = t2 != null ? t2 : O(e))) throw new F(); const u2 = e.constructor.fromJSON(s.flipHorizontal(e, t2)); return u2.spatialReference = r3, u2; } function v(e, t2) { if (null == e) throw new F(); const r3 = e.spatialReference; if (null == (t2 = t2 != null ? t2 : O(e))) throw new F(); const u2 = e.constructor.fromJSON(s.flipVertical(e, t2)); return u2.spatialReference = r3, u2; } function z(r3, u2, i2, c2) { return s.generalize(r, t(r3), r3, u2, i2, c2); } function B(r3, u2, i2) { return s.densify(r, t(r3), r3, u2, i2); } function H(r3, u2, i2, c2 = 0) { return s.geodesicDensify(r, t(r3), r3, u2, i2, c2); } function I(r3, u2) { return s.planarArea(r, t(r3), r3, u2); } function b(r3, u2) { return s.planarLength(r, t(r3), r3, u2); } function k(r3, u2, i2) { return s.geodesicArea(r, t(r3), r3, u2, i2); } function q(r3, u2, i2) { return s.geodesicLength(r, t(r3), r3, u2, i2); } function C(r3, u2) { return s.intersectLinesToPoints(r, t(r3), r3, u2); } function G(e, t2) { s.changeDefaultSpatialReferenceTolerance(e, t2); } function P(e) { s.clearDefaultSpatialReferenceTolerance(e); } var F = class extends Error { constructor() { super("Illegal Argument Exception"); } }; export { j as buffer, G as changeDefaultSpatialReferenceTolerance, P as clearDefaultSpatialReferenceTolerance, u as clip, c as contains, R as convexHull, o as crosses, i as cut, B as densify, x as difference, d as disjoint, f as distance, s2 as equals, r2 as extendedSpatialReferenceInfo, V as flipHorizontal, v as flipVertical, z as generalize, k as geodesicArea, E as geodesicBuffer, H as geodesicDensify, q as geodesicLength, S as intersect, C as intersectLinesToPoints, a as intersects, h as isSimple, J as nearestCoordinate, L as nearestVertex, N as nearestVertices, D as offset, m as overlaps, I as planarArea, b as planarLength, g as relate, T as rotate, w as simplify, y as symmetricDifference, l as touches, A as union, p as within }; //# sourceMappingURL=geometryEngine-3QP2OBVR.js.map