writer.writeAttribute("orientation",inter->getStrOrientation());
writer.writeAttribute("position",QString::number(inter->getPositionRatio()));
writer.writeAttribute("orientation",inter->getStrOrientation());
writer.writeAttribute("position",QString::number(inter->getPositionRatio()));