Symétrie centrale
Author: David Evéquoz
Date: 3 Février 2013

O

<<   >>

Image

Etape4.2

A = (1.1539055028130611, 5.9944711532851365)
B = (-0.20971464303465592, -4.412103643973767)
C = (5.5318438657978355, -1.1107075013950825)
D = (8.94089423041713, 5.671508487163308)
poly1, a, b, c, d = Polygon(A, B, C, D)
E = (11.452826078031338, 0.1452584224120267)
e = -1 (slider from -1 to 1, step 0.01)
A' = Dilate(A, (-e), E)
B' = Dilate(B, (-e), E)
C' = Dilate(C, (-e), E)
D' = Dilate(D, (-e), E)
poly1', a', b', c', d' = Polygon(A', B', C', D')
f = Segment(A, A')
g = Segment(B', B)
h = Segment(D', D)
i = Segment(C', C)
k = false
F = (-4.3723445619382115, -0.6800906132326454)
G = (6.32130816076231, -5.129798457577836)
l = Segment(F, G)
m = OrthogonalLine(F, l)
n = OrthogonalLine(G, l)
H = Point(m)
I = Point(l)
J = Point(n)
O = (9.479165340620174, -0.5006669098316293)
p = OrthogonalLine(J, n)
L = Point(p)
image1' = Dilate(image1, (-e), O)
L' = Dilate(L, (-e), O)
H' = Dilate(H, (-e), O)
I' = Dilate(I, (-e), O)
q = Segment(L, L')
r = Segment(H, H')
s = Segment(I, I')