MCPcopy Create free account
hub / github.com/microsoft/SandDance / bboxGeometry

Function bboxGeometry

docs/app/js/sanddance-app.js:109379–109391  ·  view source on GitHub ↗
(o)

Source from the content-addressed store, hash-verified

109377 if (p[1] > y1) y1 = p[1];
109378 }
109379 function bboxGeometry(o) {
109380 switch(o.type){
109381 case "GeometryCollection":
109382 o.geometries.forEach(bboxGeometry);
109383 break;
109384 case "Point":
109385 bboxPoint(o.coordinates);
109386 break;
109387 case "MultiPoint":
109388 o.coordinates.forEach(bboxPoint);
109389 break;
109390 }
109391 }
109392 topology.arcs.forEach(function(arc) {
109393 var i = -1, n = arc.length, p;
109394 while(++i < n){

Callers 1

sanddance-app.jsFile · 0.70

Calls 2

bboxPointFunction · 0.70
forEachMethod · 0.45

Tested by

no test coverage detected