3 #include "GVONormalizedPoint.h"
8 typedef std::deque<GVONormalizedPoint> Line;
9 typedef std::deque<Line> Lines;
12 double m_length = 0.0;
13 bool m_favorite = false;
14 bool m_hilight = false;
15 bool m_fixed = false; //!<@brief
\8dq
\98H
\8cÅ
\92è
\83t
\83\89\83O
18 GVOShipRoute() = default;
19 ~GVOShipRoute() = default;
21 //!@attention
\8cÅ
\92è
\82³
\82ê
\82½
\8dq
\98H
\82É
\8dÀ
\95W
\82ð
\92Ç
\89Á
\82µ
\82Ä
\82Í
\82È
\82ç
\82È
\82¢
\81B
\83\8d\83W
\83b
\83N
\83G
\83\89\81[
\82È
\82Ì
\82ÅDebug
\8e\9e\82Ì
\82Ý
\83G
\83\89\81[
\82Æ
\82µ
\82Ä
\82¢
\82é
\81B
22 void addRoutePoint( const GVONormalizedPoint & point );
24 const Lines & getLines() const
29 bool isFavorite() const
34 void setFavorite( bool favorite )
36 m_favorite = favorite;
39 bool isHilight() const
44 void setHilight( bool hilight )
49 //!@brief srcRoute
\82Ì
\95Û
\8e\9d\82·
\82é
\8dq
\98H
\82ð
\91S
\82Ä
\91O
\82É
\98A
\8c\8b\82·
\82é
\81B
50 void jointPreviousLinesWithRoute( const GVOShipRoute & srcRoute );
52 bool isEmptyRoute() const
54 if ( m_lines.empty() ) {
58 //
\82P
\82Â
\82Å
\82à
\93_
\82ð
\95Û
\8e\9d\82µ
\82Ä
\82¢
\82ê
\82Î
\8bó
\8dq
\98H
\82Å
\82Í
\82È
\82¢
\82Æ
\94»
\92f
\82·
\82é
59 for ( auto line : m_lines ) {
60 if ( !line.empty() ) {
72 void setFix( bool isFixed)
84 typedef std::shared_ptr<GVOShipRoute> GVOShipRoutePtr;
85 typedef std::weak_ptr<GVOShipRoute> GVOShipRouteWeakPtr;