von Corben » Do 29. Mai 2014, 16:04
Hallo zusammen,
Ich bin gerad folgendes am Zeichnen:
\begin{tikzpicture}
\coordinate (A) at (0,0);
\coordinate (B) at (2,0);
\coordinate (C) at (5,0);
\coordinate [label = above:$S$] (S) at (2.5, 4);
\draw (A) -- (B) -- (C) -- (S) -- cycle;
\draw (A) -- ++(0, -.2);
\draw (B) -- ++(0, -.2);
\draw (C) -- ++(0, -.2);
\coordinate (D) at ($(B)!1.5cm!58:(C)$);
\draw (B) -- (D) -- (D-|C);
\end{tikzpicture}
Ich möchte aber, dass die letzte Linie (die von D ausgeht) nicht über das Dreick hinausgeht, alo an der Geraden C--S gestoppt wird.
Ist das möglich (ohne sich den Punkt auszurechnen)?
Viele Grüße
Hallo zusammen,
Ich bin gerad folgendes am Zeichnen:
[code]
\begin{tikzpicture}
\coordinate (A) at (0,0);
\coordinate (B) at (2,0);
\coordinate (C) at (5,0);
\coordinate [label = above:$S$] (S) at (2.5, 4);
\draw (A) -- (B) -- (C) -- (S) -- cycle;
\draw (A) -- ++(0, -.2);
\draw (B) -- ++(0, -.2);
\draw (C) -- ++(0, -.2);
\coordinate (D) at ($(B)!1.5cm!58:(C)$);
\draw (B) -- (D) -- (D-|C);
\end{tikzpicture}
[/code]
Ich möchte aber, dass die letzte Linie (die von D ausgeht) nicht über das Dreick hinausgeht, alo an der Geraden C--S gestoppt wird.
Ist das möglich (ohne sich den Punkt auszurechnen)?
Viele Grüße