GLEVALPOINT(3G)GLEVALPOINT(3G)NAME
glEvalPoint1, glEvalPoint2 - generate and evaluate a single point in a mesh
C SPECIFICATION
void glEvalPoint1( GLint i )
void glEvalPoint2( GLint i,
GLint j )
PARAMETERS
i Specifies the integer value for grid domain variable i.
j Specifies the integer value for grid domain variable j (glEvalPoint2 only).
DESCRIPTION
glMapGrid and glEvalMesh are used in tandem to efficiently generate and evaluate a series of evenly spaced map domain values. glEvalPoint
can be used to evaluate a single grid point in the same gridspace that is traversed by glEvalMesh. Calling glEvalPoint1 is equivalent to
calling
glEvalCoord1( i./u+u1 );
where
/u=(u2-u1)/n
and n, u1, and u2 are the arguments to the most recent glMapGrid1 command. The one absolute numeric requirement is that if i=n, then the
value computed from i./u+u1 is exactly u2.
In the two-dimensional case, glEvalPoint2, let
/u=(u2-u1)/n
/v=(v2-v1)/m,
where n, u1, u2, m, v1, and v2 are the arguments to the most recent glMapGrid2 command. Then the glEvalPoint2 command is equivalent to
calling
glEvalCoord2( i./u+u1, j./v+v1 );
The only absolute numeric requirements are that if i=n, then the value computed from i./u+u1 is exactly u2, and if j=m, then the value
computed from i./v+v1 is exactly v2.
ASSOCIATED GETS
glGet with argument GL_MAP1_GRID_DOMAIN
glGet with argument GL_MAP2_GRID_DOMAIN
glGet with argument GL_MAP1_GRID_SEGMENTS
glGet with argument GL_MAP2_GRID_SEGMENTS
SEE ALSO glEvalCoord(3G), glEvalMesh(3G), glMap1(3G), glMap2(3G), glMapGrid(3G)GLEVALPOINT(3G)
Check Out this Related Man Page
GLEVALPOINT(3G)GLEVALPOINT(3G)NAME
glEvalPoint1, glEvalPoint2 - generate and evaluate a single point in a mesh
C SPECIFICATION
void glEvalPoint1( GLint i )
void glEvalPoint2( GLint i,
GLint j )
PARAMETERS
i Specifies the integer value for grid domain variable i.
j Specifies the integer value for grid domain variable j (glEvalPoint2 only).
DESCRIPTION
glMapGrid and glEvalMesh are used in tandem to efficiently generate and evaluate a series of evenly spaced map domain values. glEvalPoint
can be used to evaluate a single grid point in the same gridspace that is traversed by glEvalMesh. Calling glEvalPoint1 is equivalent to
calling
glEvalCoord1( i./u+u1 );
where
/u=(u2-u1)/n
and n, u1, and u2 are the arguments to the most recent glMapGrid1 command. The one absolute numeric requirement is that if i=n, then the
value computed from i./u+u1 is exactly u2.
In the two-dimensional case, glEvalPoint2, let
/u=(u2-u1)/n
/v=(v2-v1)/m,
where n, u1, u2, m, v1, and v2 are the arguments to the most recent glMapGrid2 command. Then the glEvalPoint2 command is equivalent to
calling
glEvalCoord2( i./u+u1, j./v+v1 );
The only absolute numeric requirements are that if i=n, then the value computed from i./u+u1 is exactly u2, and if j=m, then the value
computed from i./v+v1 is exactly v2.
ASSOCIATED GETS
glGet with argument GL_MAP1_GRID_DOMAIN
glGet with argument GL_MAP2_GRID_DOMAIN
glGet with argument GL_MAP1_GRID_SEGMENTS
glGet with argument GL_MAP2_GRID_SEGMENTS
SEE ALSO glEvalCoord(3G), glEvalMesh(3G), glMap1(3G), glMap2(3G), glMapGrid(3G)GLEVALPOINT(3G)
Anybody have any ideas?
I'm trying to do the following
The problem I'm having is nestling the ` ` to evaluate something. How can you use an evaluate within an evaluate?
echo "../mhisto `f=xa.txt;s=` some commands in here ` ` " (3 Replies)
Hi,
I have the following requirement.
V="First"
R="V"
echo $$R
The output should be First. How do i achieve this.
how do we evaluate the $R and evaluate it to $V as $R contains V
and $V is First.
Thanks
Vijay (2 Replies)
How to evaluate the value of a variable ?
For example:
a=var
$a=value !!!error happens!!!
I want to evaluate var=value, how to realize it?
Thanks!
---------- Post updated at 03:37 AM ---------- Previous update was at 02:22 AM ----------
I am using linux bash.
a=var
$a=value... (4 Replies)
Hi,
I am trying to do evaluate one numerical string after substitution.
++++++++++++++++==
What I have = "7.04+2.3Xlog(0.72e-6X1.0e6)X1.9596"
What I need = evaluate 7.04+2.3*log(0.72e-6*1.0e6)*1.9596 = 5.55941
what I am doing;
echo "7.04+2.3Xlog(0.72e-6X1.0e6)X1.9596" | awk... (2 Replies)