hexagon logo

Vector Calculation

Hello everyone,
I need to calculate the resultant vector as shown in image attached
Is there a way to do this kind of calculation in PC-DMIS?
Parents
  • The resultant of a set of vectors is basically the sum of the vectors (ie : <0,1,0> +<,1,0,0> gives <1,1,0>.
    The problem with "Figure 11 : Vector math illustration" is that you don't explain what is known (datas) and what you're looking for...
    So if you have some vectors, you just have to add them in an assignment.
    If you have unit vectors, just use ".ijk", if it's a set of bipoints, then construct vectors as PT2.XYZ-PT1.XYZ (remember that the direction of the vector is done by end point minus start point)
    If you want to calculate the resultant from devoations of features, then calculate them from difference between actual and theo.

    ASSIGN/V1=LN1.IJK
    ASSIGN/V2=PL1.IJK
    ASSIGN/RESULTANT=V1+V2

    ASSIGN/V1=PT2.XYZ-PT1.XYZ
    ASSIGN/V2=PT4.XYZ-PT3.XYZ
    ASSIGN/RESULTANT=V1+V2

    ASSIGN/V1=CE1.XYZ-CE1.TXYZ
    ASSIGN/V2=CE2.XYZ-CE2.TXYZ
    ASSIGN/RESULTANT=V1+V2

    Hope this helps
Reply
  • The resultant of a set of vectors is basically the sum of the vectors (ie : <0,1,0> +<,1,0,0> gives <1,1,0>.
    The problem with "Figure 11 : Vector math illustration" is that you don't explain what is known (datas) and what you're looking for...
    So if you have some vectors, you just have to add them in an assignment.
    If you have unit vectors, just use ".ijk", if it's a set of bipoints, then construct vectors as PT2.XYZ-PT1.XYZ (remember that the direction of the vector is done by end point minus start point)
    If you want to calculate the resultant from devoations of features, then calculate them from difference between actual and theo.

    ASSIGN/V1=LN1.IJK
    ASSIGN/V2=PL1.IJK
    ASSIGN/RESULTANT=V1+V2

    ASSIGN/V1=PT2.XYZ-PT1.XYZ
    ASSIGN/V2=PT4.XYZ-PT3.XYZ
    ASSIGN/RESULTANT=V1+V2

    ASSIGN/V1=CE1.XYZ-CE1.TXYZ
    ASSIGN/V2=CE2.XYZ-CE2.TXYZ
    ASSIGN/RESULTANT=V1+V2

    Hope this helps
Children
No Data