\hypertarget{class_flow_geometry}{
\section{FlowGeometry Class Reference}
\label{class_flow_geometry}\index{FlowGeometry@{FlowGeometry}}
}
class for handling the geometry == rectangular grids organized in vertices and cells  


{\tt \#include $<$FlowGeometry.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{class_flow_geometry_d2f4eb53b8223b0fe0a4d47da11a9c1b}{
int \hyperlink{class_flow_geometry_d2f4eb53b8223b0fe0a4d47da11a9c1b}{getVtx} (int x, int y)}
\label{class_flow_geometry_d2f4eb53b8223b0fe0a4d47da11a9c1b}

\begin{CompactList}\small\item\em returns general vtxID for the vertex array indexes \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_5ef95ac973e6997b874833d9d1b5300f}{
int \hyperlink{class_flow_geometry_5ef95ac973e6997b874833d9d1b5300f}{getVtxX} (int vtxID)}
\label{class_flow_geometry_5ef95ac973e6997b874833d9d1b5300f}

\begin{CompactList}\small\item\em returns X index for the general vtxID \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_7e767630907e7683df77f9f01929f518}{
int \hyperlink{class_flow_geometry_7e767630907e7683df77f9f01929f518}{getVtxY} (int vtxID)}
\label{class_flow_geometry_7e767630907e7683df77f9f01929f518}

\begin{CompactList}\small\item\em returns Y index for the general vtxID \item\end{CompactList}\item 
int \hyperlink{class_flow_geometry_6dce83171e7e12be63c3d4078bb73b2d}{getXYvtx} (vec3 pos)
\begin{CompactList}\small\item\em returns X index of the last vertex lying left to the position x and the Y index of the last vertex lying under the position y \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_e1ccc6c68ca7355e29ef3b37e6d2f8a4}{
vec3 \hyperlink{class_flow_geometry_e1ccc6c68ca7355e29ef3b37e6d2f8a4}{getPos} (int vtxID)}
\label{class_flow_geometry_e1ccc6c68ca7355e29ef3b37e6d2f8a4}

\begin{CompactList}\small\item\em returns the position of the vertex \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_0e45a432e8ee06b9692c713f9ddc3c00}{
float \hyperlink{class_flow_geometry_0e45a432e8ee06b9692c713f9ddc3c00}{getPosX} (int vtxID)}
\label{class_flow_geometry_0e45a432e8ee06b9692c713f9ddc3c00}

\begin{CompactList}\small\item\em returns the x position of the vertex \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_7cd71b3bbc985440d7ec85331b8b832d}{
float \hyperlink{class_flow_geometry_7cd71b3bbc985440d7ec85331b8b832d}{getPosY} (int vtxID)}
\label{class_flow_geometry_7cd71b3bbc985440d7ec85331b8b832d}

\begin{CompactList}\small\item\em returns the y position of the vertex \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_1c1682ca74d9fb1668092c2c7993a33d}{
\hyperlink{class_flow_geometry_1c1682ca74d9fb1668092c2c7993a33d}{$\sim$FlowGeometry} ()}
\label{class_flow_geometry_1c1682ca74d9fb1668092c2c7993a33d}

\begin{CompactList}\small\item\em deletes the allocated geometry storage \item\end{CompactList}\item 
bool \hyperlink{class_flow_geometry_2b354e5103566f9e9df68f69bfb133fa}{getInterpolationAt} (vec3 pos, int $\ast$vtxID, float $\ast$coef)
\begin{CompactList}\small\item\em Returns true if inside. Stores the vertex indices and interpolation weights for the given position in the arrays. \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_504a74145da5818750708981b4138f64}{
bool \hyperlink{class_flow_geometry_504a74145da5818750708981b4138f64}{readFromFile} (char $\ast$header, FILE $\ast$fp, bool bigEndian)}
\label{class_flow_geometry_504a74145da5818750708981b4138f64}

\begin{CompactList}\small\item\em reads the geometry gris data from a file \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_17ac360807e16c37d5c6d1f87aedd1d6}{
int \hyperlink{class_flow_geometry_17ac360807e16c37d5c6d1f87aedd1d6}{getDimX} ()}
\label{class_flow_geometry_17ac360807e16c37d5c6d1f87aedd1d6}

\begin{CompactList}\small\item\em returns the number of vertices in X dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_aa3adc282a1f8f435320ca03252ba31f}{
int \hyperlink{class_flow_geometry_aa3adc282a1f8f435320ca03252ba31f}{getDimY} ()}
\label{class_flow_geometry_aa3adc282a1f8f435320ca03252ba31f}

\begin{CompactList}\small\item\em returns the number of vertices in Y dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_d138bd367a6ffe9fb2dca4ae5f4630f2}{
int \hyperlink{class_flow_geometry_d138bd367a6ffe9fb2dca4ae5f4630f2}{getDimZ} ()}
\label{class_flow_geometry_d138bd367a6ffe9fb2dca4ae5f4630f2}

\begin{CompactList}\small\item\em returns the number of vertices in Z dimension, is always 1 \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_d66d2da1eb9f43080439412b0ba9620d}{
int \hyperlink{class_flow_geometry_d66d2da1eb9f43080439412b0ba9620d}{getDimXY} ()}
\label{class_flow_geometry_d66d2da1eb9f43080439412b0ba9620d}

\begin{CompactList}\small\item\em returns the number of vertices in one FlowData-Layer (X and Y direction) \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_3fb9be624db7963cc5ae5bcc30f56246}{
float \hyperlink{class_flow_geometry_3fb9be624db7963cc5ae5bcc30f56246}{getMinX} ()}
\label{class_flow_geometry_3fb9be624db7963cc5ae5bcc30f56246}

\begin{CompactList}\small\item\em returns the minimum in the X dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_572b966bd491a641be5845c4126e3736}{
float \hyperlink{class_flow_geometry_572b966bd491a641be5845c4126e3736}{getMaxX} ()}
\label{class_flow_geometry_572b966bd491a641be5845c4126e3736}

\begin{CompactList}\small\item\em returns the maximum in the X dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_b03a25bd9502c643a851880c285c4a1d}{
float \hyperlink{class_flow_geometry_b03a25bd9502c643a851880c285c4a1d}{getMinY} ()}
\label{class_flow_geometry_b03a25bd9502c643a851880c285c4a1d}

\begin{CompactList}\small\item\em returns the minimum in the Y dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_aebbb4254918bdf5ec01e4bd5eb5739a}{
float \hyperlink{class_flow_geometry_aebbb4254918bdf5ec01e4bd5eb5739a}{getMaxY} ()}
\label{class_flow_geometry_aebbb4254918bdf5ec01e4bd5eb5739a}

\begin{CompactList}\small\item\em returns the maximum in the Y dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_d73104e15de6cf1c835d062bd831840c}{
int \hyperlink{class_flow_geometry_d73104e15de6cf1c835d062bd831840c}{getRightNeigh} (int vtxID)}
\label{class_flow_geometry_d73104e15de6cf1c835d062bd831840c}

\begin{CompactList}\small\item\em returns the vertex ID of the neighbour on its right \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_ca57835ceb5aea6d12ef5dd484e59a53}{
int \hyperlink{class_flow_geometry_ca57835ceb5aea6d12ef5dd484e59a53}{getTopNeigh} (int vtxID)}
\label{class_flow_geometry_ca57835ceb5aea6d12ef5dd484e59a53}

\begin{CompactList}\small\item\em returns the vertex ID of the neighbour on its top \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_f41b6122dfddc4e9149bdd30e5e0e729}{
int \hyperlink{class_flow_geometry_f41b6122dfddc4e9149bdd30e5e0e729}{getLeftNeigh} (int vtxID)}
\label{class_flow_geometry_f41b6122dfddc4e9149bdd30e5e0e729}

\begin{CompactList}\small\item\em returns the vertex ID of the neighbour on its left \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_827acbd2caee077f5ec16d75ccd5324d}{
int \hyperlink{class_flow_geometry_827acbd2caee077f5ec16d75ccd5324d}{getBottomNeigh} (int vtxID)}
\label{class_flow_geometry_827acbd2caee077f5ec16d75ccd5324d}

\begin{CompactList}\small\item\em returns the vertex ID of the neighbour on its bottom \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_43e033627995bc9dcc16bd5eb9fff6e3}{
vec3 \hyperlink{class_flow_geometry_43e033627995bc9dcc16bd5eb9fff6e3}{normalizeCoords} (vec3 pos)}
\label{class_flow_geometry_43e033627995bc9dcc16bd5eb9fff6e3}

\begin{CompactList}\small\item\em compression of coordinates in each dimension separately, returns values scaled to $<$0,1$>$ \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_05826a92ddfcef0d104cce39933b1f0c}{
vec3 \hyperlink{class_flow_geometry_05826a92ddfcef0d104cce39933b1f0c}{unNormalizeCoords} (vec3 pos)}
\label{class_flow_geometry_05826a92ddfcef0d104cce39933b1f0c}

\begin{CompactList}\small\item\em inverts the compression. From values of $<$0,1$>$ it restores the real geometrical coordinates \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_d2f4eb53b8223b0fe0a4d47da11a9c1b}{
int \hyperlink{class_flow_geometry_d2f4eb53b8223b0fe0a4d47da11a9c1b}{getVtx} (int x, int y)}
\label{class_flow_geometry_d2f4eb53b8223b0fe0a4d47da11a9c1b}

\begin{CompactList}\small\item\em returns general vtxID for the vertex array indexes \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_5ef95ac973e6997b874833d9d1b5300f}{
int \hyperlink{class_flow_geometry_5ef95ac973e6997b874833d9d1b5300f}{getVtxX} (int vtxID)}
\label{class_flow_geometry_5ef95ac973e6997b874833d9d1b5300f}

\begin{CompactList}\small\item\em returns X index for the general vtxID \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_7e767630907e7683df77f9f01929f518}{
int \hyperlink{class_flow_geometry_7e767630907e7683df77f9f01929f518}{getVtxY} (int vtxID)}
\label{class_flow_geometry_7e767630907e7683df77f9f01929f518}

\begin{CompactList}\small\item\em returns Y index for the general vtxID \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_6dce83171e7e12be63c3d4078bb73b2d}{
int \hyperlink{class_flow_geometry_6dce83171e7e12be63c3d4078bb73b2d}{getXYvtx} (vec3 pos)}
\label{class_flow_geometry_6dce83171e7e12be63c3d4078bb73b2d}

\begin{CompactList}\small\item\em returns X index of the last vertex lying left to the position x and the Y index of the last vertex lying under the position y \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_e1ccc6c68ca7355e29ef3b37e6d2f8a4}{
vec3 \hyperlink{class_flow_geometry_e1ccc6c68ca7355e29ef3b37e6d2f8a4}{getPos} (int vtxID)}
\label{class_flow_geometry_e1ccc6c68ca7355e29ef3b37e6d2f8a4}

\begin{CompactList}\small\item\em returns the position of the vertex \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_0e45a432e8ee06b9692c713f9ddc3c00}{
float \hyperlink{class_flow_geometry_0e45a432e8ee06b9692c713f9ddc3c00}{getPosX} (int vtxID)}
\label{class_flow_geometry_0e45a432e8ee06b9692c713f9ddc3c00}

\begin{CompactList}\small\item\em returns the x position of the vertex \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_7cd71b3bbc985440d7ec85331b8b832d}{
float \hyperlink{class_flow_geometry_7cd71b3bbc985440d7ec85331b8b832d}{getPosY} (int vtxID)}
\label{class_flow_geometry_7cd71b3bbc985440d7ec85331b8b832d}

\begin{CompactList}\small\item\em returns the y position of the vertex \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_1c1682ca74d9fb1668092c2c7993a33d}{
\hyperlink{class_flow_geometry_1c1682ca74d9fb1668092c2c7993a33d}{$\sim$FlowGeometry} ()}
\label{class_flow_geometry_1c1682ca74d9fb1668092c2c7993a33d}

\begin{CompactList}\small\item\em deletes the allocated geometry storage \item\end{CompactList}\item 
bool \hyperlink{class_flow_geometry_2b354e5103566f9e9df68f69bfb133fa}{getInterpolationAt} (vec3 pos, int $\ast$vtxID, float $\ast$coef)
\begin{CompactList}\small\item\em Returns true if inside. Stores the vertex indices and interpolation weights for the given position in the arrays. \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_504a74145da5818750708981b4138f64}{
bool \hyperlink{class_flow_geometry_504a74145da5818750708981b4138f64}{readFromFile} (char $\ast$header, FILE $\ast$fp, bool bigEndian)}
\label{class_flow_geometry_504a74145da5818750708981b4138f64}

\begin{CompactList}\small\item\em reads the geometry gris data from a file \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_17ac360807e16c37d5c6d1f87aedd1d6}{
int \hyperlink{class_flow_geometry_17ac360807e16c37d5c6d1f87aedd1d6}{getDimX} ()}
\label{class_flow_geometry_17ac360807e16c37d5c6d1f87aedd1d6}

\begin{CompactList}\small\item\em returns the number of vertices in X dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_aa3adc282a1f8f435320ca03252ba31f}{
int \hyperlink{class_flow_geometry_aa3adc282a1f8f435320ca03252ba31f}{getDimY} ()}
\label{class_flow_geometry_aa3adc282a1f8f435320ca03252ba31f}

\begin{CompactList}\small\item\em returns the number of vertices in Y dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_d138bd367a6ffe9fb2dca4ae5f4630f2}{
int \hyperlink{class_flow_geometry_d138bd367a6ffe9fb2dca4ae5f4630f2}{getDimZ} ()}
\label{class_flow_geometry_d138bd367a6ffe9fb2dca4ae5f4630f2}

\begin{CompactList}\small\item\em returns the number of vertices in Z dimension, is always 1 \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_d66d2da1eb9f43080439412b0ba9620d}{
int \hyperlink{class_flow_geometry_d66d2da1eb9f43080439412b0ba9620d}{getDimXY} ()}
\label{class_flow_geometry_d66d2da1eb9f43080439412b0ba9620d}

\begin{CompactList}\small\item\em returns the number of vertices in one FlowData-Layer (X and Y direction) \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_3fb9be624db7963cc5ae5bcc30f56246}{
float \hyperlink{class_flow_geometry_3fb9be624db7963cc5ae5bcc30f56246}{getMinX} ()}
\label{class_flow_geometry_3fb9be624db7963cc5ae5bcc30f56246}

\begin{CompactList}\small\item\em returns the minimum in the X dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_572b966bd491a641be5845c4126e3736}{
float \hyperlink{class_flow_geometry_572b966bd491a641be5845c4126e3736}{getMaxX} ()}
\label{class_flow_geometry_572b966bd491a641be5845c4126e3736}

\begin{CompactList}\small\item\em returns the maximum in the X dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_b03a25bd9502c643a851880c285c4a1d}{
float \hyperlink{class_flow_geometry_b03a25bd9502c643a851880c285c4a1d}{getMinY} ()}
\label{class_flow_geometry_b03a25bd9502c643a851880c285c4a1d}

\begin{CompactList}\small\item\em returns the minimum in the Y dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_aebbb4254918bdf5ec01e4bd5eb5739a}{
float \hyperlink{class_flow_geometry_aebbb4254918bdf5ec01e4bd5eb5739a}{getMaxY} ()}
\label{class_flow_geometry_aebbb4254918bdf5ec01e4bd5eb5739a}

\begin{CompactList}\small\item\em returns the maximum in the Y dimension \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_d73104e15de6cf1c835d062bd831840c}{
int \hyperlink{class_flow_geometry_d73104e15de6cf1c835d062bd831840c}{getRightNeigh} (int vtxID)}
\label{class_flow_geometry_d73104e15de6cf1c835d062bd831840c}

\begin{CompactList}\small\item\em returns the vertex ID of the neighbour on its right \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_ca57835ceb5aea6d12ef5dd484e59a53}{
int \hyperlink{class_flow_geometry_ca57835ceb5aea6d12ef5dd484e59a53}{getTopNeigh} (int vtxID)}
\label{class_flow_geometry_ca57835ceb5aea6d12ef5dd484e59a53}

\begin{CompactList}\small\item\em returns the vertex ID of the neighbour on its top \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_f41b6122dfddc4e9149bdd30e5e0e729}{
int \hyperlink{class_flow_geometry_f41b6122dfddc4e9149bdd30e5e0e729}{getLeftNeigh} (int vtxID)}
\label{class_flow_geometry_f41b6122dfddc4e9149bdd30e5e0e729}

\begin{CompactList}\small\item\em returns the vertex ID of the neighbour on its left \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_827acbd2caee077f5ec16d75ccd5324d}{
int \hyperlink{class_flow_geometry_827acbd2caee077f5ec16d75ccd5324d}{getBottomNeigh} (int vtxID)}
\label{class_flow_geometry_827acbd2caee077f5ec16d75ccd5324d}

\begin{CompactList}\small\item\em returns the vertex ID of the neighbour on its bottom \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_43e033627995bc9dcc16bd5eb9fff6e3}{
vec3 \hyperlink{class_flow_geometry_43e033627995bc9dcc16bd5eb9fff6e3}{normalizeCoords} (vec3 pos)}
\label{class_flow_geometry_43e033627995bc9dcc16bd5eb9fff6e3}

\begin{CompactList}\small\item\em compression of coordinates in each dimension separately, returns values scaled to $<$0,1$>$ \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_05826a92ddfcef0d104cce39933b1f0c}{
vec3 \hyperlink{class_flow_geometry_05826a92ddfcef0d104cce39933b1f0c}{unNormalizeCoords} (vec3 pos)}
\label{class_flow_geometry_05826a92ddfcef0d104cce39933b1f0c}

\begin{CompactList}\small\item\em inverts the compression. From values of $<$0,1$>$ it restores the real geometrical coordinates \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
\hypertarget{class_flow_geometry_8e3462dda03f1bbcde26456c021c9bc6}{
int \hyperlink{class_flow_geometry_8e3462dda03f1bbcde26456c021c9bc6}{dim} \mbox{[}3\mbox{]}}
\label{class_flow_geometry_8e3462dda03f1bbcde26456c021c9bc6}

\begin{CompactList}\small\item\em resolution of the data for the dimensions X, Y, Z \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_7bad980f33b2459919e9319d90f60d9e}{
vec3 \hyperlink{class_flow_geometry_7bad980f33b2459919e9319d90f60d9e}{boundaryMin}}
\label{class_flow_geometry_7bad980f33b2459919e9319d90f60d9e}

\begin{CompactList}\small\item\em minimum boundary values for the dataset geometry sotred as \{minX, minY) \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_af64068e69d98081fcb3bf21291ca482}{
vec3 \hyperlink{class_flow_geometry_af64068e69d98081fcb3bf21291ca482}{boundaryMax}}
\label{class_flow_geometry_af64068e69d98081fcb3bf21291ca482}

\begin{CompactList}\small\item\em maximum boundary values for the dataset geometry sotred as (maxX, maxY) \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_9ac32b70fc9b18ac930bfeb1eba8b9b4}{
vec3 \hyperlink{class_flow_geometry_9ac32b70fc9b18ac930bfeb1eba8b9b4}{boundarySize}}
\label{class_flow_geometry_9ac32b70fc9b18ac930bfeb1eba8b9b4}

\begin{CompactList}\small\item\em boundary sizes for the dataset geometry sotred as (maX - minX, maxY - minY) \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_752ae706be845728935495f332649c3b}{
vec3 $\ast$ \hyperlink{class_flow_geometry_752ae706be845728935495f332649c3b}{geometryData}}
\label{class_flow_geometry_752ae706be845728935495f332649c3b}

\begin{CompactList}\small\item\em Storage for the geometry. \item\end{CompactList}\item 
\hypertarget{class_flow_geometry_6385f30116efc0378e40414b954f48e8}{
bool \hyperlink{class_flow_geometry_6385f30116efc0378e40414b954f48e8}{isFlipped}}
\label{class_flow_geometry_6385f30116efc0378e40414b954f48e8}

\begin{CompactList}\small\item\em indicates whether the x and y axes have to be swaped \item\end{CompactList}\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
\hypertarget{class_flow_geometry_ca22a4401f04f4f0d69301bf6b13b663}{
class \hyperlink{class_flow_geometry_ca22a4401f04f4f0d69301bf6b13b663}{FlowData}}
\label{class_flow_geometry_ca22a4401f04f4f0d69301bf6b13b663}

\end{CompactItemize}


\subsection{Detailed Description}
class for handling the geometry == rectangular grids organized in vertices and cells 

\subsection{Member Function Documentation}
\hypertarget{class_flow_geometry_2b354e5103566f9e9df68f69bfb133fa}{
\index{FlowGeometry@{FlowGeometry}!getInterpolationAt@{getInterpolationAt}}
\index{getInterpolationAt@{getInterpolationAt}!FlowGeometry@{FlowGeometry}}
\subsubsection[{getInterpolationAt}]{\setlength{\rightskip}{0pt plus 5cm}bool FlowGeometry::getInterpolationAt (vec3 {\em pos}, \/  int $\ast$ {\em vtxID}, \/  float $\ast$ {\em coef})}}
\label{class_flow_geometry_2b354e5103566f9e9df68f69bfb133fa}


Returns true if inside. Stores the vertex indices and interpolation weights for the given position in the arrays. 

Stores the indexes and weights of vertices surrounding the given position. This information can be used later on for interpolation of channel values. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em pos}]geometrical position for the lookup \item[{\em vtxID}]list of surrounding vertices (given by vertex ID) \item[{\em coef}]list of surrounding vertex weights (sum == 1.0) \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if the given position is inside of the geometrical boundaries \end{Desc}
\hypertarget{class_flow_geometry_2b354e5103566f9e9df68f69bfb133fa}{
\index{FlowGeometry@{FlowGeometry}!getInterpolationAt@{getInterpolationAt}}
\index{getInterpolationAt@{getInterpolationAt}!FlowGeometry@{FlowGeometry}}
\subsubsection[{getInterpolationAt}]{\setlength{\rightskip}{0pt plus 5cm}bool FlowGeometry::getInterpolationAt (vec3 {\em pos}, \/  int $\ast$ {\em vtxID}, \/  float $\ast$ {\em coef})}}
\label{class_flow_geometry_2b354e5103566f9e9df68f69bfb133fa}


Returns true if inside. Stores the vertex indices and interpolation weights for the given position in the arrays. 

Stores the indexes and weights of vertices surrounding the given position. This information can be used later on for interpolation of channel values. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em pos}]geometrical position for the lookup \item[{\em vtxID}]list of surrounding vertices (given by vertex ID) \item[{\em coef}]list of surrounding vertex weights (sum == 1.0) \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if the given position is inside of the geometrical boundaries \end{Desc}
\hypertarget{class_flow_geometry_6dce83171e7e12be63c3d4078bb73b2d}{
\index{FlowGeometry@{FlowGeometry}!getXYvtx@{getXYvtx}}
\index{getXYvtx@{getXYvtx}!FlowGeometry@{FlowGeometry}}
\subsubsection[{getXYvtx}]{\setlength{\rightskip}{0pt plus 5cm}int FlowGeometry::getXYvtx (vec3 {\em pos})}}
\label{class_flow_geometry_6dce83171e7e12be63c3d4078bb73b2d}


returns X index of the last vertex lying left to the position x and the Y index of the last vertex lying under the position y 

Returns the ID of the next grid vertex to the left and above the given pos vector In case of an error (pos outisde boundaries) -1 is returned 

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/code/FlowGeometry.h\item 
F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/header/FlowGeometry.h\item 
F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/code/FlowGeometry.cpp\item 
F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/src/FlowGeometry.cpp\end{CompactItemize}
