/** * Sets the value of this yoFrameTuple to the scalar multiplication of yoFrameTuple1 and then subs yoFrameTuple2 (this = scaleFactor * yoFrameTuple1 - yoFrameTuple2). * Checks if reference frames match. * * @param scaleFactor double * @param yoFrameTuple1 YoFrameTuple<?, ?> * @param yoFrameTuple2 YoFrameTuple<?, ?> * @throws ReferenceFrameMismatchException */ public final void scaleSub(double scaleFactor, YoFrameTuple<?, ?> yoFrameTuple1, YoFrameTuple<?, ?> yoFrameTuple2) { scaleSub(scaleFactor, yoFrameTuple1.getFrameTuple(), yoFrameTuple2.getFrameTuple()); }