#include <knotvector.h>
Definition at line 41 of file knotvector.h.
◆ Knotvector()
Knotvector::Knotvector |
( |
void |
| ) |
|
Definition at line 62 of file knotvector.cc.
63{
68}
GLuint GLdouble GLdouble GLint GLint order
◆ ~Knotvector()
Knotvector::~Knotvector |
( |
void |
| ) |
|
◆ init()
Definition at line 50 of file knotvector.cc.
51{
57
58 for(
int i = 0;
i != _knotcount;
i++ )
60}
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
Referenced by NurbsTessellator::nurbscurve(), and NurbsTessellator::nurbssurface().
◆ show()
◆ validate()
Definition at line 75 of file knotvector.cc.
76{
77
78
80
81 if( order < 1 || order >
MAXORDER ) {
82
83 return( 1 );
84 }
85
87
88 return( 2 );
89 }
90
92
93 return( 3 );
94 }
95
96 for(
long i = 0;
i < kindex;
i++)
98
99 return( 4 );
100 }
101
102
103
104
105
106
107
108
109
110
111 long multi = 1;
112 for( ; kindex >= 1; kindex-- ) {
114 multi++;
115 continue;
116 }
117 if ( multi >
order ) {
118
119 return( 5 );
120 }
121 multi = 1;
122 }
123
124 if ( multi >
order ) {
125
126 return( 5 );
127 }
128
129 return 0;
130}
int identical(Knot x, Knot y)
Referenced by NurbsTessellator::do_check_knots().
◆ knotcount
long Knotvector::knotcount |
◆ knotlist
Knot* Knotvector::knotlist |
◆ order
◆ stride
The documentation for this struct was generated from the following files: