public boolean isAxicollinear(Vector other) {
        boolean x = this.getX() == other.getX(),
                y = this.getY() == other.getY(),
                z = this.getZ() == other.getZ();

        return (x && (y || z)) || (y && z);
    }