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 dot DELTA(u) + u1 );
where
DELTA(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 dot DELTA(u) + u1 is exactly u2.
In the two-dimensional case, glEvalPoint2, let
DELTA(u) = ( u2 - u1 ) / n
DELTA(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 dot DELTA(u) + u1, j dot DELTA(v) + v1 );
The only absolute numeric requirements are that if i=n, then the value computed from i dot DELTA(u) + u1 is exactly u2, and if j=m, then
the value computed from i dot DELTA(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, glEvalMesh, glMap1, glMap2, glMapGrid
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)
Hi,
So what I'm trying to do is
I have these variables and if they have a dot in them , I want everyting before and including the dot removed.
Any ideas ?
Something like this I would want :
$var = $var | sed 's/.*\.//'
but that does't work.
I want to save that removal $var... (2 Replies)
hey. i am a bit new to unix and i am trying to figure out how to list the names of the 'dot' files that are in my account.
what command does this?
thank you very much for your help. (4 Replies)
Hi
I've got a trivial question on using ed (yes, I know, other editors are better!)
How do I insert a line that is just a single dot? (That is, how do I insert a line that starts with a dot and then new line)
Thanks
Peter (4 Replies)
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)
I have a fixed length file (854 characters file).
Our project will start getting this file soon. On the first day this file will have 100000 records. From the next day the file will have all the records from previous day + some new records (there will be few additions + few changes in day1... (13 Replies)
Hi every one,
i have to dot pc files. One have main function but one dont have.I have to call dot pc file using system () cmd.File is being call have main function.Please let me know how i can call .pc file with two arguments from other dot pc file.I want some thing like
sprintf(buf,... (1 Reply)
Hi every one,
i have to dot pc files. One have main function but one dont have.I have to call dot pc file using system () cmd.File is being call have main function.Please let me know how i can call .pc file with two arguments from other dot pc file.I want some thing like sprintf(buf, "ss_xxx.pc... (4 Replies)
Hi
I have a "set" command which ends with a "." (dot), for example:
set `grep "\<${pnum}\>" /tstmp/data.txt |sed 's/#//'` .
Can somebody help me to understand the purpose of this "set" and "." combination?
The problem is that this command does not produce the same result when run on AIX... (2 Replies)
is this the correct way to check for "." and ".." ??? All the screen prints out when scanning a directory is
output:
dot
dot
dot
dot
dot
dot
while((direntp = readdir(dir_ptr)) != NULL)
{
if(strcmp(direntp->d_name,".") || strcmp(direntp->d_name,".."))
... (1 Reply)
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)
When using a browser and calling this url .. the data returns the proper range of information
ichart dot finance dot yahoo dot com/table.csv?s=YAHOO&a=3&b=14&c=2012&d=03&e=20&f=2012&g=d&ignore.csv
(geeze wont let me post url's sorry )
However in my script the formatting is messing up on... (4 Replies)
I came across the following behaviour in Solaris 10 (x86-64bit) and RHEL 5.6 (Tikanga)
-a option in ls command is supposed to list all files starting with a dot.
From the man page of ls
-a, --all
do not ignore entries starting with .
$ touch .mytestfile
$ vi .mytestfile
$... (2 Replies)
Hi, I have tab-deliminated data similar to the following:
dot is-big 2
dot is-round 3
dot is-gray 4
cat is-big 3
hot in-summer 5
I want to count the frequency of each individual "unique" value in the 1st column. Thus, the desired output would be as follows:
dot 3
cat 1
hot 1
is... (5 Replies)