Gl.EvalPoint2 (gb.opengl)
Static Sub EvalPoint2 ( I As Integer, J As Integer )
Generate and evaluate a single point in a mesh.
Parameters
- i
-
Specifies the integer value for grid domain variable
.
- j
-
Specifies the integer value for grid domain variable
(Gl.EvalPoint2 only).
Description
Gl.MapGrid and Gl.EvalMesh are used in tandem to efficiently
generate and evaluate a series of evenly spaced map domain values.
Gl.EvalPoint can be used to evaluate a single grid point in the same gridspace
that is traversed by Gl.EvalMesh.
Calling
Gl.EvalPoint1 is equivalent to calling
glEvalCoord1( );
where
and
,
,
and
are the arguments to the most recent Gl.MapGrid1 command.
The one absolute numeric requirement is that if
,
then the value computed from
is exactly
.
In the two-dimensional case,
Gl.EvalPoint2, let
where
,
,
,
,
,
and
are the arguments to the most recent Gl.MapGrid2 command.
Then the
Gl.EvalPoint2 command is equivalent to calling
glEvalCoord2( );
The only absolute numeric requirements are that if
,
then the value computed from
is exactly
,
and if
,
then the value computed from
is exactly
.
Associated Gets
Gl.Get with argument Gl.MAP1_GRID_DOMAIN
Gl.Get with argument Gl.MAP2_GRID_DOMAIN
Gl.Get with argument Gl.MAP1_GRID_SEGMENTS
Gl.Get with argument Gl.MAP2_GRID_SEGMENTS
See also
Gl.EvalCoord,
Gl.EvalMesh,
Gl.Map1,
Gl.Map2,
Gl.MapGrid
See original documentation on OpenGL website