GLEVALPOINT(3G)

πŸ“¦ version 1.1, in centos-stream 9, fedora 43, fedora 44

πŸ’– GLEVALPOINT(3G) β€” glEvalPoint1, glEvalPoint2 πŸ’–

okay bestie, welcome to the 3G manual page for glEvalPoint1 and glEvalPoint2 ✨ these two are literally the "just gimme ONE point" girlies of the mesh world. let's get into it 🫢


✨ 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 πŸ¦‹

so here's the vibe: glMapGrid and glEvalMesh are used in tandem to efficiently generate and evaluate a series of evenly spaced map domain values. and glEvalPoint can be used to evaluate a single grid point in the same gridspace that is traversed by glEvalMesh πŸ‘‘ (yes, the same gridspace, no cap).

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. and the one absolute numeric requirement β€” like, the ONE thing you cannot fumble β€” is that if i=n, then the value computed from iβ‹…Ξ”u+u1 is exactly u2. exactly. not "close enough", not "bestie it's basically the same". EXACTLY. πŸ’…

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. ✨ two requirements, both absolute, both exact. the math does not do vibes-based rounding, she does precision. 🧚


⭐ 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)


and that's the whole page, bestie!! πŸ₯³ this one's from the GLEVALPOINT(3G) manual page, and the footer just says GLEVALPOINT(3G) again with no extra version or date info to spill β€” so consider this your cute lil sign-off: go forth and evaluate exactly one point at a time, no more no less πŸ’œπŸŒΈπŸ“

πŸ“¦ where this page comes from