MCPcopy Create free account
hub / github.com/DFHack/dfhack / measure

Function measure

plugins/3dveins.cpp:1189–1195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1187}
1188
1189static int measure(const std::vector<GeoBlock*> &arena, float threshold)
1190{
1191 int count = 0;
1192 for (size_t i = 0; i < arena.size(); i++)
1193 count += arena[i]->measure_placement(threshold);
1194 return count;
1195}
1196
1197void VeinExtent::link(GeoLayer *layer)
1198{

Callers 1

place_tilesMethod · 0.85

Calls 2

measure_placementMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected