Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glevalpoint(3g) [mojave 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 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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Doing a sed on a variable help !

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)
Discussion started by: seaten
2 Replies

2. UNIX for Dummies Questions & Answers

command to list dot files

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)
Discussion started by: Jakeman1086
4 Replies

3. UNIX for Dummies Questions & Answers

Simple ed questions - insert line with dot

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)
Discussion started by: peterl
4 Replies

4. Shell Programming and Scripting

Nestling `

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)
Discussion started by: RichieFondel
3 Replies

5. Shell Programming and Scripting

K Shell evaluating value to a variable

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)
Discussion started by: vijaykrc
2 Replies

6. UNIX for Dummies Questions & Answers

variable name with dot(.)

Hi, Is it possible to declare variable with name having dot(.) in it ? something like gs.test='HELLO' Thanks in advance :) (1 Reply)
Discussion started by: gopalss
1 Replies

7. Shell Programming and Scripting

Creating DELTA file in UNIX

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)
Discussion started by: varunrbs
13 Replies

8. Shell Programming and Scripting

how to call dot c file using system command

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)
Discussion started by: goraya430
1 Replies

9. Programming

how to call dot c file using system command

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)
Discussion started by: goraya430
4 Replies

10. Shell Programming and Scripting

Set command ending with a "." (dot)

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)
Discussion started by: aoussenko
2 Replies

11. UNIX for Dummies Questions & Answers

checking for "." and ".."

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)
Discussion started by: l flipboi l
1 Replies

12. Shell Programming and Scripting

How to evaluate the value of a variable ?

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)
Discussion started by: 915086731
4 Replies

13. Shell Programming and Scripting

Formatting wget request within script

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)
Discussion started by: harte
4 Replies

14. UNIX for Dummies Questions & Answers

ls command with wild card can't return filenames starting with dot

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)
Discussion started by: kraljic
2 Replies

15. Shell Programming and Scripting

Count frequency of unique values in specific column

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)
Discussion started by: owwow14
5 Replies