예제 #1
0
 def processSectionsData(self, svgDrawer):
     dataProcessor = SectionsDataProcesssor(svgDrawer)
     linacSectionsData = self.secondStep.getLinacData()
     ringSectionsData = self.secondStep.getRingData()
     dataProcessor.processLinacSections(linacSectionsData)
     dataProcessor.processRingSections(ringSectionsData)
     dataProcessor.drawLastSectionIfNecessary()
예제 #2
0
 def processSectionsData(self, svgDrawer):
     dataProcessor = SectionsDataProcesssor(svgDrawer)
     linacSectionsData = self.secondStep.getLinacData()
     ringSectionsData = self.secondStep.getRingData()
     dataProcessor.processLinacSections(linacSectionsData)
     dataProcessor.processRingSections(ringSectionsData)
     dataProcessor.drawLastSectionIfNecessary()
예제 #3
0
 def setSectionsData(self, linacData, ringData):
     self.svgDrawer = SvgDrawer()
     sectionsProcessor = SectionsDataProcesssor(self.svgDrawer)
     sectionsProcessor.processLinacSections(linacData)
     sectionsProcessor.processRingSections(ringData)
     self.sections = self.svgDrawer.getAllSections()