Add TODO noting that polygon mirroring could be normalized
This commit is contained in:
parent
f00d283c56
commit
a154555902
@ -264,6 +264,8 @@ class Polygon(Shape):
|
|||||||
x_min = x_min[y_min]
|
x_min = x_min[y_min]
|
||||||
reordered_vertices = numpy.roll(rotated_vertices, -x_min, axis=0)
|
reordered_vertices = numpy.roll(rotated_vertices, -x_min, axis=0)
|
||||||
|
|
||||||
|
# TODO: normalize mirroring?
|
||||||
|
|
||||||
return (type(self), reordered_vertices.data.tobytes(), self.layer), \
|
return (type(self), reordered_vertices.data.tobytes(), self.layer), \
|
||||||
(offset, scale/norm_value, rotation, False, self.dose), \
|
(offset, scale/norm_value, rotation, False, self.dose), \
|
||||||
lambda: Polygon(reordered_vertices*norm_value, layer=self.layer)
|
lambda: Polygon(reordered_vertices*norm_value, layer=self.layer)
|
||||||
|
Loading…
Reference in New Issue
Block a user