ReactOS  0.4.15-dev-1377-ga59cecd
knotvector.h File Reference
#include "types.h"
Include dependency graph for knotvector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Knotvector
 

Macros

#define TOLERANCE   1.0e-5
 

Functions

int identical (Knot x, Knot y)
 

Macro Definition Documentation

◆ TOLERANCE

#define TOLERANCE   1.0e-5

Definition at line 55 of file knotvector.h.

Function Documentation

◆ identical()

int identical ( Knot  x,
Knot  y 
)
inline

Definition at line 58 of file knotvector.h.

59 {
60  return ((x-y) < TOLERANCE) ? 1 : 0;
61 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define TOLERANCE
Definition: knotvector.h:55
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

Referenced by Knotspec::breakpoints(), Knotspec::preselect(), and Knotvector::validate().