DX

Returns an x component of translational displacement from one coordinate system object to another.

Format

DX (Object 1, Object 2, Reference Frame)

Arguments

 
Object 1
Coordinate system object to which the translational displacement component is measured.
Object 2
Coordinate system object from which the translational displacement component is measured.
Reference Frame
Coordinate system object defining the x-axis; used to measure the translational displacement component.

symbol

Mathematically, DX is calculated as follows:
where:
■ is the displacement of the Object 1, O1, in the global coordinate system.
■ is the displacement of the Object 2, O2, in the global coordinate system.
■ is the unit vector along the x-axis of the Reference Frame, R.

Example

In the following illustration, the DX function returns the x component of the translational displacement from marker_O2 to marker_O1, along the x-axis of marker_R:
 
Function
DX(marker_O1, marker_O2, marker_R)
Result
12