Distance Magnitude (DM)

Returns the magnitude of the translational displacement vector from one coordinate system marker to another.

Format

DM (To Marker, From 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. If not specified, this argument defaults to the global coordinate system.

Equation

Mathematically, DM 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.

Example

The following function returns a number greater than or equal to 0:
 
Function
DM(marker_T, marker_F)
Result
13