BiArcParams Class Reference

#include <BiArc.h>


Detailed Description

Definition at line 38 of file BiArc.h.


Public Member Functions

 BiArcParams (const BiArcParams &rhs)
 BiArcParams ()
double L ()
BiArcParamsoperator= (const BiArcParams &rhs)
void scale (double factor)
 ~BiArcParams ()

Data Fields

Point2D< double > center1
Point2D< double > center2
int dir1
int dir2
double E
double end_angle
Point2D< double > end_pt
int flag
double K1
double K2
double L1
double L2
Point2D< double > mid_pt
double R1
double R2
double start_angle
Point2D< double > start_pt

Constructor & Destructor Documentation

BiArcParams::BiArcParams (  )  [inline]

Definition at line 67 of file BiArc.h.

References dir1, dir2, E, end_angle, flag, K1, K2, L1, L2, R1, R2, and start_angle.

00068   {
00069     flag         = 0;
00070 
00071     start_angle  = 0;
00072     end_angle    = 0;
00073 
00074     K1           = 0;
00075     K2           = 0;
00076 
00077     L1           = 0;
00078     L2           = 0;
00079 
00080     dir1         = 0;
00081     dir2         = 0;
00082 
00083     R1           = 0;
00084     R2           = 0;
00085 
00086     E            = 0;
00087 
00088   };

BiArcParams::~BiArcParams (  )  [inline]

Definition at line 90 of file BiArc.h.

00090 {};

BiArcParams::BiArcParams ( const BiArcParams rhs  )  [inline]

Definition at line 92 of file BiArc.h.

References center1, center2, dir1, dir2, E, end_angle, end_pt, flag, K1, K2, L1, L2, mid_pt, R1, R2, start_angle, and start_pt.

00093   {
00094     start_pt    = rhs.start_pt;
00095     end_pt      = rhs.end_pt;
00096 
00097     start_angle = rhs.start_angle;
00098     end_angle   = rhs.end_angle;
00099 
00100     K1          = rhs.K1;
00101     K2          = rhs.K2;
00102 
00103     L1         = rhs.L1;
00104     L2         = rhs.L2;
00105 
00106     mid_pt    = rhs.mid_pt;
00107     center1     = rhs.center1;
00108     center2     = rhs.center2;
00109 
00110     dir1        = rhs.dir1;
00111     dir2        = rhs.dir2;
00112 
00113     R1          = rhs.R1;
00114     R2          = rhs.R2;
00115 
00116     flag        = rhs.flag;
00117     E           = rhs.E;
00118   
00119   };


Member Function Documentation

double BiArcParams::L (  )  [inline]

Definition at line 153 of file BiArc.h.

References L1, and L2.

Referenced by EulerSpiral::compute_es_params().

00153 {return (L1+L2);}

BiArcParams& BiArcParams::operator= ( const BiArcParams rhs  )  [inline]

Definition at line 121 of file BiArc.h.

References center1, center2, dir1, dir2, E, end_angle, end_pt, flag, K1, K2, L1, L2, mid_pt, R1, R2, start_angle, and start_pt.

00122   {
00123     if (this!=&rhs){
00124       start_pt    = rhs.start_pt;
00125       end_pt      = rhs.end_pt;
00126 
00127       start_angle = rhs.start_angle;
00128       end_angle   = rhs.end_angle;
00129 
00130       K1          = rhs.K1;
00131       K2          = rhs.K2;
00132 
00133       L1          = rhs.L1;
00134       L2          = rhs.L2;
00135 
00136       mid_pt    = rhs.mid_pt;
00137       center1     = rhs.center1;
00138       center2     = rhs.center2;
00139 
00140       dir1        = rhs.dir1;
00141       dir2        = rhs.dir2;
00142 
00143       R1          = rhs.R1;
00144       R2          = rhs.R2;
00145 
00146       flag        = rhs.flag;
00147       E           = rhs.E;
00148     }
00149     return *this;
00150   }

void BiArcParams::scale ( double  factor  )  [inline]

Definition at line 155 of file BiArc.h.

References K1, K2, L1, and L2.

00156   {
00157     K1 /=factor;
00158     L1 *=factor;
00159 
00160     K2 /=factor;
00161     L2 *=factor;
00162   }


Field Documentation

Definition at line 64 of file BiArc.h.

Referenced by BiArcParams(), BiArc::compute_other_stuff(), and operator=().

Definition at line 65 of file BiArc.h.

Referenced by BiArcParams(), BiArc::compute_other_stuff(), and operator=().

Definition at line 60 of file BiArc.h.

Referenced by BiArcParams(), BiArc::compute_other_stuff(), and operator=().

Definition at line 61 of file BiArc.h.

Referenced by BiArcParams(), BiArc::compute_other_stuff(), and operator=().

Definition at line 55 of file BiArc.h.

Referenced by BiArcParams(), BiArc::compute_biarc_params(), and operator=().

Definition at line 41 of file BiArc.h.

Referenced by BiArcParams(), BiArc::compute_biarc_params(), and operator=().

Definition at line 63 of file BiArc.h.

Referenced by BiArcParams(), BiArc::compute_other_stuff(), and operator=().

Definition at line 57 of file BiArc.h.

Referenced by BiArcParams(), BiArc::compute_other_stuff(), and operator=().

Definition at line 58 of file BiArc.h.

Referenced by BiArcParams(), BiArc::compute_other_stuff(), and operator=().


The documentation for this class was generated from the following file:

Generated on Wed May 5 00:06:40 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6