Returns the index of the UV coordinate set used by the texture.<p>

If missing, defaults to 0

@param type the texture type
@param index the index in the texture stack
@return the UV index
@throws IndexOutOfBoundsException if index is invalid
176739
public int getTextureUVIndex(AiTextureType type, int index) {
        checkTexRange(type, index);
        
        return getTyped(PropertyKey.TEX_UV_INDEX, type, index, Integer.class);
    }
1163473
@Pure
	public PointGroup getGroupAt(int index) {
		final int count = getGroupCount();
		if (index < 0) {
			throw new IndexOutOfBoundsException(index + "<0"); //$NON-NLS-1$
		}
		if (index >= count) {
			throw new IndexOutOfBoundsException(index + ">=" + count); //$NON-NLS-1$
		}
		return new PointGroup(index);
	}
908641
public char getCharacter(final int index) {
		if (index > characters.length) {
			throw new IndexOutOfBoundsException(index + "@" + characters.length + " does not fit");
		}
		return characters[index];
	}
11425
public HpackHeaderField getEntry(int index) {
        if (index <= 0 || index > length()) {
            throw new IndexOutOfBoundsException();
        }
        int i = head - index;
        if (i < 0) {
            return hpackHeaderFields[i + hpackHeaderFields.length];
        } else {
            return hpackHeaderFields[i];
        }
    }
847348
protected int getIndexFromMap(int[] maskMap, int index) {
        if (index < 0 || index >= maskMap.length)
            throw new IndexOutOfBoundsException(
                    "The given index is beyond the bounds of the matrix");
        int newIndex = maskMap[index];
        if (newIndex < 0 ||
            maskMap == rowMaskMap && newIndex >= matrix.rows() ||
            maskMap == colMaskMap && newIndex >= matrix.columns())
            throw new IndexOutOfBoundsException(
                    "The mapped index is beyond the bounds of the base matrix");
        return newIndex;
    }
124549
public void setType (int index, String type)
    {
    if (index >= 0 && index < length) {
        data[index*5+3] = type;
    } else {
        badIndex(index);
    }
    }
1206227
public float getBlendFactor(AiTextureType type, int index) {
        checkTexRange(type, index);
        
        return getTyped(PropertyKey.TEX_BLEND, type, index, Float.class);
    }
32194
public int indexOf(DateTimeFieldType type) {
        for (int i = 0, isize = size(); i < isize; i++) {
            if (getFieldType(i) == type) {
                return i;
            }
        }
        return -1;
    }
1021057
public int getFromIndex(int index) {
        Object node = objs[index];
        return node == null || node == DELETED ? -1 : ints[index];
    }
1162329
public static Type getParamType(Method method, int index) {
		Type[] types = getParamTypes(method);
		if (null != types && types.length > index) {
			return types[index];
		}
		return null;
	}
3634
private void checkColorIndex(int index) {
    if (index < 0 || index >= mColors.length) {
      throw new IllegalArgumentException(String.format(Locale.US, "Index %d not valid", index));
    }
  }
166223
public ByteBuffer getValue(int index) throws IOException {
        if (index >= structure.valueSizes.size()) {
            throw new IOException("Index " + index + " is out of range.");
        }
        int length = structure.valueSizes.get(index);
        return ByteBuffer.wrap(value, structure.valueByteOffsets.get(index), length).asReadOnlyBuffer();
    }
697802
public Vector3D getConer(int index) {
        Vector3D v = new Vector3D(0, 0, 0);

        if (index <= 0) {
            v.set(this.x1, this.y1);
        } else if (index == 1) {
            v.set(this.x2, this.y2);
        } else if (index == 2) {
            v.set(this.x3, this.y3);
        } else if (3 <= index) {
            v.set(this.x4, this.y4);
        }
        return v;
    }
130686
public DataType getAttributeType(int index) {
        final VertexAttribute attribute = getAttribute(index);
        if (attribute == null) {
            return null;
        }
        return attribute.getType();
    }
76998
@Pure
	public Point3d getPointAt(int index) {
		Point3d point = new Point3d();
		point.xProperty = this.coordsProperty[index*3];
		point.yProperty = this.coordsProperty[index*3+1];
		point.zProperty = this.coordsProperty[index*3+2];

		return point;
	}
879235
public AiTextureMapMode getTextureMapModeW(AiTextureType type, int index) {
        checkTexRange(type, index);
        
        Property p = getProperty(PropertyKey.TEX_MAP_MODE_W.m_key);
        
        if (null == p || null == p.getData()) {
            return (AiTextureMapMode) m_defaults.get(
                    PropertyKey.TEX_MAP_MODE_W);
        }
        
        return AiTextureMapMode.fromRawValue(p.getData());
    }
27485
public String format(GeometryIndex index) {
		if (index.hasChild()) {
			return "geometry" + index.getValue() + "." + format(index.getChild());
		}
		switch (index.getType()) {
			case TYPE_VERTEX:
				return "vertex" + index.getValue();
			case TYPE_EDGE:
				return "edge" + index.getValue();
			default:
				return "geometry" + index.getValue();
		}
	}