1import{t as p,o as f,q as c,s as m,R as g,x as l,J as u,W as d}from"./ProjectionTransformation-D7I1OKS9.js";import"./Point2D-ByVU2sJE.js";import{Envelope2D as x}from"./Envelope2D-PYZ6irrd.js";import"./Transformation2D-HOoFpL6n.js";import"./SimpleGeometryCursor-B92kdZ15.js";import"./index-BdMpjrZC.js";import"./OperatorDefinitions-DP7_WWTp.js";function v(e,a,t){let s,i;if(t?.geographicTransformation){if(t.geographicTransformation.steps?.length){const n=new p;n.setInputSpatialReference(e),n.setOutputSpatialReference(a);for(const r of t.geographicTransformation.steps){let o;o=r.wkid?f(r.wkid,r.isInverse):c(r.wkt,r.isInverse),n.add(o)}s=n.create()}else s=u();if(t.extendedParams){i=d();const{densificationStep:n}=t.extendedParams;n!=null&&(i.densificationStep=n)}}else if(t?.areaOfInterestExtent)return m(e,a,I(t.areaOfInterestExtent));return s?g(e,a,s,i):l(e,a)}function I(e){return x.construct(e.xmin,e.ymin,e.xmax,e.ymax)}export{v as createProjectionTransformation};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.