/** * Transforms this line segment using the inverse of the given homogeneous transformation matrix. * * @param transform the transform to apply on the endpoints of this line segment. Not modified. * @throws NotAMatrix2DException if the rotation part of {@code transform} is not a transformation * in the XY-plane. */ @Override default void applyInverseTransform(Transform transform) { applyInverseTransform(transform, true); }