PageSourceSearch

https://rxburnplanner.com/assets/proximityOperator-KAl6o2mr.js

js rxburnplanner.com collected 2026-10-05 11:47:53 UTC 1,522 bytes, 1 lines download raw bytes

1import"./Point2D-Dg_nYCFE.js";import"./Envelope2D-Ce1G9dtv.js";import"./ProjectionTransformation--FE933yF.js";import{gt as y,gu as p}from"./index-CyVzZKgG.js";import"./jsonConverter-DFF3fSnj.js";import{m as N}from"./OperatorProximity-BpgUFyW0.js";import{toPoint as S,getSpatialReference as c,fromGeometry as u,fromPoint as d}from"./apiConverter-BBq63Ift.js";function g(e,i,r=!1){const s=S(e.m_coordinate,c(i)),o=e.m_distance,t=e.isEmpty(),n=e.m_bRightSide;return{coordinate:s,distance:o,isEmpty:t,...r&&{isRightSide:n},vertexIndex:e.m_vertexIndex}}const m=new N;function _(e,i,r={}){const{calculateLeftRightSide:s=!1,testPolygonInterior:o=!0,unit:t}=r,n=m.getNearestCoordinate(u(e),d(i).getXY(),o,s);if(t&&n.m_distance){const a=c(e);n.m_distance=p(n.m_distance,a,t)}return g(n,e,s)}function f(e,i,r={}){const{unit:s}=r,o=m.getNearestVertex(u(e),d(i).getXY());if(s&&o.m_distance){const t=c(e);o.m_distance=p(o.m_distance,t,s)}return g(o,e)}function l(e,i,r,s,o={}){const{unit:t}=o,n=c(e);return t&&r&&(r=y(r,t,n)),m.getNearestVertices(u(e),d(i).getXY(),r,s).map(a=>(t&&a.m_distance&&(a.m_distance=p(a.m_distance,n,t)),g(a,e)))}const x=m.supportsCurves(),j=Object.freeze(Object.defineProperty({__proto__:null,getNearestCoordinate:_,getNearestVertex:f,getNearestVertices:l,supportsCurves:x},Symbol.toStringTag,{value:"Module"})),h=Object.freeze(Object.defineProperty({__proto__:null,getNearestCoordinate:_,getNearestVertex:f,getNearestVertices:l,supportsCurves:x},Symbol.toStringTag,{value:"Module"}));export{j as g,h as p};

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.