MCPcopy Create free account
hub / github.com/comaps/comaps / EqualCoef

Method EqualCoef

libs/routing/route.hpp:54–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 SpeedCamera(double coef, uint8_t maxSpeedKmPH) : m_coef(coef), m_maxSpeedKmPH(maxSpeedKmPH) {}
53
54 bool EqualCoef(SpeedCamera const & rhs) const { return AlmostEqualAbs(m_coef, rhs.m_coef, 1.0E-5); }
55
56 bool operator<(SpeedCamera const & rhs) const
57 {

Callers 1

GetSpeedCameraInfoMethod · 0.80

Calls 1

AlmostEqualAbsFunction · 0.50

Tested by

no test coverage detected