1"use strict";(globalThis.webpackChunkturf_www||=[]).push([[10254],{11218(e,n,t){t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>h,default:()=>b,frontMatter:()=>d,metadata:()=>i,toc:()=>p});const i=JSON.parse('{"id":"api/types/clusterEachCallback","title":"clusterEachCallback","description":"Description","source":"@site/versioned_docs/version-7.3.0/api/types/clusterEachCallback.mdx","sourceDirName":"api/types","slug":"/api/types/clusterEachCallback","permalink":"/docs/7.3.0/api/types/clusterEachCallback","draft":false,"unlisted":false,"editUrl":"https://github.com/Turfjs/turf-www/tree/master/versioned_docs/version-7.3.0/api/types/clusterEachCallback.mdx","tags":[],"version":"7.3.0","frontMatter":{"title":"clusterEachCallback"},"sidebar":"apiSidebar","previous":{"title":"Units","permalink":"/docs/7.3.0/api/types/Units"},"next":{"title":"clusterReduceCallback","permalink":"/docs/7.3.0/api/types/clusterReduceCallback"}}');var r=t(86070),o=t(67028),s=t(64776),l={};t.r(l),t.d(l,{along:()=>s.Qwm,angle:()=>s.g7h,applyFilter:()=>s.$hf,area:()=>s.Wcw,areaFactors:()=>s.i26,azimuthToBearing:()=>s.Oe8,bbox:()=>s.Qk1,bboxClip:()=>s.ywB,bboxPolygon:()=>s.kJI,bearing:()=>s.dcc,bearingToAzimuth:()=>s.u8E,bezierSpline:()=>s.vKl,booleanClockwise:()=>s.D2R,booleanConcave:()=>s.U7O,booleanContains:()=>s.yxm,booleanCrosses:()=>s.hkq,booleanDisjoint:()=>s.t5S,booleanEqual:()=>s.x0k,booleanIntersects:()=>s.lgr,booleanOverlap:()=>s.cYD,booleanParallel:()=>s.Y5$,booleanPointInPolygon:()=>s.mFO,booleanPointOnLine:()=>s.O84,booleanTouches:()=>s.UsQ,booleanValid:()=>s.hxF,booleanWithin:()=>s.Cei,buffer:()=>s.ra8,center:()=>s.gXo,centerMean:()=>s.rb,centerMedian:()=>s.eZr,centerOfMass:()=>s.NAY,centroid:()=>s.vh2,circle:()=>s.n1W,cleanCoords:()=>s.ayX,clone:()=>s.o8B,cloneProperties:()=>s.Rdw,clusterEach:()=>s.UZ0,clusterReduce:()=>s.HYf,clusters:()=>s.qf7,clustersDbscan:()=>s.Zqw,clustersKmeans:()=>s.pPd,collect:()=>s.Fod,collectionOf:()=>s.iww,combine:()=>s.kg7,concave:()=>s.Ms8,containsNumber:()=>s.lOq,convertArea:()=>s.vnt,convertLength:()=>s.I3T,convex:()=>s.y5H,coordAll:()=>s.D3w,coordEach:()=>s.Fh1,coordReduce:()=>s.k7X,createBins:()=>s.f8u,degreesToRadians:()=>s.tRv,destination:()=>s.j_,difference:()=>s.iv2,directionalMean:()=>s.eFb,dissolve:()=>s.a1F,distance:()=>s.IoC,distanceWeight:()=>s.mJ,earthRadius:()=>s.zXD,ellipse:()=>s.pw2,envelope:()=>s.REH,explode:()=>s.Gdr,factors:()=>s.PgN,feature:()=>s.N4z,featureCollection:()=>s.Lrk,featureEach:()=>s.usj,featureOf:()=>s.mo4,featureReduce:()=>s.n4j,filterProperties:()=>s.qV7,findPoint:()=>s.Yd2,findSegment:()=>s.ptW,flatten:()=>s.Bqz,flattenEach:()=>s.iwz,flattenReduce:()=>s.VJK,flip:()=>s.UUz,geojsonRbush:()=>s.sZS,geojsonType:()=>s.e8v,geomEach:()=>s.kX6,geomReduce:()=>s.jEc,geometry:()=>s.lCx,geometryCollection:()=>s.zbs,getCluster:()=>s.dB3,getCoord:()=>s.uGX,getCoords:()=>s.$Rn,getGeom:()=>s.bgk,getType:()=>s.Pwh,greatCircle:()=>s.Glg,helpers:()=>s._$r,hexGrid:()=>s.O9B,interpolate:()=>s.GWP,intersect:()=>s.y$5,invariant:()=>s.V1S,isNumber:()=>s.EtT,isObject:()=>s.Gvm,isobands:()=>s.Mii,isolines:()=>s.LNI,kinks:()=>s.nUT,length:()=>s.Bw9,lengthToDegrees:()=>s.vlv,lengthToRadians:()=>s.GfV,lineArc:()=>s.FsR,lineChunk:()=>s.W26,lineEach:()=>s.Iet,lineIntersect:()=>s.kVe,lineOffset:()=>s.uO7,lineOverlap:()=>s._Jg,lineReduce:()=>s.t0h,lineSegment:()=>s.wdR,lineSlice:()=>s.ne9,lineSliceAlong:()=>s.qMT,lineSplit:()=>s.JQ7,lineString:()=>s.wiw,lineStrings:()=>s.Nls,lineToPolygon:()=>s.gP4,mask:()=>s.dKf,meta:()=>s.mIj,midpoint:()=>s.PVF,moranIndex:()=>s.KFB,multiLineString:()=>s.NUZ,multiPoint:()=>s.kBJ,multiPolygon:()=>s.g52,nearestNeighborAnalysis:()=>s.rBB,nearestPoint:()=>s.xCI,nearestPointOnLine:()=>s.W1F,nearestPointToLine:()=>s.K9N,planepoint:()=>s.xYr,point:()=>s.zx7,pointGrid:()=>s.hq2,pointOnFeature:()=>s.QwJ,pointToLineDistance:()=>s.d4V,pointToPolygonDistance:()=>s.fJX,points:()=>s.WRA,pointsWithinPolygon:()=>s.nj9,polygon:()=>s.n1,polygonSmooth:()=>s.bmV,polygonTangents:()=>s.v4M,polygonToLine:()=>s.CNZ,polygonize:()=>s.Tz9,polygons:()=>s.qFD,projection:()=>s.Qju,propEach:()=>s.nPV,propReduce:()=>s.qBo,propertiesContainsFilter:()=>s.NLl,quadratAnalysis:()=>s.txz,radiansToDegrees:()=>s.nv6,radiansToLength:()=>s.cJD,random:()=>s.yTv,randomLineString:()=>s.lWQ,randomPoint:()=>s._eC,randomPolygon:()=>s.myJ,randomPosition:()=>s.Dxs,rectangleGrid:()=>s.K1I,rewind:()=>s.KrA,rhumbBearing:()=>
1s.Fc$,rhumbDestination:()=>s.rmV,rhumbDistance:()=>s.EUY,round:()=>s.LIG,sample:()=>s.XM1,sector:()=>s.rkH,segmentEach:()=>s.RPu,segmentReduce:()=>s.OQs,shortestPath:()=>s._6q,simplify:()=>s.CRN,square:()=>s.EwI,squareGrid:()=>s.cS4,standardDeviationalEllipse:()=>s.C0c,tag:()=>s.TcI,tesselate:()=>s.nYW,tin:()=>s.ucs,toMercator:()=>s.FU4,toWgs84:()=>s.zY8,transformRotate:()=>s.qS_,transformScale:()=>s.nIv,transformTranslate:()=>s.tLh,triangleGrid:()=>s.Vwd,truncate:()=>s.xvE,union:()=>s.KCZ,unkinkPolygon:()=>s.BoU,validateBBox:()=>s.O6s,validateId:()=>s.GZo,voronoi:()=>s.B8d});var a=t(35876),c=t(25333);const d={title:"clusterEachCallback"},h=void 0,u={},p=[{value:"Description",id:"description",level:3},{value:"Definition",id:"definition",level:3},{value:"Returns",id:"returns",level:3}];function g(e){const n={a:"a",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h3,{id:"description",children:"Description"}),"\n",(0,r.jsx)(n.p,{children:"Callback for clusterEach"}),"\n",(0,r.jsx)(n.h3,{id:"definition",children:"Definition"}),"\n",(0,r.jsx)(n.p,{children:"function ("}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Name"}),(0,r.jsx)(n.th,{children:"Type"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsxs)(n.td,{children:["cluster",(0,r.jsx)("i",{children:"?"})]}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.a,{href:"https://tools.ietf.org/html/rfc7946#section-3.3",children:"FeatureCollection"})})}),(0,r.jsx)(n.td,{children:"The current cluster being processed."})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsxs)(n.td,{children:["clusterValue",(0,r.jsx)("i",{children:"?"})]}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"any"})}),(0,r.jsx)(n.td,{children:"Value used to create cluster being processed."})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsxs)(n.td,{children:["currentIndex",(0,r.jsx)("i",{children:"?"})]}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.a,{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",children:"number"})})}),(0,r.jsx)(n.td,{children:"The index of the current element being processed in the array.Starts at index 0"})]})]})]}),"\n",(0,r.jsx)(n.p,{children:")"}),"\n",(0,r.jsx)(n.h3,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"void"})}),"\n",(0,r.jsx)(c.A,{children:()=>(0,r.jsx)(a.A,{turf:l})})]})}function b(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(g,{...e})}):g(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.