@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 924 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{G as e}from"./SimpleGeometryCursor.js";import{d as r}from"./Geometry.js";import{d as t,D as s}from"./QuadraticBezier.js";var n=s;class i extends e{constructor(e,r,t,s,i,o){super(),this.m_densificator=new n(r,t,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 r(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,r,t){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}executeMany(e,r,t,s,n,o=12e3){return new i(e,r,t,s,o,n)}execute(e,r,s,n,i,o=12e3){return t(e,r,s,n,i,o)}}export{o as O};