\hypertarget{classACG_1_1Geometry_1_1Plane}{}\section{A\+CG\+:\+:Geometry\+:\+:Plane Class Reference}
\label{classACG_1_1Geometry_1_1Plane}\index{A\+C\+G\+::\+Geometry\+::\+Plane@{A\+C\+G\+::\+Geometry\+::\+Plane}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1Geometry_1_1Plane_a297124f5251e959bc4853d130200afb2}\label{classACG_1_1Geometry_1_1Plane_a297124f5251e959bc4853d130200afb2}} 
{\bfseries Plane} (const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+p, const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+n, const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+x, const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+y)
\item 
void \hyperlink{classACG_1_1Geometry_1_1Plane_a730e03b2a19b5712cee53b2b22526c5f}{set\+Plane} (const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+position, const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+x\+Direction, const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&)
\begin{DoxyCompactList}\small\item\em Set plane. \end{DoxyCompactList}\item 
void \hyperlink{classACG_1_1Geometry_1_1Plane_a7df38e0a995440a4b1e4956225bd1216}{set\+Plane} (const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+position, const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+normal)
\begin{DoxyCompactList}\small\item\em Set plane with given normal and one point. \end{DoxyCompactList}\item 
void \hyperlink{classACG_1_1Geometry_1_1Plane_a92e7bd36ad288b85f5cb075158a65cfb}{set\+Size} (double \+\_\+x\+Direction, double \+\_\+y\+Direction)
\begin{DoxyCompactList}\small\item\em Set plane size. \end{DoxyCompactList}\item 
void \hyperlink{classACG_1_1Geometry_1_1Plane_a19e364d884374c9299cfbf421b166e11}{transform} (const \hyperlink{namespaceACG_a7f5dece6cb3955c9847f5455509f6147}{A\+C\+G\+::\+Matrix4x4d} \&\+\_\+mat)
\begin{DoxyCompactList}\small\item\em Transform the plane with given matrix. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1Geometry_1_1Plane_a0fbb5e07e92fc4129218c15eea5508f4}\label{classACG_1_1Geometry_1_1Plane_a0fbb5e07e92fc4129218c15eea5508f4}} 
\hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries position}
\item 
\mbox{\Hypertarget{classACG_1_1Geometry_1_1Plane_aaa089af28da5e80698b47a9e9c51b327}\label{classACG_1_1Geometry_1_1Plane_aaa089af28da5e80698b47a9e9c51b327}} 
\hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries normal}
\item 
\mbox{\Hypertarget{classACG_1_1Geometry_1_1Plane_a2bb8f051959cd09822a3f2973c017094}\label{classACG_1_1Geometry_1_1Plane_a2bb8f051959cd09822a3f2973c017094}} 
\hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries x\+Direction}
\item 
\mbox{\Hypertarget{classACG_1_1Geometry_1_1Plane_ac3d228b1fe54818d57fd904fc702cebe}\label{classACG_1_1Geometry_1_1Plane_ac3d228b1fe54818d57fd904fc702cebe}} 
\hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries y\+Direction}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 50 of file Plane\+Type.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classACG_1_1Geometry_1_1Plane_a730e03b2a19b5712cee53b2b22526c5f}\label{classACG_1_1Geometry_1_1Plane_a730e03b2a19b5712cee53b2b22526c5f}} 
\index{A\+C\+G\+::\+Geometry\+::\+Plane@{A\+C\+G\+::\+Geometry\+::\+Plane}!set\+Plane@{set\+Plane}}
\index{set\+Plane@{set\+Plane}!A\+C\+G\+::\+Geometry\+::\+Plane@{A\+C\+G\+::\+Geometry\+::\+Plane}}
\subsubsection{\texorpdfstring{set\+Plane()}{setPlane()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Geometry\+::\+Plane\+::set\+Plane (\begin{DoxyParamCaption}\item[{const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&}]{\+\_\+position,  }\item[{const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&}]{\+\_\+x\+Direction,  }\item[{const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&}]{\+\_\+y\+Direction }\end{DoxyParamCaption})}



Set plane. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+position} & One point on the plane. Will be used as corner point point for rendering in the \hyperlink{classPlaneNode}{Plane\+Node} \\
\hline
{\em \+\_\+x\+Direction} & Vector pointing in planes x direction \\
\hline
{\em \+\_\+y\+Direction} & Vector pointing in planes y direction \\
\hline
\end{DoxyParams}


Definition at line 48 of file Plane\+Type.\+cc.

\mbox{\Hypertarget{classACG_1_1Geometry_1_1Plane_a7df38e0a995440a4b1e4956225bd1216}\label{classACG_1_1Geometry_1_1Plane_a7df38e0a995440a4b1e4956225bd1216}} 
\index{A\+C\+G\+::\+Geometry\+::\+Plane@{A\+C\+G\+::\+Geometry\+::\+Plane}!set\+Plane@{set\+Plane}}
\index{set\+Plane@{set\+Plane}!A\+C\+G\+::\+Geometry\+::\+Plane@{A\+C\+G\+::\+Geometry\+::\+Plane}}
\subsubsection{\texorpdfstring{set\+Plane()}{setPlane()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Geometry\+::\+Plane\+::set\+Plane (\begin{DoxyParamCaption}\item[{const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&}]{\+\_\+position,  }\item[{const \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&}]{\+\_\+normal }\end{DoxyParamCaption})}



Set plane with given normal and one point. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+position} & One point on the plane. Will be used as corner point for rendering in the \hyperlink{classPlaneNode}{Plane\+Node} \\
\hline
{\em \+\_\+normal} & \hyperlink{classACG_1_1Geometry_1_1Plane}{Plane} normal \\
\hline
\end{DoxyParams}


Definition at line 58 of file Plane\+Type.\+cc.

\mbox{\Hypertarget{classACG_1_1Geometry_1_1Plane_a92e7bd36ad288b85f5cb075158a65cfb}\label{classACG_1_1Geometry_1_1Plane_a92e7bd36ad288b85f5cb075158a65cfb}} 
\index{A\+C\+G\+::\+Geometry\+::\+Plane@{A\+C\+G\+::\+Geometry\+::\+Plane}!set\+Size@{set\+Size}}
\index{set\+Size@{set\+Size}!A\+C\+G\+::\+Geometry\+::\+Plane@{A\+C\+G\+::\+Geometry\+::\+Plane}}
\subsubsection{\texorpdfstring{set\+Size()}{setSize()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Geometry\+::\+Plane\+::set\+Size (\begin{DoxyParamCaption}\item[{double}]{\+\_\+x\+Direction,  }\item[{double}]{\+\_\+y\+Direction }\end{DoxyParamCaption})}



Set plane size. 

Scales the plane such that the x and y direction vectors have the given lengths


\begin{DoxyParams}{Parameters}
{\em \+\_\+x\+Direction} & Size in x direction \\
\hline
{\em \+\_\+y\+Direction} & Size in y direction \\
\hline
\end{DoxyParams}


Definition at line 100 of file Plane\+Type.\+cc.

\mbox{\Hypertarget{classACG_1_1Geometry_1_1Plane_a19e364d884374c9299cfbf421b166e11}\label{classACG_1_1Geometry_1_1Plane_a19e364d884374c9299cfbf421b166e11}} 
\index{A\+C\+G\+::\+Geometry\+::\+Plane@{A\+C\+G\+::\+Geometry\+::\+Plane}!transform@{transform}}
\index{transform@{transform}!A\+C\+G\+::\+Geometry\+::\+Plane@{A\+C\+G\+::\+Geometry\+::\+Plane}}
\subsubsection{\texorpdfstring{transform()}{transform()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Geometry\+::\+Plane\+::transform (\begin{DoxyParamCaption}\item[{const \hyperlink{namespaceACG_a7f5dece6cb3955c9847f5455509f6147}{A\+C\+G\+::\+Matrix4x4d} \&}]{\+\_\+mat }\end{DoxyParamCaption})}



Transform the plane with given matrix. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+mat} & Transformation matrix. \\
\hline
\end{DoxyParams}


Definition at line 89 of file Plane\+Type.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Geometry/\+Types/Plane\+Type.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Geometry/\+Types/Plane\+Type.\+cc\end{DoxyCompactItemize}
