\hypertarget{classCRL_1_1RoutingLayerGauge}{\section{C\-R\-L\-:\-:Routing\-Layer\-Gauge Class Reference}
\label{classCRL_1_1RoutingLayerGauge}\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
}


Gauge of a Layer for the detailed routing.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classCRL_1_1RoutingLayerGauge_a323c68a66f89908a1376d5464655efe3}{destroy} ()
\item 
const {\bf Layer} $\ast$ \hyperlink{classCRL_1_1RoutingLayerGauge_ade7d6ecbdd9119586f1ec1c7fd947e0d}{get\-Layer} () const 
\item 
const {\bf Layer} $\ast$ \hyperlink{classCRL_1_1RoutingLayerGauge_a7897537343c1221f169ce41f0ff27db3}{get\-Blockage\-Layer} () const 
\item 
unsigned int \hyperlink{classCRL_1_1RoutingLayerGauge_ac8a5185ee8e2340441a4ea9b8533eb82}{get\-Depth} () const 
\item 
\hyperlink{namespaceConstant_ac081a99f2b64361919ed5d9f37c0f9af}{Constant\-::\-Direction} \hyperlink{classCRL_1_1RoutingLayerGauge_a470d6816a1618d025554339dd9016806}{get\-Direction} () const 
\item 
\hyperlink{namespaceConstant_ab2e46a17cc373a268c5c24fa0e2067e5}{Constant\-::\-Layer\-Gauge\-Type} \hyperlink{classCRL_1_1RoutingLayerGauge_a8020ed897ea9b7dce1f98ab2b40b29bf}{get\-Type} () const 
\item 
double \hyperlink{classCRL_1_1RoutingLayerGauge_a0bd52d4144796842d7a54c99cd6f4d99}{get\-Density} () const 
\item 
{\bf Db\-U\-::\-Unit} \hyperlink{classCRL_1_1RoutingLayerGauge_a8198760dcc2592364b11ad8058e60263}{get\-Offset} () const 
\item 
{\bf Db\-U\-::\-Unit} \hyperlink{classCRL_1_1RoutingLayerGauge_a07142a98dec202b40de98b29d62cec8a}{get\-Pitch} () const 
\item 
{\bf Db\-U\-::\-Unit} \hyperlink{classCRL_1_1RoutingLayerGauge_a881c22dde5ec55d52009f73051aaaa2a}{get\-Half\-Pitch} () const 
\item 
{\bf Db\-U\-::\-Unit} \hyperlink{classCRL_1_1RoutingLayerGauge_af8d0766b3741ef041bb40805e9ade562}{get\-Wire\-Width} () const 
\item 
{\bf Db\-U\-::\-Unit} \hyperlink{classCRL_1_1RoutingLayerGauge_aca47ad42af7852a7a30d7b470b43f290}{get\-Half\-Wire\-Width} () const 
\item 
{\bf Db\-U\-::\-Unit} \hyperlink{classCRL_1_1RoutingLayerGauge_a5fbf1913fb9198f8a56c969c9fec983f}{get\-Via\-Width} () const 
\item 
{\bf Db\-U\-::\-Unit} \hyperlink{classCRL_1_1RoutingLayerGauge_a74ee6aee07965ed8ef80ccf12f6d4984}{get\-Half\-Via\-Width} () const 
\item 
void \hyperlink{classCRL_1_1RoutingLayerGauge_a2a2231bbb064fe316977291df7ef016c}{divide} ({\bf Db\-U\-::\-Unit} dividend, long \&quotient, long \&modulo) const 
\item 
unsigned int \hyperlink{classCRL_1_1RoutingLayerGauge_ab9a7e3219b19617f91cd89c6e7eeaee2}{get\-Track\-Number} ({\bf Db\-U\-::\-Unit} start, {\bf Db\-U\-::\-Unit} stop) const 
\item 
long \hyperlink{classCRL_1_1RoutingLayerGauge_a4e51ea096d791f11949d8c732d8372ae}{get\-Track\-Index} ({\bf Db\-U\-::\-Unit} start, {\bf Db\-U\-::\-Unit} stop, {\bf Db\-U\-::\-Unit} position, unsigned mode) const 
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classCRL_1_1RoutingLayerGauge}{Routing\-Layer\-Gauge} $\ast$ \hyperlink{classCRL_1_1RoutingLayerGauge_afe17db013bf6a933c2af4e847bfd7918}{create} (const {\bf Layer} $\ast$layer, \hyperlink{namespaceConstant_ac081a99f2b64361919ed5d9f37c0f9af}{Constant\-::\-Direction} direction, \hyperlink{namespaceConstant_ab2e46a17cc373a268c5c24fa0e2067e5}{Constant\-::\-Layer\-Gauge\-Type} type, unsigned int depth, double density, {\bf Db\-U\-::\-Unit} offset, {\bf Db\-U\-::\-Unit} pitch, {\bf Db\-U\-::\-Unit} wire\-Width, {\bf Db\-U\-::\-Unit} via\-Width, {\bf Db\-U\-::\-Unit} obs\-Dw)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Gauge of a Layer for the detailed routing. 

\subsection{Member Function Documentation}
\hypertarget{classCRL_1_1RoutingLayerGauge_afe17db013bf6a933c2af4e847bfd7918}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!create@{create}}
\index{create@{create}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{create}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Routing\-Layer\-Gauge} $\ast$ C\-R\-L\-::\-Routing\-Layer\-Gauge\-::create (
\begin{DoxyParamCaption}
\item[{const {\bf Layer} $\ast$}]{layer, }
\item[{{\bf Constant\-::\-Direction}}]{direction, }
\item[{{\bf Constant\-::\-Layer\-Gauge\-Type}}]{type, }
\item[{unsigned int}]{depth, }
\item[{double}]{density, }
\item[{{\bf Db\-U\-::\-Unit}}]{offset, }
\item[{{\bf Db\-U\-::\-Unit}}]{pitch, }
\item[{{\bf Db\-U\-::\-Unit}}]{wire\-Width, }
\item[{{\bf Db\-U\-::\-Unit}}]{via\-Width, }
\item[{{\bf Db\-U\-::\-Unit}}]{obs\-Dw}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classCRL_1_1RoutingLayerGauge_afe17db013bf6a933c2af4e847bfd7918}

\begin{DoxyParams}{Parameters}
{\em layer} & the layer of the gauge (has to be of metal type). \\
\hline
{\em direction} & the preferred routing direction. \\
\hline
{\em type} & is it a pin only layer. \\
\hline
{\em depth} & the depth (position) of the gauge. \\
\hline
{\em density} & the track density (0.\-0 $<$ d $<$ 1.\-0). \\
\hline
{\em offset} & position of the first track. \\
\hline
{\em pitch} & distance, center-\/to-\/center between tracks. \\
\hline
{\em wire\-Width} & width to use to draw routing wire. \\
\hline
{\em via\-Width} & side length to use for V\-I\-As. {\bfseries Returns\-:} The new layer gauge. \\
\hline
\end{DoxyParams}
\hypertarget{classCRL_1_1RoutingLayerGauge_a323c68a66f89908a1376d5464655efe3}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!destroy@{destroy}}
\index{destroy@{destroy}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{destroy}]{\setlength{\rightskip}{0pt plus 5cm}void C\-R\-L\-::\-Routing\-Layer\-Gauge\-::destroy (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classCRL_1_1RoutingLayerGauge_a323c68a66f89908a1376d5464655efe3}
{\bfseries Returns\-:} destroy the routing gauge. \hypertarget{classCRL_1_1RoutingLayerGauge_ade7d6ecbdd9119586f1ec1c7fd947e0d}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Layer@{get\-Layer}}
\index{get\-Layer@{get\-Layer}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Layer}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Layer} $\ast$ C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Layer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_ade7d6ecbdd9119586f1ec1c7fd947e0d}
{\bfseries Returns\-:} the routing layer. \hypertarget{classCRL_1_1RoutingLayerGauge_a7897537343c1221f169ce41f0ff27db3}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Blockage\-Layer@{get\-Blockage\-Layer}}
\index{get\-Blockage\-Layer@{get\-Blockage\-Layer}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Blockage\-Layer}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Layer} $\ast$ C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Blockage\-Layer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_a7897537343c1221f169ce41f0ff27db3}
{\bfseries Returns\-:} the associated blockage layer. \hypertarget{classCRL_1_1RoutingLayerGauge_ac8a5185ee8e2340441a4ea9b8533eb82}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Depth@{get\-Depth}}
\index{get\-Depth@{get\-Depth}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Depth}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Depth (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_ac8a5185ee8e2340441a4ea9b8533eb82}
{\bfseries Returns\-:} the depth (position) of the gauge inside the complete \hyperlink{classCRL_1_1RoutingGauge}{Routing\-Gauge}. \hypertarget{classCRL_1_1RoutingLayerGauge_a470d6816a1618d025554339dd9016806}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Direction@{get\-Direction}}
\index{get\-Direction@{get\-Direction}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Direction}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Direction (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_a470d6816a1618d025554339dd9016806}
{\bfseries Returns\-:} the preferred routing direction. 

Referenced by C\-R\-L\-::\-Routing\-Gauge\-::get\-Layer\-Direction().

\hypertarget{classCRL_1_1RoutingLayerGauge_a8020ed897ea9b7dce1f98ab2b40b29bf}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Type@{get\-Type}}
\index{get\-Type@{get\-Type}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Type}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_a8020ed897ea9b7dce1f98ab2b40b29bf}
{\bfseries Returns\-:} the gauge type. \hypertarget{classCRL_1_1RoutingLayerGauge_a0bd52d4144796842d7a54c99cd6f4d99}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Density@{get\-Density}}
\index{get\-Density@{get\-Density}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Density}]{\setlength{\rightskip}{0pt plus 5cm}double C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Density (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_a0bd52d4144796842d7a54c99cd6f4d99}
{\bfseries Returns\-:} the density of routing tracks (ratio). \hypertarget{classCRL_1_1RoutingLayerGauge_a8198760dcc2592364b11ad8058e60263}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Offset@{get\-Offset}}
\index{get\-Offset@{get\-Offset}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Offset}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Db\-U\-::\-Unit} C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Offset (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_a8198760dcc2592364b11ad8058e60263}
{\bfseries Returns\-:} the position of the first track. \hypertarget{classCRL_1_1RoutingLayerGauge_a07142a98dec202b40de98b29d62cec8a}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Pitch@{get\-Pitch}}
\index{get\-Pitch@{get\-Pitch}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Pitch}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Db\-U\-::\-Unit} C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Pitch (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_a07142a98dec202b40de98b29d62cec8a}
{\bfseries Returns\-:} the distance center-\/to-\/center between tracks. \hypertarget{classCRL_1_1RoutingLayerGauge_a881c22dde5ec55d52009f73051aaaa2a}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Half\-Pitch@{get\-Half\-Pitch}}
\index{get\-Half\-Pitch@{get\-Half\-Pitch}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Half\-Pitch}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Db\-U\-::\-Unit} C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Half\-Pitch (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_a881c22dde5ec55d52009f73051aaaa2a}
{\bfseries Returns\-:} the half distance center-\/to-\/center between tracks. \hypertarget{classCRL_1_1RoutingLayerGauge_af8d0766b3741ef041bb40805e9ade562}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Wire\-Width@{get\-Wire\-Width}}
\index{get\-Wire\-Width@{get\-Wire\-Width}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Wire\-Width}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Db\-U\-::\-Unit} C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Wire\-Width (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_af8d0766b3741ef041bb40805e9ade562}
{\bfseries Returns\-:} the width of the routing wires. \hypertarget{classCRL_1_1RoutingLayerGauge_aca47ad42af7852a7a30d7b470b43f290}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Half\-Wire\-Width@{get\-Half\-Wire\-Width}}
\index{get\-Half\-Wire\-Width@{get\-Half\-Wire\-Width}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Half\-Wire\-Width}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Db\-U\-::\-Unit} C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Half\-Wire\-Width (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_aca47ad42af7852a7a30d7b470b43f290}
{\bfseries Returns\-:} the half width of the routing wires. \hypertarget{classCRL_1_1RoutingLayerGauge_a5fbf1913fb9198f8a56c969c9fec983f}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Via\-Width@{get\-Via\-Width}}
\index{get\-Via\-Width@{get\-Via\-Width}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Via\-Width}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Db\-U\-::\-Unit} C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Via\-Width (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_a5fbf1913fb9198f8a56c969c9fec983f}
{\bfseries Returns\-:} the side of the routing V\-I\-As. \hypertarget{classCRL_1_1RoutingLayerGauge_a74ee6aee07965ed8ef80ccf12f6d4984}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Half\-Via\-Width@{get\-Half\-Via\-Width}}
\index{get\-Half\-Via\-Width@{get\-Half\-Via\-Width}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Half\-Via\-Width}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Db\-U\-::\-Unit} C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Half\-Via\-Width (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classCRL_1_1RoutingLayerGauge_a74ee6aee07965ed8ef80ccf12f6d4984}
{\bfseries Returns\-:} the half side of the routing V\-I\-As. \hypertarget{classCRL_1_1RoutingLayerGauge_a2a2231bbb064fe316977291df7ef016c}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!divide@{divide}}
\index{divide@{divide}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{divide}]{\setlength{\rightskip}{0pt plus 5cm}void C\-R\-L\-::\-Routing\-Layer\-Gauge\-::divide (
\begin{DoxyParamCaption}
\item[{{\bf Db\-U\-::\-Unit}}]{dividend, }
\item[{long \&}]{quotient, }
\item[{long \&}]{modulo}
\end{DoxyParamCaption}
) const}}\label{classCRL_1_1RoutingLayerGauge_a2a2231bbb064fe316977291df7ef016c}

\begin{DoxyParams}{Parameters}
{\em dividend} & the length into witch put tracks. \\
\hline
{\em quotient} & the number of tracks that fits the interval. \\
\hline
{\em modulo} & the remainder. \\
\hline
\end{DoxyParams}
\hypertarget{classCRL_1_1RoutingLayerGauge_ab9a7e3219b19617f91cd89c6e7eeaee2}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Track\-Number@{get\-Track\-Number}}
\index{get\-Track\-Number@{get\-Track\-Number}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Track\-Number}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Track\-Number (
\begin{DoxyParamCaption}
\item[{{\bf Db\-U\-::\-Unit}}]{start, }
\item[{{\bf Db\-U\-::\-Unit}}]{stop}
\end{DoxyParamCaption}
) const}}\label{classCRL_1_1RoutingLayerGauge_ab9a7e3219b19617f91cd89c6e7eeaee2}
{\bfseries Returns\-:} the number of tracks that can tool place in the interval {\ttfamily \mbox{[}start\-:stop\mbox{]}}. \hypertarget{classCRL_1_1RoutingLayerGauge_a4e51ea096d791f11949d8c732d8372ae}{\index{C\-R\-L\-::\-Routing\-Layer\-Gauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}!get\-Track\-Index@{get\-Track\-Index}}
\index{get\-Track\-Index@{get\-Track\-Index}!CRL::RoutingLayerGauge@{C\-R\-L\-::\-Routing\-Layer\-Gauge}}
\subsubsection[{get\-Track\-Index}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int C\-R\-L\-::\-Routing\-Layer\-Gauge\-::get\-Track\-Index (
\begin{DoxyParamCaption}
\item[{{\bf Db\-U\-::\-Unit}}]{start, }
\item[{{\bf Db\-U\-::\-Unit}}]{stop, }
\item[{{\bf Db\-U\-::\-Unit}}]{position, }
\item[{unsigned}]{mode}
\end{DoxyParamCaption}
) const}}\label{classCRL_1_1RoutingLayerGauge_a4e51ea096d791f11949d8c732d8372ae}
{\bfseries Returns\-:} the index of the track nearest position {\ttfamily position} in interval {\ttfamily \mbox{[}start\-:stop\mbox{]}}, according the rounding {\ttfamily mode}. 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Routing\-Layer\-Gauge.\-h\item 
Routing\-Layer\-Gauge.\-dox\end{DoxyCompactItemize}
