topology-triangle-simplicial-complex.tex 837 B

123456789101112131415161718192021
  1. \begin{tikzpicture}
  2. \tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
  3. \node (a)[point] at (0,0) {};
  4. \node (b)[point] at (3,0) {};
  5. \node (c)[point] at (2,2) {};
  6. \begin{scope}[yshift=2cm]
  7. \node (d)[point] at (1,1) {};
  8. \node (e)[point] at (0,2) {};
  9. \node (f)[point] at (4,2) {};
  10. \end{scope}
  11. \node (p)[point,label={[label distance=0cm]5:$P$}] at (1.5,0.5) {};
  12. \draw[pattern=north east lines] (a.center) -- (p.center) -- (b.center) -- cycle;
  13. \draw[pattern=north west lines] (a.center) -- (p.center) -- (c.center) -- cycle;
  14. \draw[pattern=vertical lines] (b.center) -- (p.center) -- (c.center) -- cycle;
  15. \draw[pattern=dots] (d.center) -- (e.center) -- (f.center) -- cycle;
  16. \draw (p.center) -- (d.center);
  17. \end{tikzpicture}