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