summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-bspline/pst-bspline-doc.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-12-14 00:33:10 +0000
committerKarl Berry <karl@freefriends.org>2008-12-14 00:33:10 +0000
commit39bd5e5b62002cfa5d3183fc0492f950d5db7002 (patch)
treec1c7cace60faea582f56dd0348ec688c07a896c9 /Master/texmf-dist/doc/generic/pst-bspline/pst-bspline-doc.tex
parentccfef10698e5e6e1afc70cb15e03ae531a376de5 (diff)
pst-bspline update (13dec08)
git-svn-id: svn://tug.org/texlive/trunk@11611 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-bspline/pst-bspline-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-bspline/pst-bspline-doc.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-bspline/pst-bspline-doc.tex b/Master/texmf-dist/doc/generic/pst-bspline/pst-bspline-doc.tex
index c8c12d2f9a5..5df2756a987 100644
--- a/Master/texmf-dist/doc/generic/pst-bspline/pst-bspline-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-bspline/pst-bspline-doc.tex
@@ -241,6 +241,12 @@ will construct a sequence {\tt SB0} $\cdots ${\tt SB4} of nodes at the B-spline
\begin{verbatim}
\psBsplineNodes{SB}{4}
\end{verbatim}
+If you don't care about keeping track of the internal operations and names for nodes, you may generate the curve directly with, for example,
+\begin{verbatim}
+\psbspline(0,0)(.5,.1)(1.5,.6)(2.5,1.4)(3.5,1.8)(4.5,1.7)%
+(5.8,1.0)(7.5,.25)(10,0)
+\end{verbatim}
+
\subsection{Closed (periodic) case}
We turn now to the periodic uniform B-spline curve interpolating $n$ points $S_0$,...,$S_{n-1}$. Extend the sequence periodically with period $n$, so that $S_n=S_0$, $S_{n+1}=S_1$, $S_{-1}=S_{n-1}$, and so on. In order to find the periodic control points $B_k$, we have to solve the $n$ equations
\begin{align*}