Developer Documentation
OpenMesh::VectorDataT< Scalar, N > Class Template Reference

#include <libs_required/OpenMesh/src/OpenMesh/Core/Geometry/VectorT.hh>

Public Attributes

Scalar values_ [N]

Detailed Description

template<typename Scalar, int N>
class OpenMesh::VectorDataT< Scalar, N >

The N values of the template Scalar type are the only data members of the class VectorT<Scalar,N>. This guarantees 100% compatibility with arrays of type Scalar and size N, allowing us to define the cast operators to and from arrays and array pointers.

In addition, this class will be specialized for Vec4f to be 16 bit aligned, so that aligned SSE instructions can be used on these vectors.

Definition at line 102 of file VectorT.hh.

The documentation for this class was generated from the following file: