/// <summary> /// Creates a relative transformation from t0 to t1. /// </summary> /// <param name="from"></param> /// <param name="to"></param> /// <returns></returns> public static Orient2d CreateFromTo(Orient2d from, Orient2d to) { return(to.Apply(from.Inverse)); }
/// <summary> /// /// </summary> /// <param name="scale"></param> /// <param name="orientation"></param> public Transform2d(Vector2d scale, Orient2d orientation) { Scale = scale; Rotation = orientation.Rotation; Translation = orientation.Translation; }