opendrive_spiral.h 839 Bytes
Newer Older
1
2
3
4
5
6
7
#ifndef _OPENDRIVE_SPIRAL_H
#define _OPENDRIVE_SPIRAL_H

#include "opendrive_geometry.h"

class COpendriveSpiral : public COpendriveGeometry
{
8
  friend class COpendriveRoadNode;
9
  friend class COpendriveRoadSegment;
10
11
12
13
  private:
    double start_curvature;
    double end_curvature;
  protected:
14
15
    COpendriveSpiral();
    COpendriveSpiral(const COpendriveSpiral &object);
16
    virtual bool transform_local_pose(const TOpendriveTrackPose &track,TOpendriveLocalPose &local) const;
17
18
    virtual void print(std::ostream &out);
    virtual void load_params(const planView::geometry_type &geometry_info);
19
    virtual std::string get_name(void);
20
21
  public:
    virtual COpendriveGeometry *clone(void);
22
    virtual void get_curvature(double &start,double &end);
23
24
25
26
27
    void operator=(const COpendriveSpiral &object);
    ~COpendriveSpiral();
};

#endif