|
Revision 89, 1.4 kB
(checked in by jpv, 6 months ago)
|
Correction bug de clipping sur projection droites + SphercalCoor? dans la doc
|
| Line | |
|---|
| 1 |
\documentclass{article} |
|---|
| 2 |
\usepackage{pst-solides3d,pst-node,pst-plot,multido,url} |
|---|
| 3 |
\usepackage[latin1]{inputenc} |
|---|
| 4 |
\usepackage[T1]{fontenc} |
|---|
| 5 |
\usepackage{colortbl} |
|---|
| 6 |
\usepackage{array} |
|---|
| 7 |
\usepackage[a4paper,bottom=2.5cm,top=2cm]{geometry} |
|---|
| 8 |
|
|---|
| 9 |
\makeatletter |
|---|
| 10 |
|
|---|
| 11 |
\title{\texttt{pst-solides3d} :\\ |
|---|
| 12 |
Test} |
|---|
| 13 |
\date{\today } |
|---|
| 14 |
\begin{document} |
|---|
| 15 |
\maketitle |
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
\section {planshowbase3d} |
|---|
| 21 |
|
|---|
| 22 |
Avec l'équation $z=0$ |
|---|
| 23 |
\begin{center} |
|---|
| 24 |
|
|---|
| 25 |
\psset{viewpoint=10 18 40 rtp2xyz,Decran=10,fontsize=10} |
|---|
| 26 |
\begin{pspicture*}(-5,-4)(6,4) |
|---|
| 27 |
\psframe(-5,-4)(6,4) |
|---|
| 28 |
\psSolid[object=plan, |
|---|
| 29 |
definition=equation, |
|---|
| 30 |
args={[0 0 1 0]}, |
|---|
| 31 |
fillcolor=yellow, |
|---|
| 32 |
base=-2 2 -3 3, |
|---|
| 33 |
|
|---|
| 34 |
] |
|---|
| 35 |
\codejps { |
|---|
| 36 |
[0 0 1 0] eq2plan [.15 .35] planshowbase3d |
|---|
| 37 |
} |
|---|
| 38 |
\axesIIID(0,0,0)(2,3,4) |
|---|
| 39 |
\end{pspicture*} |
|---|
| 40 |
\end{center} |
|---|
| 41 |
|
|---|
| 42 |
\section {planshowbase} |
|---|
| 43 |
|
|---|
| 44 |
Avec l'équation $z=0$ et en prenant $(0,3,0)$ comme origine. |
|---|
| 45 |
\begin{center} |
|---|
| 46 |
|
|---|
| 47 |
\psset{viewpoint=10 18 40 rtp2xyz,Decran=10,fontsize=10} |
|---|
| 48 |
\begin{pspicture*}(-5,-4)(8,4) |
|---|
| 49 |
\psframe(-5,-4)(6,4) |
|---|
| 50 |
\psSolid[object=plan, |
|---|
| 51 |
definition=equation, |
|---|
| 52 |
args={[0 0 1 0]}, |
|---|
| 53 |
fillcolor=yellow, |
|---|
| 54 |
origine=0 3 0, |
|---|
| 55 |
base=-2 2 -3 3, |
|---|
| 56 |
ngrid=1. 1., |
|---|
| 57 |
] |
|---|
| 58 |
\axesIIID(0,0,0)(4,4,4) |
|---|
| 59 |
\codejps { |
|---|
| 60 |
2 setlinewidth |
|---|
| 61 |
[0 0 1 0] (0 3 0) eq2plan (bleu) (bleu) planshowbase |
|---|
| 62 |
} |
|---|
| 63 |
\end{pspicture*} |
|---|
| 64 |
\end{center} |
|---|
| 65 |
\end{document} |
|---|