mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 22:53:43 +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:
@@ -17,17 +17,14 @@ class WorldGraph;
|
||||
|
||||
struct Projection final
|
||||
{
|
||||
Projection(Segment const & segment, bool isOneWay,
|
||||
LatLonWithAltitude const & segmentFront,
|
||||
LatLonWithAltitude const & segmentBack,
|
||||
LatLonWithAltitude const & junction)
|
||||
Projection(Segment const & segment, bool isOneWay, LatLonWithAltitude const & segmentFront,
|
||||
LatLonWithAltitude const & segmentBack, LatLonWithAltitude const & junction)
|
||||
: m_segment(segment)
|
||||
, m_isOneWay(isOneWay)
|
||||
, m_segmentFront(segmentFront)
|
||||
, m_segmentBack(segmentBack)
|
||||
, m_junction(junction)
|
||||
{
|
||||
}
|
||||
{}
|
||||
bool operator==(Projection const & other) const;
|
||||
|
||||
Segment m_segment;
|
||||
@@ -43,11 +40,9 @@ struct FakeEnding final
|
||||
std::vector<Projection> m_projections;
|
||||
};
|
||||
|
||||
FakeEnding MakeFakeEnding(std::vector<Segment> const & segments, m2::PointD const & point,
|
||||
WorldGraph & graph);
|
||||
FakeEnding MakeFakeEnding(std::vector<Segment> const & segments, m2::PointD const & point, WorldGraph & graph);
|
||||
FakeEnding MakeFakeEnding(Segment const & segment, m2::PointD const & point, IndexGraph & graph);
|
||||
|
||||
LatLonWithAltitude CalcProjectionToSegment(LatLonWithAltitude const & begin,
|
||||
LatLonWithAltitude const & end,
|
||||
LatLonWithAltitude CalcProjectionToSegment(LatLonWithAltitude const & begin, LatLonWithAltitude const & end,
|
||||
m2::PointD const & point);
|
||||
} // namespace routing
|
||||
|
||||
Reference in New Issue
Block a user