summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-3dplot/doc/pst-3dplot-doc.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-08-05 03:01:37 +0000
committerNorbert Preining <norbert@preining.info>2020-08-05 03:01:37 +0000
commit7731c3718462625785ef5c34fd2a38d6ea4f60a7 (patch)
treeb091cd4fd3920872342fec00159a08d6af6d9034 /graphics/pstricks/contrib/pst-3dplot/doc/pst-3dplot-doc.tex
parent1e7bf0547010a2b8bbda5fb22cf3bc6bcf8f11a2 (diff)
CTAN sync 202008050301
Diffstat (limited to 'graphics/pstricks/contrib/pst-3dplot/doc/pst-3dplot-doc.tex')
-rw-r--r--graphics/pstricks/contrib/pst-3dplot/doc/pst-3dplot-doc.tex32
1 files changed, 21 insertions, 11 deletions
diff --git a/graphics/pstricks/contrib/pst-3dplot/doc/pst-3dplot-doc.tex b/graphics/pstricks/contrib/pst-3dplot/doc/pst-3dplot-doc.tex
index f44958f181..775c5d55e2 100644
--- a/graphics/pstricks/contrib/pst-3dplot/doc/pst-3dplot-doc.tex
+++ b/graphics/pstricks/contrib/pst-3dplot/doc/pst-3dplot-doc.tex
@@ -1,15 +1,11 @@
\input{pst-3dplot-doc.dat}
-%% $Id: pst-3dplot-doc.tex 401 2017-04-05 06:57:36Z herbert $
-\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
+%% $Id: pst-3dplot-doc.tex 21 2020-08-04 12:53:07Z herbert $
+\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings,
headexclude,footexclude,oneside,dvipsnames,svgnames]{pst-doc}
\listfiles
\usepackage[utf8]{inputenc}
-
-\usepackage{biblatex}
-\addbibresource{\jobname.bib}
-
\usepackage{pst-grad,pst-3dplot}
\let\pstFV\fileversion
\let\belowcaptionskip\abovecaptionskip
@@ -19,6 +15,8 @@
%\usepackage{tabularx}
%\usepackage{longtable}
%
+\usepackage{biblatex}
+\addbibresource{\jobname.bib}
\makeatletter
\renewcommand*\l@subsection{\bprot@dottedtocline{2}{1.5em}{3.6em}}
@@ -1266,7 +1264,8 @@ A box is a special case of a square and has the syntax
\end{BDef}
-These are the origin vector $\vec{o}$ and three direction vectors $\vec{u}$, $\vec{v}$ and $\vec{w}$,
+These are the origin vector $\vec{o}$ and three direction vectors $\vec{u}$ ($x$ direction) , $\vec{v}$ ($y$ direction)
+and $\vec{w}$ ($z$ direction),
which are for example shown in the following figure.
@@ -1291,16 +1290,24 @@ which are for example shown in the following figure.
\begin{pspicture}(-2,-1.25)(3,4.25)
\psset{Alpha=30,Beta=30}
\pstThreeDCoor[xMin=-3,xMax=1,yMin=-1,yMax=2,zMin=-1,zMax=4]
- \pstThreeDBox[hiddenLine](-1,1,2)(0,0,2)(2,0,0)(0,1,0)
+ \pstThreeDBox[hiddenLine](-1,1,2)(2,0,0)(0,1,0)(0,0,2)
\pstThreeDDot[drawCoor=true](-1,1,2)
\end{pspicture}
\end{LTXexample}
+
+Hidden lines are only possible if you view the object from the
+front and not from behind.
+
+\iffalse
+
+If you are looking from behind, then change the order of the ditection vectors:
+
\begin{LTXexample}[width=5.25cm]
\begin{pspicture}(-2,-1.25)(3,4.25)
\psset{Alpha=210,Beta=30}
\pstThreeDCoor[xMin=-3,xMax=1,yMin=-1,yMax=2,zMin=-1,zMax=4]
- \pstThreeDBox[hiddenLine](-1,1,2)(0,0,2)(2,0,0)(0,1,0)
+ \pstThreeDBox[hiddenLine,alternative](-1,1,2)(2,0,0)(0,1,0)(0,0,2)
\pstThreeDDot[drawCoor=true](-1,1,2)
\end{pspicture}
\end{LTXexample}
@@ -1318,7 +1325,7 @@ which are for example shown in the following figure.
\begin{pspicture}(-2,-1.25)(3,4.25)
\psset{Alpha=130,Beta=30}
\pstThreeDCoor[xMin=-3,xMax=1,yMin=-1,yMax=2,zMin=-1,zMax=4]
- \pstThreeDBox[hiddenLine](-1,1,2)(0,0,2)(2,0,0)(0,1,0)
+ \pstThreeDBox[hiddenLine](-1,1,2)(2,0,0)(0,1,0)(0,0,2)
\pstThreeDDot[drawCoor=true](-1,1,2)
\end{pspicture}
\end{LTXexample}
@@ -1327,11 +1334,14 @@ which are for example shown in the following figure.
\begin{pspicture}(-2,-1.25)(3,4.25)
\psset{Alpha=130,Beta=100}
\pstThreeDCoor[xMin=-3,xMax=1,yMin=-1,yMax=2,zMin=-1,zMax=4]
- \pstThreeDBox[hiddenLine](-1,1,2)(0,0,2)(2,0,0)(0,1,0)
+ \pstThreeDBox[hiddenLine](-1,1,2)(2,0,0)(0,1,0)(0,0,2)
\pstThreeDDot[drawCoor=true](-1,1,2)
\end{pspicture}
\end{LTXexample}
+\fi
+
+\clearpage
\begin{BDef}
\Lcs{psBox}\OptArgs\Largr{vector o}\Largb{width}\Largb{depth}\Largb{height}