double rotation = startMarker.getOrient();
if (Double.isNaN(rotation)) {
if (!iter.isDone()) {
double next[] = new double[7];
int nextSegType = 0;
nextSegType = iter.currentSegment(next);
if(nextSegType == PathIterator.SEG_CLOSE){
nextSegType = PathIterator.SEG_LINETO;
next[0] = coords[0];
next[1] = coords[1];
}