Main Page | Class Hierarchy | Class List | File List | Class Members

PLib::SurfSample< T > Struct Template Reference

A class to represent a NURBS surface sample. More...

#include <nurbsSub.h>

List of all members.

Public Member Functions

SurfSample< T > & operator= (const SurfSample< T > &s)

Public Attributes

Point_nD< T, 3 > point
Point_nD< T, 3 > normal
normLen
u
v

Static Public Attributes

epsilon


Detailed Description

template<class T>
struct PLib::SurfSample< T >

A class to represent a NURBS surface sample.

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

Author:
Philippe Lavoie
Date:
20 January, 1999


Member Function Documentation

template<class T>
SurfSample< T > & PLib::SurfSample< T >::operator= const SurfSample< T > &  s  ) 
 

the copy operator

Parameters:
s the surface sample to copy
Author:
Philippe Lavoie
Date:
20 January 1999


Member Data Documentation

template<class T>
Point_nD<T,3> PLib::SurfSample< T >::normal
 

normal at that point

template<class T>
T PLib::SurfSample< T >::normLen
 

used for normalizing normals

template<class T>
Point_nD<T,3> PLib::SurfSample< T >::point
 

point on surface

template<class T>
T PLib::SurfSample< T >::v
 

parameters used for texture mapping


The documentation for this struct was generated from the following files:
Generated on Wed Dec 10 14:28:35 2003 for NURBS++ by doxygen 1.3.4