MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / set_cost

Method set_cost

src/engine/plugins/tile.cpp:407–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405 }
406
407 void set_cost(float value) { add_property(m_layer.key_cost, m_layer.float_index(value)); }
408
409 void set_weight(float value) { add_property(m_layer.key_weight, m_layer.float_index(value)); }
410

Callers 1

encodeVectorTileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected