Commit b9e02c91 authored by oscar's avatar oscar

提交修改lanetype字符串乱码的sdk库

parent 9d75ba3e
...@@ -19,7 +19,7 @@ namespace OpenDrive ...@@ -19,7 +19,7 @@ namespace OpenDrive
void SetLevel(const char* level); void SetLevel(const char* level);
void SetType(const EnLaneType &type); void SetType(const EnLaneType &type);
const EnLaneType GetType() const; const EnLaneType GetType() const;
const char* GetTypeString() const; const string GetTypeString() const;
void SetSpeed(Speed *speed); void SetSpeed(Speed *speed);
const Speed* GetSpeed() const; const Speed* GetSpeed() const;
void SetHeight(Height *height); void SetHeight(Height *height);
......
...@@ -44,7 +44,7 @@ namespace OpenDrive ...@@ -44,7 +44,7 @@ namespace OpenDrive
const vector<PosXY>* GetRightLinePosFromLane(const char* laneID) const; const vector<PosXY>* GetRightLinePosFromLane(const char* laneID) const;
GeoCoordinatePoint* GetLanePositionBySectionID(const char* laneID) const; GeoCoordinatePoint* GetLanePositionBySectionID(const char* laneID) const;
const char* GetLaneTypeString(const char* laneID) const; const string GetLaneTypeString(const char* laneID) const;
~LaneSection(); ~LaneSection();
private: private:
......
...@@ -91,7 +91,7 @@ namespace OpenDrive ...@@ -91,7 +91,7 @@ namespace OpenDrive
bool GetLanePathByXY(const double sx, const double sy, const double ex, const double ey, const vector<EventPos>events, vector<LaneNode> &path, double &path_length); bool GetLanePathByXY(const double sx, const double sy, const double ex, const double ey, const vector<EventPos>events, vector<LaneNode> &path, double &path_length);
bool GetLanePath(const double &startlongitude, const double &startlatitude, const double &endlongitude, const double &endlatitude, const vector<EventPos>events, vector<Pathpoint> &path, double &path_length); bool GetLanePath(const double &startlongitude, const double &startlatitude, const double &endlongitude, const double &endlatitude, const vector<EventPos>events, vector<Pathpoint> &path, double &path_length);
const char* GetLaneTypeString(const char* roadID, const char* sectionID, const char* laneID) const; const string GetLaneTypeString(const char* roadID, const char* sectionID, const char* laneID) const;
double GetHeightZvalue(const double &longitude, const double &latitude); double GetHeightZvalue(const double &longitude, const double &latitude);
double GetHeightZvalueByXY(const double &x, const double &y); double GetHeightZvalueByXY(const double &x, const double &y);
double GetHdg(const double &longitude, const double &latitude); double GetHdg(const double &longitude, const double &latitude);
......
...@@ -107,7 +107,7 @@ namespace OpenDrive ...@@ -107,7 +107,7 @@ namespace OpenDrive
GeoCoordinatePoint* GetLanePositionBySectionID(const char* sectionID, const char* laneID) const; GeoCoordinatePoint* GetLanePositionBySectionID(const char* sectionID, const char* laneID) const;
string GetJunction(); string GetJunction();
const char* GetLaneTypeString(const char* sectionID, const char* laneID) const; const string GetLaneTypeString(const char* sectionID, const char* laneID) const;
double GetHdg(const double &s); double GetHdg(const double &s);
double GetElevation(const double &s); double GetElevation(const double &s);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment