void writeData(List<Vector3D> points) {
        for (Vector3D p : points) {
            if(p.getX() != 0 && p.getY() != 0 && p.getZ() != 0) {
                s.write((int) p.getX() + ";" + (int) p.getY() + ";" + (int) p.getZ() + "\n");
            }
        }
        if(points.size() > 0) {
            s.write("#");
        }       
    }