DM

 

The DM function returns the absolute distance from one marker to the InertiaMarker or the absolute distance between two markers.

 

Format

 

Arguments definition

Marker1

The name or argument number of a marker to be calculated

Marker2

The name or argument number of a marker to be calculated

     If omitted, then the InertiaMarker is applied.

 

Formulation

: Position vector of Marker1

: Position vector of Marker2

 

 

Example

DM (body1.Marker1)

DM (body1.Marker1, body2.Marker2)

DM (1, 2)   <Argument: (1)body1.Marker1, (2)body2.Marker2 >