/** * Sets all the components of this vector to {@link Double#NaN} and sets its reference frames. * * @param bodyFrame the new body frame. * @param expressedInFrame the new reference frame. */ default void setToNaN(ReferenceFrame bodyFrame, ReferenceFrame expressedInFrame) { setBodyFrame(bodyFrame); setToNaN(expressedInFrame); }