code: @ExportInstanceMethod
  	public static String getType(GeometryIndex instance) {
  		switch (instance.getType()) {
  			case TYPE_GEOMETRY:
  				return "geometry";
  			case TYPE_VERTEX:
  				return "vertex";
  			case TYPE_EDGE:
  				return "edge";
  			default:
  				return "unknown";
  		}
  	}
docs: Get the type of sub-part this index points to. Can be a vertex, edge or sub-geometry.
  
  @return The type of sub-part this index points to.