SmtC: Show me the Code
Ole Peter Smith
Instituto de Matemática e Estatística
Universidade Federal de Goiás
http://www.olesmith.com.br

Cartesian
Quando eu dou de comer aos pobres
Me chamam de santo
Quando eu pergunto por que eles são pobres
Me chamam de comunista
Dom Helder Câmera
< By Point and Vector | Convex Combination | Dot Product >

Convex Combination

\[ \overrightarrow{OP} = \overrightarrow{OA}+t~\overrightarrow{AB} = \begin{pmatrix} x_a+t(x_b-x_a) \\ y_a+t(y_b-y_a) \end{pmatrix}, ~t \in \mathbb{R} \]
TiKZ Listing: Fig.tikz.tex. PDF   PNG   SVG   ZIP*  
\tikzmath{\L=1;}

\coordinate (A) at (-\L,-\L);
\coordinate (B) at ( \L, \L);

\fill (A) circle(2pt) node [left] {$A~~$};
\fill (B) circle(2pt) node [left] {$B~~$};
\draw ($(A)!-1.5!(B)$) -- ($(A)!2.5!(B)$);

\foreach \t in {-1,-0.5,0,0.5,1,1.5,2}
{
   \fill ($(A)!\t!(B)$) circle(1.5pt) node [right] {$~~t=\t$};
}
< By Point and Vector | Convex Combination | Dot Product >
Messages:
0 secs.