Main Page   Class Hierarchy   Compound List   File List   Compound Members  

PLib::SurfSample Class Template Reference

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

#include <nurbsSub.h>

List of all members.

Public Methods

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

Public Attributes

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

Static Public Attributes

epsilon


Detailed Description

template<class T>
class 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

Definition at line 54 of file nurbsSub.h.


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

Definition at line 1882 of file nurbsSub.cpp.

References normal, normLen, point, and v.


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 13:27:01 2003 for NURBS++ by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002