I.2.3.3 “changeCoordsA2B” method
Method “changeCoordsA2B” is used to calculate the coordinates of a point with respect to a given coordinate system “B”. The initial coordinate system is a given “A” coordinate system:
-
The coordinate system on which the method is called is the initial coordinate system in which the point coordinates are expressed (Coordinate system “A”.)
-
The first “CoordA” argument is an Array of three real values corresponding to the initial coordinates of the point in coordinate system “A”.
-
The second “CsB” argument is a “CoordSys” object with respect to which one wants to calculate the new point coordinates.
-
The method returns a “CoordB” Array of three real values corresponding to the coordinate of the point expressed with respect to coordinate system “B”.
The method is called as follows:
coordsB=csA.changeCoordsA2B(coordsA,csB)