mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 05:13:58 +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:
@@ -42,15 +42,13 @@ public:
|
||||
GuidesGraph() = default;
|
||||
explicit GuidesGraph(double maxSpeedMpS, NumMwmId mwmId);
|
||||
|
||||
Segment AddTrack(std::vector<geometry::PointWithAltitude> const & guideTrack,
|
||||
size_t requiredSegmentIdx);
|
||||
Segment AddTrack(std::vector<geometry::PointWithAltitude> const & guideTrack, size_t requiredSegmentIdx);
|
||||
|
||||
FakeEnding MakeFakeEnding(Segment const & segment, m2::PointD const & point,
|
||||
geometry::PointWithAltitude const & projection) const;
|
||||
|
||||
using EdgeListT = SmallList<SegmentEdge>;
|
||||
void GetEdgeList(Segment const & segment, bool isOutgoing, EdgeListT & edges,
|
||||
RouteWeight const & prevWeight) const;
|
||||
void GetEdgeList(Segment const & segment, bool isOutgoing, EdgeListT & edges, RouteWeight const & prevWeight) const;
|
||||
routing::LatLonWithAltitude const & GetJunction(Segment const & segment, bool front) const;
|
||||
RouteWeight CalcSegmentWeight(Segment const & segment) const;
|
||||
Segment FindSegment(Segment const & segment, size_t segmentIdx) const;
|
||||
@@ -61,8 +59,7 @@ public:
|
||||
NumMwmId GetMwmId() const;
|
||||
|
||||
private:
|
||||
double CalcSegmentTimeS(LatLonWithAltitude const & point1,
|
||||
LatLonWithAltitude const & point2) const;
|
||||
double CalcSegmentTimeS(LatLonWithAltitude const & point1, LatLonWithAltitude const & point2) const;
|
||||
|
||||
GuideSegments m_segments;
|
||||
double m_maxSpeedMpS = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user