OpenSceneGraph/doc/doc++/osg/clampArrayElementBetweenRange.html

24 lines
1.5 KiB
HTML
Raw Normal View History

2003-04-18 00:22:51 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>template<class A, class T>inline void osg::clampArrayElementBetweenRange</TITLE>
2004-08-06 14:53:36 +08:00
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
2003-04-18 00:22:51 +08:00
</HEAD>
<BODY BGCOLOR="#ffffff">
2004-08-06 14:53:36 +08:00
<H2>template&lt;class A, class <!1><A HREF="TexGen.html#DOC.2.237.11.2">T</A>&gt;inline void <A HREF="#DOC.DOCU">osg::clampArrayElementBetweenRange</A></H2><H2>(A&amp; value,<BR>&nbsp; unsigned int i,<BR>&nbsp; const <!1><A HREF="TexGen.html#DOC.2.237.11.2">T</A> minValue,<BR>&nbsp; const <!1><A HREF="TexGen.html#DOC.2.237.11.2">T</A> maxValue,<BR>&nbsp; const char* valueName)</H2><BLOCKQUOTE>if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.</BLOCKQUOTE>
2003-04-18 00:22:51 +08:00
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>if array element value[i] is between or equal to minValue and maxValue do nothing - legal value,
otherwise clamp value to specified to range and return warning
with valueName specifying which variable was clamped. Equivilant to
calling clampGEQUAL(value,minValue,valueName); clampLEQUAL(value,maxValue,valueName); </BLOCKQUOTE>
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
2004-08-06 14:53:36 +08:00
This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
2003-04-18 00:22:51 +08:00
</BODY>
</HTML>