convert

fun <T : Triad<U, M>, U : Enum<*>, M : Measurement<U>> convert(input: T, output: T)

Converts from ENU to NED or from NED to ENU.

Parameters

input

input triad to be converted.

output

instance where result of conversion will be stored.


fun <T : Triad<U, M>, U : Enum<*>, M : Measurement<U>> convert(valueX: Double, valueY: Double, valueZ: Double, output: T)

Converts from ENU to NED or from NED to ENU.

Parameters

valueX

x-coordinate of input triad to be converted.

valueY

y-coordinate of input triad to be converted.

valueZ

z-coordinate of input triad to be converted.

output

instance where result of conversion will be stored.


fun convert(input: Quaternion, output: Quaternion)

Converts a rotation from ENU to NED or from NED to ENU, taking into account that: Renu = CONVERSION_ROTATION * Rned * CONVERSION_ROTATION And also: Rned = CONVERSION_ROTATION * Renu * CONVERSION_ROTATION

Parameters

input

Input quaternion to be converted.

output

Instance where result will be stored.


fun convert(input: EuclideanTransformation3D, output: EuclideanTransformation3D)

Converts an euclidean 3D transformation from ENU to NED or from NED to ENU, taking into account that: Tenu = Chom * Tned * Chom Tned = Chom * Tenu * Chom

Parameters

input

Input euclidean 3D transformation to be converted.

output

Instance where result will be stored.