class LaserMeasurement {

    @NonNull
    public static CharSequence render(@NonNull List<LaserMeasurement> points, boolean metric) {
        final double units = metric ? 1 : 3.28084;
        final StringBuilder sb = new StringBuilder();
        for (LaserMeasurement point : points) {
            sb.append(String.format(Locale.US, "%.1f, %.1f\n", point.x * units, point.y * units));
        }
        return sb;
    }

    public  LaserMeasurement(double x, double y);

}