yy1717
2023-03-31 4bd08f0355b6b2cf3c027202d5ad301b4e182953
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//
// Created by YY on 2022/12/28.
//
 
#ifndef MYAPPLICATION3_MAP_H
#define MYAPPLICATION3_MAP_H
 
#include <string>
#include <vector>
#include "test_common/Geometry.h"
 
typedef struct {
    int id;
    std::string name;
    double line_width;
    std::vector<PointF> map;
} park_button_map_t;
 
typedef struct {
    int id;
    std::string name;
    double line_width;
    std::vector<PointF> map;
} park_edge_map_t;
 
typedef struct {
    int id;
    std::string name;
    double line_width;
    std::vector<PointF> map;
} turn_a90_map_t;
 
typedef struct {
    int id;
    std::string name;
    double line_width;
    std::vector<PointF> map;
} uphill_map_t;
 
typedef struct {
    int id;
    std::string name;
    double line_width;
    PointF left_start_point;
    PointF right_start_point;
    PointF left_end_point;
    PointF right_end_point;
    PointF front_half_big_circle_centre;
    double front_half_big_circle_radius;
    PointF front_half_small_circle_centre;
    double front_half_small_circle_radius;
    PointF back_half_big_circle_centre;
    double back_half_big_circle_radius;
    PointF back_half_small_circle_centre;
    double back_half_small_circle_radius;
} curve_map_t;
 
typedef struct {
    std::vector<curve_map_t> curve_map;
    std::vector<park_button_map_t> park_button_map;
    std::vector<park_edge_map_t> park_edge_map;
    std::vector<turn_a90_map_t> turn_a90_map;
    std::vector<uphill_map_t> uphill_map;
} area_map_t;
 
#endif //MYAPPLICATION3_MAP_H