Example #1
0
 def doIntersection(self, initPoint, observations):
     nObs = len(observations)
     if nObs < 2:
         return
     self.rubber.reset()
     self.dlg = IntersectionDialog(self.iface, observations, initPoint)
     if not self.dlg.exec_() or self.dlg.solution is None:
         return
     intersectedPoint = self.dlg.solution
     self.saveIntersectionResult(self.dlg.report, intersectedPoint)
     self.saveDimension(intersectedPoint, self.dlg.observations)