Exemplo n.º 1
0
    def add_reflection(self, evt):
        point = self._get_point(self.points)
        line = self._get_line(self.lines)

        if point and line:
            point_line = PointLine(point, line)
            name = self.name.GetValue()
            ref = point_line.reflection(), name, "s", self.colours.GetValue()
            self.parent.object_panel.add_point(ref)
Exemplo n.º 2
0
    def add_reflection(self, evt):
        point = self._get_point(self.points)
        line = self._get_line(self.lines)

        if point and line:
            point_line = PointLine(point, line)
            name = self.name.GetValue()
            ref = point_line.reflection(), name, "s", self.colours.GetValue()
            self.parent.object_panel.add_point(ref)