code: @Override
  	public Point3D getXYZ(int index) {
  		if (index < 0 || index >= getPointCount())
  			throw new IndexOutOfBoundsException();
  
  		_verifyAllStreams();
  		AttributeStreamOfDbl v = (AttributeStreamOfDbl) m_vertexAttributes[0];
  		Point3D pt = new Point3D();
  		pt.x = v.read(index * 2);
  		pt.y = v.read(index * 2 + 1);
  
  		// TODO check excluded if statement componenet
  		if (hasAttribute(Semantics.Z))// && (m_vertexAttributes[1] != null))
  			pt.z = m_vertexAttributes[1].readAsDbl(index);
  		else
  			pt.z = VertexDescription.getDefaultValue(Semantics.Z);
  
  		return pt;
  	}
docs: Checked vs. Jan 11, 2011