Distance Along Y (DY)

Returns a y component of the translational displacement vector from one coordinate system marker to another.

Format

DY (To Marker, From Marker, Along Marker)

Arguments

 
To Marker
(Required) Coordinate system marker to which the distance is measured.
From Marker
(Optional) Coordinate system marker from which the distance is measured.
Along Marker
(Optional) Coordinate system marker along whose y-axis the distance is measured.
Note: If not specified, optional arguments default to global coordinate system.

Equation

Mathematically, DY is calculated as follows:
where:
is the position vector from the global origin to the To Marker, T.
is the position vector from the global origin to the From Marker, F.
is the unit vector along the y-axis of the Along Marker, A.

Example

The following function returns the y component of the displacement vector from marker_F to marker_T, along the y-axis of marker_A:
 
Function
DY(marker_T, marker_F, marker_A)
Result
-5