aboutsummaryrefslogtreecommitdiffstats
path: root/src/emc/rs274ngc/interp_inspection.cc
blob: f722e9a5ebbc99ee66a998262d14fadaab06fdd9 (plain)
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#include "interp_inspection.hh"
#include "interp_internal.hh"


double &currentX(setup_pointer s)
{
  return s->current_x;
}

double &currentY(setup_pointer s)
{
  return s->current_y;
}

double &currentZ(setup_pointer s)
{
  return s->current_z;
}

double & currentA(setup_pointer s)
{
  return s->AA_current;
}

double & currentB(setup_pointer s)
{
  return s->BB_current;
}

double & currentC(setup_pointer s)
{
  return s->CC_current;
}

double & currentWorkOffsetX(setup_pointer s)
{
  return s->origin_offset_x;
}

double & currentWorkOffsetY(setup_pointer s)
{
  return s->origin_offset_y;
}

double &currentWorkOffsetZ(setup_pointer s)
{
  return s->origin_offset_z;
}

double & currentWorkOffsetA(setup_pointer s)
{
  return s->AA_origin_offset;
}

double & currentWorkOffsetB(setup_pointer s)
{
  return s->BB_origin_offset;
}

double & currentWorkOffsetC(setup_pointer s)
{
  return s->CC_origin_offset;
}

double & currentAxisOffsetX(setup_pointer s)
{
  return s->axis_offset_x;
}

double & currentAxisOffsetY(setup_pointer s)
{
  return s->axis_offset_y;
}

double &currentAxisOffsetZ(setup_pointer s)
{
  return s->axis_offset_z;
}

double & currentAxisOffsetA(setup_pointer s)
{
  return s->AA_axis_offset;
}

double & currentAxisOffsetB(setup_pointer s)
{
  return s->BB_axis_offset;
}

double & currentAxisOffsetC(setup_pointer s)
{
  return s->CC_axis_offset;
}

bues.ch cgit interface