/// <summary>
 /// Returns an equivalent unity CoordinateFramePair.
 /// </summary>
 /// <returns>An equivalent unity CoordinateFramePair.</returns>
 public UnityTango.CoordinateFramePair ToUnityType()
 {
     UnityTango.CoordinateFramePair unityFramePair = new UnityTango.CoordinateFramePair();
     unityFramePair.baseFrame   = baseFrame.ToUnityType();
     unityFramePair.targetFrame = targetFrame.ToUnityType();
     return(unityFramePair);
 }
 /// <summary>
 /// Constructs a new ApiCoordinateFramePair from a UnityTango.CoordinateFramePair.
 /// </summary>
 /// <param name="unityPair">The unity CoordinateFramePair to copy.</param>
 public ApiCoordinateFramePair(UnityTango.CoordinateFramePair unityPair)
 {
     baseFrame   = unityPair.baseFrame.ToApiType();
     targetFrame = unityPair.targetFrame.ToApiType();
 }