/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{S as e}from"../../../chunks/SimpleGeometryCursor.js";import{G as r}from"../../../chunks/GeometryCursor.js";import{c as t}from"../../../chunks/Geometry.js";class n{getOperatorType(){return 10303}supportsCurves(){return!0}accelerateGeometry(e,r,t){return!1}canAccelerateGeometry(e){return!1}executeMany(e,r,t){return new o(e,r,t)}execute(e,r,t){const n=e.clone();return n.applyTransformation(r),n}}class o extends r{constructor(e,r,t){super(),this.m_index=-1,this.m_transformation=r.clone(),this.m_inputGeometryCursor=e}next(){let e;if(e=this.m_inputGeometryCursor.next()){t(e),this.m_index=this.m_inputGeometryCursor.getGeometryID();const r=e.clone();return r.applyTransformation(this.m_transformation),r}return null}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}}const s=new n;function u(e,r){return s.execute(e,r,null)}function m(r,t){const n=s.executeMany(new e(r),t,null);return Array.from(n)}function c(){return s.supportsCurves()}export{u as execute,m as executeMany,c as supportsCurves};
