|
@@ -788,9 +788,9 @@ void GeometryPoly3::GetCoords(double s_check, double &retX, double &retY, double
|
|
|
/**
|
|
|
* Constructor that initializes the base properties of the record
|
|
|
*/
|
|
|
-GeometryParamPoly3::GeometryParamPoly3 (double s, double x, double y, double hdg, double length,double ua,double ub,double uc,double ud,double va, double vb, double vc,double vd ): RoadGeometry(s, x, y, hdg, length)
|
|
|
+GeometryParamPoly3::GeometryParamPoly3 (double s, double x, double y, double hdg, double length,double ua,double ub,double uc,double ud,double va, double vb, double vc,double vd,bool bNormal ): RoadGeometry(s, x, y, hdg, length)
|
|
|
{
|
|
|
- SetGeomType(4); muA=ua; muB=ub; muC=uc; muD=ud;mvA=va; mvB=vb; mvC=vc; mvD=vd;
|
|
|
+ SetGeomType(4); muA=ua; muB=ub; muC=uc; muD=ud;mvA=va; mvB=vb; mvC=vc; mvD=vd;mbNormal = bNormal;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -798,7 +798,7 @@ GeometryParamPoly3::GeometryParamPoly3 (double s, double x, double y, double hdg
|
|
|
*/
|
|
|
RoadGeometry* GeometryParamPoly3::Clone() const
|
|
|
{
|
|
|
- GeometryParamPoly3* ret=new GeometryParamPoly3(mS,mX,mY, mHdg, mLength, muA, muB, muC, muD,mvA,mvB,mvC,mvD);
|
|
|
+ GeometryParamPoly3* ret=new GeometryParamPoly3(mS,mX,mY, mHdg, mLength, muA, muB, muC, muD,mvA,mvB,mvC,mvD,mbNormal);
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
@@ -832,6 +832,7 @@ double GeometryParamPoly3::GetvA(){return mvA;}
|
|
|
double GeometryParamPoly3::GetvB(){return mvB;}
|
|
|
double GeometryParamPoly3::GetvC(){return mvC;}
|
|
|
double GeometryParamPoly3::GetvD(){return mvD;}
|
|
|
+bool GeometryParamPoly3::GetNormal(){return mbNormal;}
|
|
|
|
|
|
void GeometryParamPoly3::GetCoords(double s_check, double &retX, double &retY, double &retHDG)
|
|
|
{
|
|
@@ -961,9 +962,9 @@ void GeometryBlock::AddGeometryPoly3(double s, double x, double y, double hdg, d
|
|
|
{
|
|
|
mGeometryBlockElement.push_back(new GeometryPoly3(s, x, y, hdg, length, a, b, c, d));
|
|
|
}
|
|
|
-void GeometryBlock::AddGeometryParamPoly3(double s, double x, double y, double hdg, double length, double ua, double ub, double uc, double ud, double va, double vb, double vc, double vd)
|
|
|
+void GeometryBlock::AddGeometryParamPoly3(double s, double x, double y, double hdg, double length, double ua, double ub, double uc, double ud, double va, double vb, double vc, double vd,bool bNormal)
|
|
|
{
|
|
|
- mGeometryBlockElement.push_back(new GeometryParamPoly3(s,x,y,hdg,length,ua,ub,uc,ud,va,vb,vc,vd));
|
|
|
+ mGeometryBlockElement.push_back(new GeometryParamPoly3(s,x,y,hdg,length,ua,ub,uc,ud,va,vb,vc,vd,bNormal));
|
|
|
}
|
|
|
|
|
|
//-------------------------------------------------
|