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