/** * Sets all the components of this vector to zero and updates its reference frames. * * @param bodyFrame the new body frame. * @param baseFrame the new base frame. * @param expressedInFrame the new reference frame in which this motion is expressed. */ default void setToZero(ReferenceFrame bodyFrame, ReferenceFrame baseFrame, ReferenceFrame expressedInFrame) { setBodyFrame(bodyFrame); setBaseFrame(baseFrame); setToZero(expressedInFrame); }