UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

3 lines (2 loc) 832 B
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ import{G as e}from"./GeometryCursor.js";import{c as t}from"./Geometry.js";import{d as r,D as s}from"./MultiPathImpl.js";var n=s;class i extends e{constructor(e,t,r,s,i,o){super(),this.m_densificator=new n(t,r,s,o,!1,i),this.m_index=-1,this.m_inputGeoms=e}tock(){return!0}getRank(){return 1}next(){let e=null;for(;e=this.m_inputGeoms.next();)return t(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.densify(e);return null}getGeometryID(){return this.m_index}densify(e){return this.m_densificator.densify(e)}}class o{getOperatorType(){return 10202}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}executeMany(e,t,r,s,n,o=12e3){return new i(e,t,r,s,o,n)}execute(e,t,s,n,i,o=12e3){return r(e,t,s,n,i,o)}}export{o as O};