/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{createPolyline as t}from"../../../views/draw/support/createUtils.js";function e(e,l){const s=e.samples??[],n=s.length-1,r=[];let o=[];for(let t=0;t<=n;t++){const{x:e,y:l,z:p}=s[t];null!=p&&o.push([e,l,p]),t!==n&&null!=p||!o.length||(r.push(o),o=[])}return t(r,l,!0)}export{e as createLineGeometry};
