Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

float LabeledGraph::cap ( float  v,
float  min,
float  max 
) [inline, private]

Definition at line 124 of file LabeledGraph.h.

Referenced by doForceDirectedLayout().

00124                                              {
00125         if(v < min) return min;
00126         if(v > max) return max;
00127         return v;
00128     }


Generated on Thu Jan 13 09:13:07 2011 for ImpalaSrc by  doxygen 1.5.1