XY table
XY tables are based on the 'ST_PROF_XYTAB' structure. They support the definition of a function y=f(x) with any x axis resolution.
In the table structure, the x and y values of the function y=f(x) are described by 'uiNoElement'+1 pair of values.
Tabelle 2: CAM_PROF: Table structure of the XY table
Header information: |
enType = PROF_XYTAB |
uiNoElement |
---|---|---|
udMasterInc (not used) |
||
Interpolation points: |
stElement[0].diX = 0 |
|
stElement[0].diY = 0 |
||
stElement[1].diX |
||
stElement[1].diY |
||
... |
||
stElement[180].diX |
||
stElement[180].diY |
|
Limiting to 'uiNoElement' = 180 is negated by mode 'enType' = PROF_XYTAB_NL |
Abbildung 5: CAM_PROF: Principle of the function interpolator with XY table
Advantages of the XY table
- Since the point spacing can be freely defined, the point density can be adapted to the curvature of the curve
- Only the start and end points need to be specified to describe linear sections
Disadvantages of the XY table
- Fewer points, since both x and y values must be specified
- Lack of transparency in presentation based on pairs of points