\hypertarget{a01090}{\section{A\+C\+G\+:\+:Geometry\+:\+:Quadric\+T$<$ Scalar $>$ Class Template Reference}
\label{a01090}\index{A\+C\+G\+::\+Geometry\+::\+Quadric\+T$<$ Scalar $>$@{A\+C\+G\+::\+Geometry\+::\+Quadric\+T$<$ Scalar $>$}}
}


{\ttfamily \#include $<$A\+C\+G/\+Geometry/\+Types/\+Quadric\+T.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01090_add30299f577a50dcd8d1e7cdecf9372e}{\hyperlink{a01090_add30299f577a50dcd8d1e7cdecf9372e}{Quadric\+T} (Scalar \+\_\+a, Scalar \+\_\+b, Scalar \+\_\+c, Scalar \+\_\+d, Scalar \+\_\+e, Scalar \+\_\+f, Scalar \+\_\+g, Scalar \+\_\+h, Scalar \+\_\+i, Scalar \+\_\+j)}\label{a01090_add30299f577a50dcd8d1e7cdecf9372e}

\begin{DoxyCompactList}\small\item\em construct with upper triangle of symmetrix 4x4 matrix \end{DoxyCompactList}\item 
\hypertarget{a01090_a6ee9e55b697d10c72d80958fc25c93d3}{\hyperlink{a01090_a6ee9e55b697d10c72d80958fc25c93d3}{Quadric\+T} (Scalar \+\_\+a=0.\+0, Scalar \+\_\+b=0.\+0, Scalar \+\_\+c=0.\+0, Scalar \+\_\+d=0.\+0)}\label{a01090_a6ee9e55b697d10c72d80958fc25c93d3}

\begin{DoxyCompactList}\small\item\em constructor from given plane equation\+: ax+by+cz+d=0 \end{DoxyCompactList}\item 
\hypertarget{a01090_adacb25f917406743b4f56729ab812c02}{void \hyperlink{a01090_adacb25f917406743b4f56729ab812c02}{clear} ()}\label{a01090_adacb25f917406743b4f56729ab812c02}

\begin{DoxyCompactList}\small\item\em set all entries to zero \end{DoxyCompactList}\item 
\hypertarget{a01090_ab3159ff76c0719e90f210a1484232f60}{\hyperlink{a01090}{Quadric\+T}$<$ Scalar $>$ \& \hyperlink{a01090_ab3159ff76c0719e90f210a1484232f60}{operator+=} (const \hyperlink{a01090}{Quadric\+T}$<$ Scalar $>$ \&\+\_\+q)}\label{a01090_ab3159ff76c0719e90f210a1484232f60}

\begin{DoxyCompactList}\small\item\em add quadrics \end{DoxyCompactList}\item 
\hypertarget{a01090_a8f47e735bc59aa0041935abfd041bef3}{\hyperlink{a01090}{Quadric\+T}$<$ Scalar $>$ \& \hyperlink{a01090_a8f47e735bc59aa0041935abfd041bef3}{operator$\ast$=} (Scalar \+\_\+s)}\label{a01090_a8f47e735bc59aa0041935abfd041bef3}

\begin{DoxyCompactList}\small\item\em multiply by scalar \end{DoxyCompactList}\item 
\hypertarget{a01090_a584af75087cca82962398b77dacb8151}{\hyperlink{a01409}{Vector\+T}$<$ Scalar, 4 $>$ \hyperlink{a01090_a584af75087cca82962398b77dacb8151}{operator$\ast$} (const \hyperlink{a01409}{Vector\+T}$<$ Scalar, 4 $>$ \&\+\_\+v) const }\label{a01090_a584af75087cca82962398b77dacb8151}

\begin{DoxyCompactList}\small\item\em multiply 4\+D vector from right\+: Q$\ast$v \end{DoxyCompactList}\item 
\hypertarget{a01090_ac1429f062cdc99b8cf2b828d272d6025}{Scalar \hyperlink{a01090_ac1429f062cdc99b8cf2b828d272d6025}{operator()} (const \hyperlink{a01409}{Vector\+T}$<$ Scalar, 3 $>$ \+\_\+v) const }\label{a01090_ac1429f062cdc99b8cf2b828d272d6025}

\begin{DoxyCompactList}\small\item\em evaluate quadric Q at vector v\+: v$\ast$\+Q$\ast$v \end{DoxyCompactList}\item 
\hypertarget{a01090_a2c584243077b5414999fd1eda3cb2d51}{Scalar \hyperlink{a01090_a2c584243077b5414999fd1eda3cb2d51}{operator()} (const \hyperlink{a01409}{Vector\+T}$<$ Scalar, 4 $>$ \+\_\+v) const }\label{a01090_a2c584243077b5414999fd1eda3cb2d51}

\begin{DoxyCompactList}\small\item\em evaluate quadric Q at vector v\+: v$\ast$\+Q$\ast$v \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01090_a0e9396065297845711cd6d6ff4f9f59d}{Scalar {\bfseries a}}\label{a01090_a0e9396065297845711cd6d6ff4f9f59d}

\item 
\hypertarget{a01090_a0c2aab2c5d20342b6f6448e0e02e15df}{Scalar {\bfseries b}}\label{a01090_a0c2aab2c5d20342b6f6448e0e02e15df}

\item 
\hypertarget{a01090_a62b4c777e95adb2786f0da9879363b0d}{Scalar {\bfseries c}}\label{a01090_a62b4c777e95adb2786f0da9879363b0d}

\item 
\hypertarget{a01090_a1a8cc5f03efac07795a2903c64cad0a4}{Scalar {\bfseries d}}\label{a01090_a1a8cc5f03efac07795a2903c64cad0a4}

\item 
\hypertarget{a01090_a2633f20ca7340660105804045a48d160}{Scalar {\bfseries e}}\label{a01090_a2633f20ca7340660105804045a48d160}

\item 
\hypertarget{a01090_a13eb7498a8c6e0016fb4b9c6537c0713}{Scalar {\bfseries f}}\label{a01090_a13eb7498a8c6e0016fb4b9c6537c0713}

\item 
\hypertarget{a01090_a78e8ff605e81ba3d3ae0076c2d382f30}{Scalar {\bfseries g}}\label{a01090_a78e8ff605e81ba3d3ae0076c2d382f30}

\item 
\hypertarget{a01090_aa389f7c38ef47b2b7c48bf4398575f1f}{Scalar {\bfseries h}}\label{a01090_aa389f7c38ef47b2b7c48bf4398575f1f}

\item 
\hypertarget{a01090_a6f8ae238e0b5079d37b9277c9aefe59d}{Scalar {\bfseries i}}\label{a01090_a6f8ae238e0b5079d37b9277c9aefe59d}

\item 
\hypertarget{a01090_a25cab2009769050bcb6c96965a2bf0fe}{Scalar {\bfseries j}}\label{a01090_a25cab2009769050bcb6c96965a2bf0fe}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class Scalar$>$class A\+C\+G\+::\+Geometry\+::\+Quadric\+T$<$ Scalar $>$}

/class \hyperlink{a01090}{Quadric\+T} Quadric\+T.\+hh $<$\hyperlink{a01518_source}{A\+C\+G/\+Geometry/\+Types/\+Quadric\+T.\+hh}$>$

Stores a quadric as a 4x4 symmetrix matrix. Used by the error quadric based mesh decimation algorithms. 

Definition at line 86 of file Quadric\+T.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Geometry/\+Types/Quadric\+T.\+hh\end{DoxyCompactItemize}
