mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -7,13 +7,11 @@
|
||||
namespace routing
|
||||
{
|
||||
// RoutingSettings ---------------------------------------------------------------------------------
|
||||
RoutingSettings::RoutingSettings(bool useDirectionForRouteBuilding, bool matchRoute,
|
||||
bool soundDirection, double matchingThresholdM,
|
||||
bool showTurnAfterNext, double minSpeedForRouteRebuildMpS,
|
||||
double finishToleranceM, size_t maxOutgoingPointsCount,
|
||||
double minOutgoingDistMeters, size_t maxIngoingPointsCount,
|
||||
double minIngoingDistMeters, size_t notSoCloseMaxPointsCount,
|
||||
double notSoCloseMaxDistMeters)
|
||||
RoutingSettings::RoutingSettings(bool useDirectionForRouteBuilding, bool matchRoute, bool soundDirection,
|
||||
double matchingThresholdM, bool showTurnAfterNext, double minSpeedForRouteRebuildMpS,
|
||||
double finishToleranceM, size_t maxOutgoingPointsCount, double minOutgoingDistMeters,
|
||||
size_t maxIngoingPointsCount, double minIngoingDistMeters,
|
||||
size_t notSoCloseMaxPointsCount, double notSoCloseMaxDistMeters)
|
||||
|
||||
: m_useDirectionForRouteBuilding(useDirectionForRouteBuilding)
|
||||
, m_matchRoute(matchRoute)
|
||||
@@ -28,8 +26,7 @@ RoutingSettings::RoutingSettings(bool useDirectionForRouteBuilding, bool matchRo
|
||||
, m_minIngoingDistMeters(minIngoingDistMeters)
|
||||
, m_notSoCloseMaxPointsCount(notSoCloseMaxPointsCount)
|
||||
, m_notSoCloseMaxDistMeters(notSoCloseMaxDistMeters)
|
||||
{
|
||||
}
|
||||
{}
|
||||
|
||||
RoutingSettings GetRoutingSettings(VehicleType vehicleType)
|
||||
{
|
||||
@@ -91,10 +88,8 @@ RoutingSettings GetRoutingSettings(VehicleType vehicleType)
|
||||
100.0 /* m_minIngoingDistMeters */,
|
||||
3 /* m_notSoCloseMaxPointsCount */,
|
||||
30.0 /* m_notSoCloseMaxDistMeters */};
|
||||
case VehicleType::Count:
|
||||
CHECK(false, ("Can't create GetRoutingSettings for", vehicleType));
|
||||
case VehicleType::Count: CHECK(false, ("Can't create GetRoutingSettings for", vehicleType));
|
||||
}
|
||||
UNREACHABLE();
|
||||
}
|
||||
} // namespace routing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user