hexagon logo

Do changing Target Pts "move" the probe along a surface?

I'm having problems understanding the code below.

My first question is this: By changing the TARG "X" values for each subsequent vector point, is this, in effect, moving the probe along the surface in the X direction? That is, does this code take actual hits in different locations? Even though the THEO values are EXACTLY the same? This part of the program is attempting to measure the D.O. between two vanes.

My second question: If this is indeed "scanning" along the surface, I'm wondering why this approach is advantageous over , say, just changing the THEO value from point to point.

First post. Appreciate any insight.