127 spline.
copy( ctlpts );
139 spline.
kspecinit( sknotvector, tknotvector );
143 spline.
copy( ctlpts );
215 knotspec->preselect();
234 stride *= ((knotspec->bend-knotspec->bbegin)*knotspec->order + knotspec->postoffset);
235 knotspec->preoffset *= knotspec->prestride;
236 knotspec->prewidth *= knotspec->poststride;
237 knotspec->postwidth *= knotspec->poststride;
238 knotspec->postoffset *= knotspec->poststride;
239 knotspec->ncoords = (
int) ncoords;
269 quilt->eqspec = qspec +
dim;
271 qspec->
stride = knotspec->poststride;
272 qspec->
width = knotspec->bend - knotspec->bbegin;
273 qspec->
order = (
int) knotspec->order;
274 qspec->
offset = knotspec->postoffset;
276 qspec->
bdry[0] = (knotspec->kleft == knotspec->kfirst) ? 1 : 0;
277 qspec->
bdry[1] = (knotspec->kright == knotspec->klast) ? 1 : 0;
280 for(
Breakpt *bk = knotspec->bbegin; bk <= knotspec->bend; bk++ )
298 for( knotspec =
kspec; knotspec; knotspec=knotspec->
next )
301 for( knotspec =
kspec; knotspec; knotspec=knotspec->
next ) {
303 kspec2->kspectotrans = knotspec;
361 _glu_dprintf(
"show %g %g %g\n", outpt[0], outpt[1], outpt[2] );
381 int def = bpt->def - 1;
382 if( def <= 0 )
continue;
383 Knot kv = bpt->value;
386 for(
Knot *kl = kf + def; kl != kf; kl-- ) {
388 for( kt=kl, kh=mid; kt != kf; kh--, kt-- )
389 *(fptr++) = (kv - *kh) / (*kt - *kh);
413 pt_oo_sum( p1, p1, p2, *fptr, 1.0-*fptr );
418 for( --bpt; bpt >=
bbegin; bpt-- ) {
420 for(
int multi = bpt->
multi; multi > 0; multi-- ) {
431 pt_oo_sum( p1, p1, p2, *fptr, 1.0-*fptr );
521 nfactors += (ubpt->
def * (ubpt->
def - 1)) / 2;
527 nfactors += (ubpt->
def * (ubpt->
def - 1)) / 2;
626 topt[3] = (
REAL) frompt[3];
628 topt[2] = (
REAL) frompt[2];
630 topt[1] = (
REAL) frompt[1];
632 topt[0] = (
REAL) frompt[0];
636 *topt++ = (
REAL) *frompt++;
674 x[3] =
a *
y[3] +
b *
z[3];
676 x[2] =
a *
y[2] +
b *
z[2];
678 x[1] =
a *
y[1] +
b *
z[1];
680 x[0] =
a *
y[0] +
b *
z[0];
684 *
x++ =
a * *
y++ +
b * *
z++;
void toBezier(Knotvector &, INREAL *, long)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLuint GLenum GLenum transform
GLboolean GLboolean GLboolean b
GLuint GLdouble GLdouble GLint GLint order
GLboolean GLboolean GLboolean GLboolean a
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
int identical(Knot x, Knot y)
#define memcpy(s1, s2, n)
void copy(INREAL *, REAL *)
void pt_oo_copy(REAL *, REAL *)
void pt_oo_sum(REAL *, REAL *, REAL *, Knot, Knot)
void pt_io_copy(REAL *, INREAL *)
void kspecinit(Knotvector &)
void setupquilt(Quilt_ptr)