560561562563564565566567568569570
String vstr = ((Element) cur).getAttribute("vector"); if(vstr != null && vstr != "") { point = parseVector(vstr); } if(point == null) { throw new UnableToComplyException("No translation vector given."); } // *** add new point points.add(point);
591592593594595596597598599600
for(int i = 0; i < entries.length; i++) { try { d[i] = Double.parseDouble(entries[i]); } catch(NumberFormatException e) { throw new UnableToComplyException("Could not parse vector."); } } return new Vector(d); }