public String getTypeString() { return getTypeString(this.type);
public static String getTypeString(int type) { if (type >= 0 && type <= 7) { return ALLTYPES[type]; } else { throw new IllegalArgumentException("Unknown Geometry type" + type); }
    public String getTypeString() {        return getTypeString(this.type);    }