MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / lengthToString

Function lengthToString

source/MRViewer/MRRenderFeatureObjects.cpp:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31static constexpr std::string_view nameExtrasSeparator = " | ";
32
33static std::string lengthToString( float value )
34{
35 return valueToString<LengthUnit>( value, { .unitSuffix = false, .style = NumberStyle::normal, .stripTrailingZeroes = false } );
36}
37
38// Extracts subfeatures from `sourceObject` and writes them out `outputPoints` and `outputLines`.
39// `sourceObject` must point to a temporary object of the desired type, with identity xf.

Callers 1

getObjectNameTextMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected