#include <nurbsSub.h>
Public Member Functions | |
SurfSample< T > & | operator= (const SurfSample< T > &s) |
Public Attributes | |
Point_nD< T, 3 > | point |
Point_nD< T, 3 > | normal |
T | normLen |
T | u |
T | v |
Static Public Attributes | |
static T | epsilon |
A sample point from a surface adds information that are usefull for output routines: the value, the normal, and the texture mapping parametric value.
This class is based on code from the article "Tessellation of NURB Surfaces" by John W. Peterson, jp@blowfish.taligent.com in "Graphics Gems IV", Academic Press, 1994
SurfSample< T > & PLib::SurfSample< T >::operator= | ( | const SurfSample< T > & | s | ) |
the copy operator
s | the surface sample to copy |
Point_nD<T,3> PLib::SurfSample< T >::point |
point on surface
Point_nD<T,3> PLib::SurfSample< T >::normal |
normal at that point
T PLib::SurfSample< T >::normLen |
used for normalizing normals
T PLib::SurfSample< T >::v |
parameters used for texture mapping