$darkmode
Generic Component: Normal of the vertex More...
#include <component.h>
Public Types | |
typedef A | NormalType |
Public Member Functions | |
const NormalType & | N () const |
Return a const reference to the normal of the vertex. | |
NormalType & | N () |
Return a reference to the normal of the vertex. | |
const NormalType & | cN () const |
Return a const reference to the normal of the vertex. | |
template<class RightValueType > | |
void | ImportData (const RightValueType &rVert) |
Static Public Member Functions | |
static bool | HasNormal () |
static void | Name (std::vector< std::string > &name) |
Generic Component: Normal of the vertex
Templated on the Point3 class used to store the normal. In practice you use one of the two specialized class Normal3f and Normal3d.
You can access to the normal of a vertex by mean of the N(),cN() member functions.