\hypertarget{a00347}{\section{A\+C\+G\+:\+:Bezier\+Curve\+T$<$ Point $>$ Class Template Reference}
\label{a00347}\index{A\+C\+G\+::\+Bezier\+Curve\+T$<$ Point $>$@{A\+C\+G\+::\+Bezier\+Curve\+T$<$ Point $>$}}
}


{\ttfamily \#include $<$A\+C\+G/\+Math/\+Bezier\+Curve\+T.\+hh$>$}

Inheritance diagram for A\+C\+G\+:\+:Bezier\+Curve\+T$<$ Point $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00347}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00347_a029b043ddaa616bbe438facb28bf0286}{typedef Point\+::value\+\_\+type {\bfseries Scalar}}\label{a00347_a029b043ddaa616bbe438facb28bf0286}

\item 
\hypertarget{a00347_a9226374efc5370764c97c491cb716a2e}{typedef \hyperlink{a00347}{Bezier\+Curve\+T}$<$ Point $>$ {\bfseries Self}}\label{a00347_a9226374efc5370764c97c491cb716a2e}

\item 
\hypertarget{a00347_a0b8a2411b78782a7099eb2ea32c2c44b}{typedef std\+::vector$<$ Point $>$ {\bfseries Base}}\label{a00347_a0b8a2411b78782a7099eb2ea32c2c44b}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00347_af411feb197598cb7c4aab1d2387e7ddb}{\hyperlink{a00347_af411feb197598cb7c4aab1d2387e7ddb}{Bezier\+Curve\+T} ()}\label{a00347_af411feb197598cb7c4aab1d2387e7ddb}

\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hypertarget{a00347_a01555da2e8a77be3ec4f4dbb4dc3fc0a}{\hyperlink{a00347_a01555da2e8a77be3ec4f4dbb4dc3fc0a}{$\sim$\+Bezier\+Curve\+T} ()}\label{a00347_a01555da2e8a77be3ec4f4dbb4dc3fc0a}

\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\hypertarget{a00347_aad1616d92a61ccf05dac2fd7d47e26ec}{unsigned int \hyperlink{a00347_aad1616d92a61ccf05dac2fd7d47e26ec}{degree} () const }\label{a00347_aad1616d92a61ccf05dac2fd7d47e26ec}

\begin{DoxyCompactList}\small\item\em return degree (= size()-\/1) \end{DoxyCompactList}\item 
\hypertarget{a00347_af7c0b4ea15cd320939dfc7feb0e3af85}{Point \hyperlink{a00347_af7c0b4ea15cd320939dfc7feb0e3af85}{operator()} (Scalar \+\_\+t) const }\label{a00347_af7c0b4ea15cd320939dfc7feb0e3af85}

\begin{DoxyCompactList}\small\item\em evaluate curve at parameter \+\_\+t using de\+Casteljau \end{DoxyCompactList}\item 
void \hyperlink{a00347_a90478a9f8d2412bdfdfde1ea7642caab}{subdivide} (Scalar \+\_\+t, \hyperlink{a00347}{Self} \&\+\_\+curve0, \hyperlink{a00347}{Self} \&\+\_\+curve1) const 
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class Point$>$class A\+C\+G\+::\+Bezier\+Curve\+T$<$ Point $>$}

Bezier curve. Derived from std\+::vector$<$Vector$<$\+Scalar, Dimension$>$$>$. 

Definition at line 83 of file Bezier\+Curve\+T.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00347_a90478a9f8d2412bdfdfde1ea7642caab}{\index{A\+C\+G\+::\+Bezier\+Curve\+T@{A\+C\+G\+::\+Bezier\+Curve\+T}!subdivide@{subdivide}}
\index{subdivide@{subdivide}!A\+C\+G\+::\+Bezier\+Curve\+T@{A\+C\+G\+::\+Bezier\+Curve\+T}}
\subsubsection[{subdivide}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Point $>$ void {\bf A\+C\+G\+::\+Bezier\+Curve\+T}$<$ Point $>$\+::subdivide (
\begin{DoxyParamCaption}
\item[{Scalar}]{\+\_\+t, }
\item[{{\bf Self} \&}]{\+\_\+curve0, }
\item[{{\bf Self} \&}]{\+\_\+curve1}
\end{DoxyParamCaption}
) const}}\label{a00347_a90478a9f8d2412bdfdfde1ea7642caab}
subdivide curve at parameter \+\_\+t, store the two resulting curves in \+\_\+curve0, \+\_\+curve1 

Definition at line 104 of file Bezier\+Curve\+T.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Math/Bezier\+Curve\+T.\+hh\item 
A\+C\+G/\+Math/Bezier\+Curve\+T.\+cc\end{DoxyCompactItemize}
