MCPcopy
hub / github.com/widgetti/ipyvolume / transform

Function transform

docs/source/examples/js/ipyvolume_v0.6.0-dev.1.js:10144–10148  ·  view source on GitHub ↗
(geometry)

Source from the content-addressed store, hash-verified

10142 }
10143
10144 function transform(geometry) {
10145 geometry.value *= Math.pow(2, -2 * k); // Density in points per square pixel.
10146 geometry.coordinates.forEach(transformPolygon);
10147 return geometry;
10148 }
10149
10150 function transformPolygon(coordinates) {
10151 coordinates.forEach(transformRing);

Callers 10

axisFunction · 0.85
scaleFunction · 0.85
transformerFunction · 0.85
loggishFunction · 0.85
rescaleFunction · 0.85
powishFunction · 0.85
symlogishFunction · 0.85
overArgFunction · 0.85
overRestFunction · 0.85

Calls 8

isArrayFunction · 0.85
isBufferFunction · 0.85
isTypedArrayFunction · 0.85
getIterateeFunction · 0.85
isObjectFunction · 0.85
iterateeFunction · 0.85
isFunctionFunction · 0.70
forEachMethod · 0.45

Tested by

no test coverage detected