@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 701 B
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
*/
import{c as t,a as s,g as i,h as r}from"../../../../../chunks/vec32.js";import{create as h}from"../../../../../core/libs/gl-matrix-2/factories/vec3f32.js";import{create as o}from"../../../../../core/libs/gl-matrix-2/factories/vec3f64.js";class e{constructor(t){this._low=o(),this._high=o(),t&&this.set(t)}get low(){return this._low}get high(){return this._high}set(i){t(this._low,t(c,i));const r=s(c,i,this._low);t(this._high,r)}get(t){return i(t,this._low,this._high)}getLowScaled(t){return r(t,this._low,1)}}const c=h();export{e as TwoVectorPosition};