boolean allowScale, boolean allowFirst)
throws ScriptException {
iToken = index - 1;
if (tokAt(index) != Token.ticks)
return null;
TickInfo tickInfo;
String str = " ";
switch (tokAt(index + 1)) {
case Token.x:
case Token.y:
case Token.z:
str = parameterAsString(++index).toLowerCase();
break;
case Token.identifier:
error(ERROR_invalidArgument);
}
if (tokAt(++index) == Token.none) {
tickInfo = new TickInfo(null);
tickInfo.type = str;
iToken = index;
return tickInfo;
}
tickInfo = new TickInfo((Point3f) getPointOrPlane(index, false, true,
false, false, 3, 3));
if (coordinatesAreFractional || tokAt(iToken + 1) == Token.unitcell) {
tickInfo.scale = new Point3f(Float.NaN, Float.NaN, Float.NaN);
allowScale = false;
}