private static SMFSchemaValidationError errorWrongCoordinateSystem( final SMFCoordinateSystem expected, final SMFCoordinateSystem received) { final StringBuilder sb = new StringBuilder(128); sb.append("The mesh has an unexpected coordinate system."); sb.append(System.lineSeparator()); sb.append(" Expected: "); sb.append(expected.toHumanString()); sb.append(System.lineSeparator()); sb.append(" Received: "); sb.append(received.toHumanString()); sb.append(System.lineSeparator()); return SMFSchemaValidationError.of(sb.toString(), Optional.empty()); }
final SMFCoordinateSystem coords = coords_opt.get(); writer.append("coordinates "); writer.append(coords.toHumanString()); writer.newLine();