/dports/graphics/libGLU/glu-9.0.2/src/libnurbs/interface/ |
H A D | bezierEval.cc | 75 void bezierCurveEval(float u0, float u1, int order, float *ctlpoints, int stride, int dimension, fl… in bezierCurveEval() argument 78 float *ctlptr = ctlpoints; in bezierCurveEval() 103 float* ctlptr = ctlpoints; 125 void bezierCurveEvalDer(float u0, float u1, int order, float *ctlpoints, int stride, int dimension… in bezierCurveEvalDer() argument 129 float *ctlptr = ctlpoints; in bezierCurveEvalDer() 149 float *ctlptr = ctlpoints; in bezierCurveEvalDerGen() 183 …bezierCurveEvalDerGen(vder, v0, v1, vorder, ctlpoints+ustride*i, vstride, dimension, v, newPoints[… in bezierSurfEvalDerGen() 194 …bezierSurfEvalDerGen(0, 0, u0, u1, uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride,… in bezierSurfEval() 207 …bezierSurfEvalDerGen(1,0, u0, u1, uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride, … in bezierSurfEvalNormal() 208 …bezierSurfEvalDerGen(0,1, u0, u1, uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride, … in bezierSurfEvalNormal() [all …]
|
H A D | bezierPatch.cc | 63 ret->ctlpoints = (float*) malloc(sizeof(float) * dimension * uorder * vorder); in bezierPatchMake() 64 assert(ret->ctlpoints); in bezierPatchMake() 71 …ax, float vmax, int uorder, int vorder, int dimension, int ustride, int vstride, float* ctlpoints) in bezierPatchMake2() argument 82 ret->ctlpoints = (float*) malloc(sizeof(float) * dimension * uorder * vorder); in bezierPatchMake2() 83 assert(ret->ctlpoints); in bezierPatchMake2() 91 ret->ctlpoints[i * the_ustride + j*the_vstride+k] = ctlpoints[i*ustride+j*vstride+k]; in bezierPatchMake2() 103 free(b->ctlpoints); in bezierPatchDelete() 148 …umin, b->umax, b->uorder, b->vmin, b->vmax, b->vorder, b->dimension, b->ctlpoints, b->dimension * … in bezierPatchEval() 154 …umin, b->umax, b->uorder, b->vmin, b->vmax, b->vorder, b->dimension, b->ctlpoints, b->dimension * … in bezierPatchEval() 161 …umin, b->umax, b->uorder, b->vmin, b->vmax, b->vorder, b->dimension, b->ctlpoints, b->dimension * … in bezierPatchEvalNormal() [all …]
|
H A D | bezierEval.h | 36 void bezierCurveEval(float u0, float u1, int order, float *ctlpoints, int stride, int dimension, f… 37 void bezierCurveEvalDer(float u0, float u1, int order, float *ctlpoints, int stride, int dimension… 38 void bezierCurveEvalDerGen(int der, float u0, float u1, int order, float *ctlpoints, int stride, i… 41 …t u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, in… 43 …t u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, in… 45 …t u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, in…
|
H A D | bezierPatchMesh.cc | 128 ret->bpatch->ctlpoints[i * the_ustride + j*the_vstride+k] = ctlpoints[i*ustride+j*vstride+k]; in bezierPatchMeshMake() 187 …>bpatch = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 3, ustride, vstride, ctlpoints); in bezierPatchMeshPutPatch() 190 …>bpatch = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 4,ustride, vstride, ctlpoints ); in bezierPatchMeshPutPatch() 193 …_normal = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 3, ustride, vstride, ctlpoints); in bezierPatchMeshPutPatch() 196 …h_color = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 1, ustride, vstride, ctlpoints); in bezierPatchMeshPutPatch() 199 …h_color = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 4, ustride, vstride, ctlpoints); in bezierPatchMeshPutPatch() 202 …excoord = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 1, ustride, vstride, ctlpoints); in bezierPatchMeshPutPatch() 205 …excoord = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 2, ustride, vstride, ctlpoints); in bezierPatchMeshPutPatch() 208 …excoord = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 3, ustride, vstride, ctlpoints); in bezierPatchMeshPutPatch() 492 float *ctlpoints = bpm->bpatch->ctlpoints; in bezierPatchMeshEval() local [all …]
|
H A D | incurveeval.cc | 96 REAL *ctlpoints) in inMap1f() argument 119 REAL *data = temp_em->ctlpoints; in inMap1f() 129 data[x] = ctlpoints[x]; in inMap1f() 131 ctlpoints += ustride; in inMap1f() 152 data = em->ctlpoints+j; in inDoDomain1()
|
H A D | bezierPatch.h | 58 float* ctlpoints; member 73 …max, float vmax, int urder, int vorder, int dimension, int ustride, int vstride, float *ctlpoints);
|
H A D | bezierPatchMesh.h | 74 …de, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints, int size_UVarr… 79 … umax, int ustride, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints);
|
H A D | glcurveval.h | 62 REAL ctlpoints[IN_MAX_BEZIER_ORDER*IN_MAX_DIMENSION]; member 121 REAL *ctlpoints);
|
H A D | insurfeval.cc | 264 bpm->bpatch->ctlpoints); in inBPMEval() 1850 p->ctlpoints); in inBPMEvalEM() 1881 p->ctlpoints); in inBPMEvalEM() 1896 p->ctlpoints); in inBPMEvalEM() 1911 p->ctlpoints); in inBPMEvalEM() 1926 p->ctlpoints); in inBPMEvalEM()
|
/dports/graphics/py-PyOpenGL/PyOpenGL-3.1.5/tests/ |
H A D | test_evaluators.py | 40 ctlpoints = (GLfloat*(3*4*4))( -3., -3., -3., 64 4 * 3, 3, ctypes.byref( ctlpoints ), 73 ctlpoints = np.array( [[[-3., -3., -3.], 97 4 * 3, 3, ctlpoints , 104 ctlpoints = np.zeros( (4,4,3), 'f') 107 ctlpoints[u][v][0] = 2.0*(u - 1.5) 108 ctlpoints[u][v][1] = 2.0*(v - 1.5); 110 ctlpoints[u][v][2] = 3.0; 112 ctlpoints[u][v][2] = -3.0; 113 return ctlpoints
|
/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/redbook/ |
H A D | surface.c | 47 GLfloat ctlpoints[4][4][3]; variable 61 ctlpoints[u][v][0] = 2.0*((GLfloat)u - 1.5); in init_surface() 62 ctlpoints[u][v][1] = 2.0*((GLfloat)v - 1.5); in init_surface() 65 ctlpoints[u][v][2] = 7.0; in init_surface() 67 ctlpoints[u][v][2] = -3.0; in init_surface() 120 &ctlpoints[0][0][0], in display() 132 glVertex3f(ctlpoints[i][j][0], ctlpoints[i][j][1], ctlpoints[i][j][2]); in display()
|
H A D | surfpoints.c | 63 GLfloat ctlpoints[4][4][3]; variable 77 ctlpoints[u][v][0] = 2.0*((GLfloat)u - 1.5); in init_surface() 78 ctlpoints[u][v][1] = 2.0*((GLfloat)v - 1.5); in init_surface() 81 ctlpoints[u][v][2] = 3.0; in init_surface() 83 ctlpoints[u][v][2] = -3.0; in init_surface() 202 4 * 3, 3, &ctlpoints[0][0][0], in display() 213 glVertex3f(ctlpoints[i][j][0], in display() 214 ctlpoints[i][j][1], ctlpoints[i][j][2]); in display()
|
H A D | trim.c | 49 GLfloat ctlpoints[4][4][3]; variable 62 ctlpoints[u][v][0] = 2.0*((GLfloat)u - 1.5); in init_surface() 63 ctlpoints[u][v][1] = 2.0*((GLfloat)v - 1.5); in init_surface() 66 ctlpoints[u][v][2] = 3.0; in init_surface() 68 ctlpoints[u][v][2] = -3.0; in init_surface() 128 4 * 3, 3, &ctlpoints[0][0][0], in display()
|
H A D | nurbs.c | 63 GLfloat ctlpoints[S_NUMPOINTS][T_NUMPOINTS][4] = { variable 141 &ctlpoints[0][0][0], in display()
|
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/redbook/ |
H A D | surface.c | 47 GLfloat ctlpoints[4][4][3]; variable 61 ctlpoints[u][v][0] = 2.0*((GLfloat)u - 1.5); in init_surface() 62 ctlpoints[u][v][1] = 2.0*((GLfloat)v - 1.5); in init_surface() 65 ctlpoints[u][v][2] = 7.0; in init_surface() 67 ctlpoints[u][v][2] = -3.0; in init_surface() 120 &ctlpoints[0][0][0], in display() 132 glVertex3f(ctlpoints[i][j][0], ctlpoints[i][j][1], ctlpoints[i][j][2]); in display()
|
H A D | surfpoints.c | 63 GLfloat ctlpoints[4][4][3]; variable 77 ctlpoints[u][v][0] = 2.0*((GLfloat)u - 1.5); in init_surface() 78 ctlpoints[u][v][1] = 2.0*((GLfloat)v - 1.5); in init_surface() 81 ctlpoints[u][v][2] = 3.0; in init_surface() 83 ctlpoints[u][v][2] = -3.0; in init_surface() 202 4 * 3, 3, &ctlpoints[0][0][0], in display() 213 glVertex3f(ctlpoints[i][j][0], in display() 214 ctlpoints[i][j][1], ctlpoints[i][j][2]); in display()
|
H A D | trim.c | 49 GLfloat ctlpoints[4][4][3]; variable 62 ctlpoints[u][v][0] = 2.0*((GLfloat)u - 1.5); in init_surface() 63 ctlpoints[u][v][1] = 2.0*((GLfloat)v - 1.5); in init_surface() 66 ctlpoints[u][v][2] = 3.0; in init_surface() 68 ctlpoints[u][v][2] = -3.0; in init_surface() 128 4 * 3, 3, &ctlpoints[0][0][0], in display()
|
H A D | nurbs.c | 63 GLfloat ctlpoints[S_NUMPOINTS][T_NUMPOINTS][4] = { variable 141 &ctlpoints[0][0][0], in display()
|
/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/samples/ |
H A D | nurb.c | 57 Point ctlpoints[S_NUMPOINTS][T_NUMPOINTS] = { variable 290 4*T_NUMPOINTS, 4, &ctlpoints[0][0][0], S_ORDER, in Draw()
|
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/samples/ |
H A D | nurb.c | 57 Point ctlpoints[S_NUMPOINTS][T_NUMPOINTS] = { variable 290 4*T_NUMPOINTS, 4, &ctlpoints[0][0][0], S_ORDER, in Draw()
|
/dports/games/gnubg/gnubg-1.06.002/board3d/ |
H A D | drawboard3d.c | 3343 flag.ctlpoints[i][0][1] = 0; in SetupFlag() 3345 flag.ctlpoints[i][0][2] = 0; in SetupFlag() 3346 flag.ctlpoints[i][1][2] = 0; in SetupFlag() 3395 v[0] = (flag.ctlpoints[1][0][0] + flag.ctlpoints[2][0][0]) / 2.0f; in renderFlag() 3396 v[1] = (flag.ctlpoints[1][0][0] + flag.ctlpoints[1][1][0]) / 2.0f; in renderFlag() 3397 v[2] = (flag.ctlpoints[1][0][2] + flag.ctlpoints[2][0][2]) / 2.0f; in renderFlag() 3403 atanf(-(flag.ctlpoints[2][0][2] - flag.ctlpoints[1][0][2]) / in renderFlag() 3404 (flag.ctlpoints[2][0][0] - flag.ctlpoints[1][0][0])); in renderFlag() 3607 … float h = (flag.ctlpoints[s][1][1] - flag.ctlpoints[s][0][1]) * .92f - (FLAG_HEIGHT * .05f); in updateFlagOccPos() 3609 float w = flag.ctlpoints[s + 1][0][0] - flag.ctlpoints[s][0][0]; in updateFlagOccPos() [all …]
|
H A D | inc3d.h | 194 float ctlpoints[S_NUMPOINTS][T_NUMPOINTS][3]; member
|
/dports/lang/python27/Python-2.7.18/Doc/library/ |
H A D | gl.rst | 99 .. function:: nurbscurve(knots, ctlpoints, order, type) 101 Defines a nurbs curve. The length of ctlpoints is ``len(knots) - order``.
|
/dports/lang/python-legacy/Python-2.7.18/Doc/library/ |
H A D | gl.rst | 99 .. function:: nurbscurve(knots, ctlpoints, order, type) 101 Defines a nurbs curve. The length of ctlpoints is ``len(knots) - order``.
|
/dports/lang/python-legacy/Python-2.7.18/Modules/ |
H A D | cstubs | 334 /* nurbscurve(knots, ctlpoints, order, type). 335 The length of ctlpoints is len(knots)-order. */
|