|
@@ -23,6 +23,7 @@ class Crossfall;
|
|
|
//lanes
|
|
|
class LaneSection;
|
|
|
class LaneSectionSample;
|
|
|
+class LaneOffset;
|
|
|
//objects, signals
|
|
|
class Object;
|
|
|
class Signal;
|
|
@@ -69,6 +70,8 @@ private:
|
|
|
vector<Crossfall> mCrossfallVector;
|
|
|
// Lane Section vector
|
|
|
vector<LaneSection> mLaneSectionsVector;
|
|
|
+ // Lane offset vector
|
|
|
+ vector<LaneOffset> mLaneOffsetVector;
|
|
|
// Objects vectors
|
|
|
vector<Object> mObjectsVector;
|
|
|
// Signal vector
|
|
@@ -83,6 +86,7 @@ private:
|
|
|
unsigned int mLastAddedSuperElevation;
|
|
|
unsigned int mLastAddedCrossfall;
|
|
|
unsigned int mLastAddedLaneSection;
|
|
|
+ unsigned int mLastAddedLaneOffset;
|
|
|
unsigned int mLastAddedObject;
|
|
|
unsigned int mLastAddedSignal;
|
|
|
|
|
@@ -156,6 +160,10 @@ public:
|
|
|
vector<LaneSection> *GetLaneSectionVector();
|
|
|
LaneSection* GetLaneSection(unsigned int i);
|
|
|
unsigned int GetLaneSectionCount();
|
|
|
+ //Road lane offset records
|
|
|
+ vector<LaneOffset> * GetLaneOffsetVector();
|
|
|
+ LaneOffset* GetLaneOffset(unsigned int i);
|
|
|
+ unsigned int GetLaneOffsetCount();
|
|
|
// Road object records
|
|
|
vector<Object> *GetObjectVector();
|
|
|
Object* GetObject(unsigned int i);
|
|
@@ -228,6 +236,7 @@ public:
|
|
|
unsigned int AddSuperElevation(double s, double a, double b, double c, double d);
|
|
|
unsigned int AddCrossfall (string side, double s, double a, double b, double c, double d);
|
|
|
unsigned int AddLaneSection(double s);
|
|
|
+ unsigned int AddLaneOffset(double s,double a,double b,double c,double d);
|
|
|
unsigned int AddObject();
|
|
|
unsigned int AddSignal(double s,double t,string id,string name,bool dynamic,string orientation,double zOffset,string type,string country,string countryRevision,
|
|
|
string subtype,double hOffset,double pitch,double roll ,double height,double width);
|
|
@@ -253,6 +262,7 @@ public:
|
|
|
void DeleteSuperElevation(unsigned int index);
|
|
|
void DeleteCrossfall(unsigned int index);
|
|
|
void DeleteLaneSection(unsigned int index);
|
|
|
+ void DeleteLaneOffset(unsigned int index);
|
|
|
void DeleteObject(unsigned int index);
|
|
|
void DeleteSignal(unsigned int index);
|
|
|
|
|
@@ -292,6 +302,8 @@ public:
|
|
|
|
|
|
int CheckLaneSectionInterval(double s_check);
|
|
|
void FillLaneSectionSample(double s_check, LaneSectionSample &laneSectionSample);
|
|
|
+
|
|
|
+ int CheckLaneOffsetInterval(double s_check);
|
|
|
|
|
|
//-------------------------------------------------
|
|
|
|