/** * Changes the first endpoint of this line segment. * * @param firstEndpoint new endpoint of this line segment. Not modified. * @throws ReferenceFrameMismatchException if {@code this} and {@code firstEndpoint} are not * expressed in the same reference frame. */ default void setFirstEndpoint(FramePoint3DReadOnly firstEndpoint) { getFirstEndpoint().set(firstEndpoint); }