|
TraceMaker
C++ API of the engine
|
Go to the source code of this file.
Namespaces | |
| namespace | tmk |
Typedefs | |
| using | tmk::Coord = std::int64_t |
| Engine coordinate: signed 64-bit nanometres. | |
Functions | |
| Coord | tmk::mm_to_nm (double mm) |
| Converts millimetres to nanometres, rounding half away from zero (KiCad's parser behaviour). | |
| TM_HD_INLINE double | tmk::nm_to_mm (Coord nm) |
Variables | |
| constexpr Coord | tmk::kNmPerMm = 1'000'000 |
| constexpr Coord | tmk::kNmPerMil = 25'400 |