@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
1 lines • 5.14 kB
JavaScript
;(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8887],{3209:(e,n,t)=>{t.d(n,{A:()=>T,B:()=>b,C:()=>A,D:()=>C,E:()=>L,F:()=>I,G:()=>V,H:()=>j,I:()=>k,J:()=>H,K:()=>O,L:()=>_,M:()=>q,N:()=>B,a:()=>c,b:()=>u,c:()=>s,d:()=>a,e:()=>o,f:()=>f,g:()=>X,h:()=>l,i:()=>h,j:()=>G,k:()=>x,l:()=>M,m:()=>y,n:()=>w,o:()=>d,p:()=>R,q:()=>Z,r:()=>m,s:()=>v,t:()=>g,u:()=>P,v:()=>z,w:()=>p,x:()=>E,y:()=>S,z:()=>D});var r=t(49930),i=t(7320);function o(e){return r.G.extendedSpatialReferenceInfo(e)}function s(e,n,t){return r.G.clip(i.g,e,n,t)}function c(e,n,t){return r.G.cut(i.g,e,n,t)}function u(e,n,t){return r.G.contains(i.g,e,n,t)}function a(e,n,t){return r.G.crosses(i.g,e,n,t)}function f(e,n,t,o){return r.G.distance(i.g,e,n,t,o)}function l(e,n,t){return r.G.equals(i.g,e,n,t)}function h(e,n,t){return r.G.intersects(i.g,e,n,t)}function g(e,n,t){return r.G.touches(i.g,e,n,t)}function p(e,n,t){return r.G.within(i.g,e,n,t)}function G(e,n,t){return r.G.disjoint(i.g,e,n,t)}function d(e,n,t){return r.G.overlaps(i.g,e,n,t)}function m(e,n,t,o){return r.G.relate(i.g,e,n,t,o)}function x(e,n){return r.G.isSimple(i.g,e,n)}function v(e,n){return r.G.simplify(i.g,e,n)}function M(e,n,t=!1){return r.G.convexHull(i.g,e,n,t)}function y(e,n,t){return r.G.difference(i.g,e,n,t)}function w(e,n,t){return r.G.symmetricDifference(i.g,e,n,t)}function R(e,n,t){return r.G.intersect(i.g,e,n,t)}function P(e,n,t=null){return r.G.union(i.g,e,n,t)}function Z(e,n,t,o,s,c,u){return r.G.offset(i.g,e,n,t,o,s,c,u)}function z(e,n,t,o,s=!1){return r.G.buffer(i.g,e,n,t,o,s)}function E(e,n,t,o,s,c,u){return r.G.geodesicBuffer(i.g,e,n,t,o,s,c,u)}function S(e,n,t,o=!0){return r.G.nearestCoordinate(i.g,e,n,t,o)}function D(e,n,t){return r.G.nearestVertex(i.g,e,n,t)}function T(e,n,t,o,s){return r.G.nearestVertices(i.g,e,n,t,o,s)}function b(e,n,t,i){if(null==n||null==i)throw new Error("Illegal Argument Exception");const o=r.G.rotate(n,t,i);return o.spatialReference=e,o}function A(e,n,t){if(null==n||null==t)throw new Error("Illegal Argument Exception");const i=r.G.flipHorizontal(n,t);return i.spatialReference=e,i}function C(e,n,t){if(null==n||null==t)throw new Error("Illegal Argument Exception");const i=r.G.flipVertical(n,t);return i.spatialReference=e,i}function L(e,n,t,o,s){return r.G.generalize(i.g,e,n,t,o,s)}function I(e,n,t,o){return r.G.densify(i.g,e,n,t,o)}function V(e,n,t,o,s=0){return r.G.geodesicDensify(i.g,e,n,t,o,s)}function j(e,n,t){return r.G.planarArea(i.g,e,n,t)}function k(e,n,t){return r.G.planarLength(i.g,e,n,t)}function H(e,n,t,o){return r.G.geodesicArea(i.g,e,n,t,o)}function O(e,n,t,o){return r.G.geodesicLength(i.g,e,n,t,o)}function _(e,n,t){return null==n||null==t?[]:r.G.intersectLinesToPoints(i.g,e,n,t)}function q(e,n){r.G.changeDefaultSpatialReferenceTolerance(e,n)}function B(e){r.G.clearDefaultSpatialReferenceTolerance(e)}const X=Object.freeze(Object.defineProperty({__proto__:null,buffer:z,changeDefaultSpatialReferenceTolerance:q,clearDefaultSpatialReferenceTolerance:B,clip:s,contains:u,convexHull:M,crosses:a,cut:c,densify:I,difference:y,disjoint:G,distance:f,equals:l,extendedSpatialReferenceInfo:o,flipHorizontal:A,flipVertical:C,generalize:L,geodesicArea:H,geodesicBuffer:E,geodesicDensify:V,geodesicLength:O,intersect:R,intersectLinesToPoints:_,intersects:h,isSimple:x,nearestCoordinate:S,nearestVertex:D,nearestVertices:T,offset:Z,overlaps:d,planarArea:j,planarLength:k,relate:m,rotate:b,simplify:v,symmetricDifference:w,touches:g,union:P,within:p},Symbol.toStringTag,{value:"Module"}))},7320:(e,n,t)=>{t.d(n,{g:()=>r});const r={convertToGEGeometry:function(e,n){return null==n?null:e.convertJSONToGeometry(n)},exportPoint:function(e,n,t){const r=new i(e.getPointX(n),e.getPointY(n),t),o=e.hasZ(n),s=e.hasM(n);return o&&(r.z=e.getPointZ(n)),s&&(r.m=e.getPointM(n)),r},exportPolygon:function(e,n,t){return new o(e.exportPaths(n),t,e.hasZ(n),e.hasM(n))},exportPolyline:function(e,n,t){return new s(e.exportPaths(n),t,e.hasZ(n),e.hasM(n))},exportMultipoint:function(e,n,t){return new c(e.exportPoints(n),t,e.hasZ(n),e.hasM(n))},exportExtent:function(e,n,t){const r=e.hasZ(n),i=e.hasM(n),o=new u(e.getXMin(n),e.getYMin(n),e.getXMax(n),e.getYMax(n),t);if(r){const t=e.getZExtent(n);o.zmin=t.vmin,o.zmax=t.vmax}if(i){const t=e.getMExtent(n);o.mmin=t.vmin,o.mmax=t.vmax}return o}};class i{constructor(e,n,t){this.x=e,this.y=n,this.spatialReference=t,this.z=void 0,this.m=void 0}}class o{constructor(e,n,t,r){this.rings=e,this.spatialReference=n,this.hasZ=void 0,this.hasM=void 0,t&&(this.hasZ=t),r&&(this.hasM=r)}}class s{constructor(e,n,t,r){this.paths=e,this.spatialReference=n,this.hasZ=void 0,this.hasM=void 0,t&&(this.hasZ=t),r&&(this.hasM=r)}}class c{constructor(e,n,t,r){this.points=e,this.spatialReference=n,this.hasZ=void 0,this.hasM=void 0,t&&(this.hasZ=t),r&&(this.hasM=r)}}class u{constructor(e,n,t,r,i){this.xmin=e,this.ymin=n,this.xmax=t,this.ymax=r,this.spatialReference=i,this.zmin=void 0,this.zmax=void 0,this.mmin=void 0,this.mmax=void 0}}},68887:(e,n,t)=>{t.r(n),t.d(n,{executeGEOperation:()=>i});var r=t(3209);function i(e){return(0,r.g[e.operation])(...e.parameters)}}}]);