summaryrefslogtreecommitdiffstats
path: root/mat/domace_naloge/16/cstresica.tex
blob: c80277e22d1fa1374bcca611ec23877edf85f71a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
\begin{center}
	\begin{tikzpicture}
		\tkzDefPoint(0,0){A} \tkzDefPoint(7,0){B}
		\tkzLabelLine[belowi left](A,B){$a$} \tkzCompass(A,B)
		\tkzDefMidPoint(A,B) \tkzGetPoint{M} \tkzCompass(A,M) \tkzCompass(B,M)
		\tkzInterLC(A,M)(A,M) \tkzGetPoints{X}{0} \tkzCompass(A,X)
		\tkzDrawLine(X,B) \tkzInterCC(X,M)(M,X) \tkzGetPoints{P}{R}
		\tkzCompass(X,P) \tkzCompass(X,R) \tkzCompass(M,P) \tkzCompass(M,R)
		\tkzDrawLine(P,R) \tkzInterLC(P,R)(A,M) \tkzGetPoints{V}{W}
		\tkzCompass(A,V) \tkzCompass(A,W)
		\tkzDefMidPoint(M,V) \tkzGetPoint{6} \tkzCompass(M,6) \tkzCompass(V,6)
		\tkzDefMidPoint(M,W) \tkzGetPoint{7} \tkzCompass(M,7) \tkzCompass(W,7)
		\tkzInterLC(V,A)(V,A) \tkzGetPoints{T}{0} \tkzCompass(V,T)
		\tkzInterLC(W,A)(W,A) \tkzGetPoints{U}{0} \tkzCompass(W,U)
		\tkzInterCC(A,T)(T,A) \tkzGetPoints{1}{2}
		\tkzCompass(A,1) \tkzCompass(A,2) \tkzCompass(T,1) \tkzCompass(T,2)
		\tkzInterCC(A,U)(U,A) \tkzGetPoints{3}{4}
		\tkzCompass(A,4) \tkzCompass(A,3) \tkzCompass(U,3) \tkzCompass(U,4)
		\tkzDrawLine(1,2) \tkzDrawLine(3,4)
		\tkzInterLL(A,6)(1,2) \tkzGetPoint{D1} \tkzDrawLine(A,D1)
		\tkzInterLL(A,7)(3,4) \tkzGetPoint{D2} \tkzDrawLine(A,D2)
		\tkzInterCC(B,M)(M,B) \tkzGetPoints{H}{G}
		\tkzCompass(B,G) \tkzCompass(B,H) \tkzCompass(M,G) \tkzCompass(M,H)
		\tkzInterLL(V,D1)(B,G) \tkzGetPoint{C1} \tkzDrawLine(B,C1)
		\tkzInterLL(W,D2)(B,H) \tkzGetPoint{C2} \tkzDrawLine(B,C2)
		\tkzLabelLine[below left](B,C1){$b1$}
		\tkzLabelLine[above left](B,C2){$b2$}
		\tkzLabelLine[below](D1,C1){$c1$} \tkzLabelLine[below](D2,C2){$c2$}
		\tkzLabelLine[below left](A,D2){$d2$}
		\tkzLabelLine[above left](A,D1){$d1$}
		\tkzDrawPolygon[fill=red!30, opacity=.3](A,B,C1,D1)
		\tkzDrawPolygon[fill=blue!30, opacity=.3](A,B,C2,D2)
		\tkzMarkRightAngles(X,A,P A,V,D1 A,W,D2)
		\tkzDrawPoints(A) \tkzLabelPoints(A,B,D1,D2,C1,C2)
	\end{tikzpicture}
\end{center}