The object \Lkeyword{point} defines a \Index{point}. The values $(x,y)$ of
its coordinates can be passed directly to the macro
\Lcs{psProjection} or indirectly via the option \Lkeyword{args}.
Thus the two commands \verb+\psProjection[object=point](1,2)+ and
\verb+\psProjection[object=point,arg=1 2]+ are equivalent and lead
to the projection of the point with coordinates $(1,2)$ onto the
chosen plane.
\subsection{Labels}
The option \texttt{\Lkeyword{text}=my text} allows us to project a string of
characters onto the chosen plane next to a chosen point. The
positioning is made with the argument \texttt{\Lkeyword{pos}=value} where
\texttt{value} is one of the following $\{$ul, cl, bl, dl, ub, cb, bb,
db, uc, cc, bc, dc, ur, cr, br, dr$\}$.
The details of the parameter \Lkeyword{pos} will be discussed in a
later paragraph.
\begin{LTXexample}[width=7.5cm]
\begin{pspicture}(-3,-3)(4,3.5)%
\psframe*[linecolor=blue!50](-3,-3)(4,3.5)
\psset{viewpoint=50 30 15,Decran=60}
\psset{solidmemory}
%% definition du plan de projection
\psSolid[object=plan,
definition=equation,
args={[1 0 0 0] 90},
name=monplan,
planmarks,
showBase]
\psset{plan=monplan}
%% definition du point A
\psProjection[object=point,
args=-2 1,
text=A,
pos=ur]
\psProjection[object=point,
text=B,
pos=ur](2,1)
\composeSolid
\axesIIID(4,2,2)(5,4,3)
\end{pspicture}
\end{LTXexample}
\subsection{Naming and memorising a point}
If the option \texttt{\Lkeyword{name}=myName} is given, the coordinates
$(x,y)$ of the chosen point are saved under the name \texttt{myName} and so
can be reused.
\subsection{Some other definitions}
There are other methods to define a point in 2D. The options
\Lkeyword{definition} and \Lkeyword{args} support the following
methods:
The intersection points of the line
$d$ with a circle of centre $I$ and radius $r$.
\end{itemize}
In the example below, we define and name three points $A$, $B$ and
$C$, and then calculate the point $D$ for which $(ABCD)$ is a
parallelogram together with the centre of this parallelogram.
\begin{LTXexample}[width=7.5cm]
\begin{pspicture}(-3,-3)(4,3.5)%
\psframe*[linecolor=blue!50](-3,-3)(4,3.5)
\psset{viewpoint=50 30 15,Decran=60}
\psset{solidmemory}
%% definition du plan de projection
\psSolid[object=plan,
definition=equation,
args={[1 0 0 0] 90},
name=monplan,
planmarks,
showbase]
\psset{plan=monplan}
%% definition du point A
\psProjection[object=point,
text=A,pos=ur,name=A](-1,.7)
%% definition du point B
\psProjection[object=point,
text=B,pos=ur,name=B](2,1)
%% definition du point C
\psProjection[object=point,
text=C,pos=ur,name=C](1,-1.5)
%% definition du point D
\psProjection[object=point,
definition=parallelopoint,
args=A B C,
text=D,pos=ur,name=D]
%% definition du point G
\psProjection[object=point,
definition=milieu,
args=D B]
\composeSolid
\axesIIID(4,2,2)(5,4,3)
\end{pspicture}
\end{LTXexample}