opendrive_spiral.h 795 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
10
11
12
  private:
    double start_curvature;
    double end_curvature;
  protected:
13
14
    COpendriveSpiral();
    COpendriveSpiral(const COpendriveSpiral &object);
15
    virtual bool transform_local_pose(TOpendriveTrackPose &track,TOpendriveLocalPose &local) const;
16
17
    virtual void print(std::ostream &out);
    virtual void load_params(const planView::geometry_type &geometry_info);
18
    virtual std::string get_name(void);
19
20
  public:
    virtual COpendriveGeometry *clone(void);
21
    virtual void get_curvature(double &start,double &end);
22
23
24
25
26
    void operator=(const COpendriveSpiral &object);
    ~COpendriveSpiral();
};

#endif