Subversion Repositories svnkaklik

Rev

Rev 379 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 379 Rev 380
1
#define POINTS 100
1
#define POINTS 100
2
 
2
 
3
// definice krizovatek
3
// definice krizovatek
4
struct cros_t {
4
struct cros_t {
5
  int id;
5
  int id;
6
  double n;
6
  double n;
7
  double e;
7
  double e;
8
  unsigned int dia;
8
  unsigned int dia;
9
} cros [POINTS] =
9
} cros [POINTS] =
10
{
10
{
11
//{1,50.105205, 14.427857,6},
11
//{1,50.105205, 14.427857,6},
12
//{2,50.105177,14.427805,6},
12
//{2,50.105177,14.427805,6},
13
 
13
 
14
//{1,50.105460,  14.428012,20},
14
//{1,50.105460,  14.428012,20},
-
 
15
{1,  50.105347,  14.427978,20},
-
 
16
//{2,  50.105635,  14.427998,20}, // dal
-
 
17
{2,  50.105573,  14.428026, 20}, // bliz
-
 
18
{3,  50.105810,  14.427848,20},
-
 
19
{4,  50.105944,  14.427608,20},
-
 
20
 
-
 
21
//{1, 50.105225, 14.427975,20},
15
//{2,  50.105723,  14.427923,20},
22
//{2,  50.105723,  14.427923,20},
16
//{3,  50.105872,  14.427731,20},
23
//{3,  50.105872,  14.427731,20},
17
/*
24
/*
18
 
25
 
19
{4,  50.105975,  14.427224,30},
26
{4,  50.105975,  14.427224,30},
20
{5,  50.105651,  14.427026,10},
27
{5,  50.105651,  14.427026,10},
21
 
28
 
22
{6,  50.105481,  14.427033,10},
29
{6,  50.105481,  14.427033,10},
23
*/
30
*/
24
{7,  50.105218,  14.427115,10},
31
{7,  50.105218,  14.427115,10},
25
{8,  50.105403,  14.426855,10},
32
{8,  50.105403,  14.426855,10},
26
{9,  50.105836,  14.426683,10},
33
{9,  50.105836,  14.426683,10},
27
{10, 50.105826,  14.427683,10},
34
{10, 50.105826,  14.427683,10},
28
{0,0,0,0}
35
{0,0,0,0}
29
};
36
};
30
 
37
 
31
// definice vektoru po ceste
38
// definice vektoru po ceste
32
struct way_t {
39
struct way_t {
33
  int id;
40
  int id;
34
  double n;
41
  double n;
35
  double e;
42
  double e;
36
  unsigned int dia;
43
  unsigned int dia;
37
  unsigned char azimut;
44
  unsigned char azimut;
38
  int smer;// 1=levo, 2=pravo
45
  int smer;// 1=levo, 2=pravo
39
} way [POINTS] =
46
} way [POINTS] =
40
{
47
{
41
{1,49.835265, 18.161128,5, 200,1},
48
{1,49.835265, 18.161128,5, 200,1},
42
{0,0,0,0}
49
{0,0,0,0}
43
};
50
};