| 19 | constexpr int cCurveMaxSubdivisionDepth = 10; |
| 20 | |
| 21 | static std::string lengthToString( float value ) |
| 22 | { |
| 23 | return valueToString<LengthUnit>( value, { .unitSuffix = false, .style = NumberStyle::normal, .stripTrailingZeroes = false } ); |
| 24 | } |
| 25 | // `dir == 0` - symmetric, `dir > 0` - positive, `dir < 0` - negative. |
| 26 | static std::string lengthToleranceToString( float value, int dir, bool keepTrailingZeroes = false ) |
| 27 | { |