summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-point.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-point.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-point.tex89
1 files changed, 85 insertions, 4 deletions
diff --git a/macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-point.tex b/macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-point.tex
index 45f7991c92..4efd21328f 100644
--- a/macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-point.tex
+++ b/macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-point.tex
@@ -103,9 +103,9 @@ This is the creation of a fixed point with coordinates 1 and 2 and which is name
\textbf{Attributes} & \textbf{Application}& \textbf{Example}\\
\Iattr{point}{re} & |z.A.re = 1| & see (\ref{ssub:methods}) \\
\Iattr{point}{im} & |z.A.im = 2| &see (\ref{ssub:methods}) \\
-\Iattr{point}{type} & |z.A.type = 'point| & \\
+\Iattr{point}{type} & |z.A.type = 'point'| & \\
\Iattr{point}{argument} & |z.A.argument $\approx$ 0.78539816339745| & see (\ref{ssub:example_point_attributes})\\
-\Iattr{point}{module} & |z.A.module| $\approx$ |2.2360...| =$\sqrt{5}$ & see (\ref{ssub:example_point_attributes})\\
+\Iattr{point}{modulus} & |z.A.modulus| $\approx$ |2.2360...| =$\sqrt{5}$ & see (\ref{ssub:example_point_attributes})\\
\bottomrule
\end{tabular}
\egroup
@@ -242,7 +242,7 @@ Attributes of \texttt{z.M}
\subsection{Methods of the class point} % (fold)
\label{sub:methods_of_the_class_point}
-The methods described in the following table are standard. You'll find them in most of the examples at the end of this documentation. The result of the different methods presented in the following table is a \tkzNameObj{point}.
+The methods described in the following table are standard. You'll find them in most of the examples at the end of this documentation. The result of the different methods presented in the following table is a \tkzNameObj{point}. See section (\ref{sub:complex_numbers}) for the metamethods.
\vspace{1em}
\bgroup
@@ -265,6 +265,8 @@ The methods described in the following table are standard. You'll find them in m
\Imeth{point}{west(r)} & & \\
\Imeth{point}{normalize()} & |z.b = z.a: normalize ()| & see (\ref{ssub:method_normalize}) \\
\Imeth{point}{get\_points (obj)} & retrieves points from the object & \\
+\Imeth{point}{orthogonal (d)} & |z.B=z.A:orthogonal(d)| & $\overrightarrow{OB}\perp \overrightarrow{OA}$ and $OB=d$\\
+\Imeth{point}{at ()} & |z.X = z.B : at (z.A)| & $\overrightarrow{OB}= \overrightarrow{AX}$ and $OB=d$\\
\midrule
\textbf{Transformations} &&\\
\midrule
@@ -369,7 +371,6 @@ Use of |north and east| functions linked to points, to transfer lengths, see (\r
\tkzLabelPoints[above right](C,D,F)
\end{tikzpicture}
\end{minipage}
-
% subsubsection report_de_distance (end)
@@ -460,6 +461,86 @@ z.I = point : new (1,0)
\end{minipage}
% subsubsection method_normalize (end)
+\subsubsection{\Imeth{point}{Orthogonal (d)} method} % (fold)
+\label{ssub:orthogonal_method}
+
+Let $O$ be the origin of the plane. The "orthogonal (d)" method is used to obtain a point $B$ from a point $A$ such that $\overrightarrow{OB}\perp \overrightarrow{OA}$ with $OB=OA$ if $d$ is empty, otherwise $OB = d$.
+
+\begin{minipage}{.6\textwidth}
+\begin{verbatim}
+\begin{tkzelements}
+ z.A = point : new ( 3 , 1 )
+ z.B = z.A : orthogonal (1)
+ z.O = point : new ( 0,0 )
+ z.C = z.A : orthogonal ()
+\end{tkzelements}
+\begin{tikzpicture}[gridded]
+ \tkzGetNodes
+ \tkzDrawSegments(O,A O,C)
+ \tkzDrawPoints(O,A,B,C)
+ \tkzLabelPoints[below right](O,A,B,C)
+\end{tikzpicture}
+\end{verbatim}
+\end{minipage}
+\begin{minipage}{.4\textwidth}
+\begin{tkzelements}
+ z.A = point : new ( 3 , 1 )
+ z.B = z.A : orthogonal (1)
+ z.O = point : new ( 0,0 )
+ z.C = z.A : orthogonal ()
+\end{tkzelements}
+\begin{tikzpicture}[gridded]
+ \tkzGetNodes
+ \tkzDrawSegments(O,A O,C)
+ \tkzDrawPoints(O,A,B,C)
+ \tkzLabelPoints[below right](O,A,B,C)
+\end{tikzpicture}
+\end{minipage}
+% subsubsection orthogonal_method (end)
+
+\subsubsection{\Imeth{point}{at} method} % (fold)
+\label{ssub:_imeth_point_at_method}
+
+Cette méthode est complémentaire de la précédente, ainsi on peut souhaiter non pas avoir $\overrightarrow{OB}\perp \overrightarrow{OA}$ mais $\overrightarrow{AB}\perp \overrightarrow{OA}$.
+
+\begin{minipage}{.6\textwidth}
+\begin{verbatim}
+\begin{tkzelements}
+ z.A = point : new ( 3 , 1 )
+ z.B = z.A : orthogonal (1)
+ z.O = point : new ( 0,0 )
+ -- z.B = z.B : at (z.A) -- or
+ z.B = z.A : orthogonal (1) : at (z.A)
+ z.C = z.A+z.B
+ z.D =(z.C-z.A):orthogonal(2) : at (z.C)
+\end{tkzelements}
+\begin{tikzpicture}[gridded]
+ \tkzGetNodes
+ \tkzLabelPoints[below right](O,A,B,C,D)
+ \tkzDrawSegments(O,A A,B A,C C,D)
+ \tkzDrawPoints(O,A,B,C,D)
+\end{tikzpicture}
+\end{verbatim}
+\end{minipage}
+\begin{minipage}{.4\textwidth}
+\begin{tkzelements}
+z.A = point : new ( 3 , 1 )
+z.B = z.A : orthogonal (1)
+z.O = point : new ( 0,0 )
+-- z.B = z.B : at (z.A) -- or
+z.B = z.A : orthogonal (1) : at (z.A)
+z.C = z.A+z.B
+z.D =(z.C-z.A):orthogonal(2) : at (z.C)
+\end{tkzelements}
+\begin{tikzpicture}[gridded]
+\tkzGetNodes
+\tkzLabelPoints[below right](O,A,B,C,D)
+\tkzDrawSegments(O,A A,B A,C C,D)
+\tkzDrawPoints(O,A,B,C,D)
+\end{tikzpicture}
+\end{minipage}
+
+% subsubsection _imeth_point_at_method (end)
\subsubsection{Example: \Imeth{point}{rotation of points}} % (fold)
\label{ssub:example_rotation_of_points}