added typedef of ScalarType

This commit is contained in:
ganovelli 2010-03-19 17:20:52 +00:00
parent 21dd8aa179
commit a2341076c1
1 changed files with 2 additions and 1 deletions

View File

@ -93,9 +93,10 @@ public:
template <class T> class PFVAdj: public T {
public:
PFVAdj(){_vpoly = NULL;}
typedef typename T::VertexType::CoordType::ScalarType ScalarType;
inline typename T::VertexType * & V( const int j ) { assert(j>=0 && j<this->VN()); return _vpoly[j]; }
inline typename T::VertexType * const & V( const int j ) const { assert(j>=0 && j<this->VN()); return _vpoly[j]; }
inline typename T::VertexType * cV( const int j ) const { assert(j>=0 && j<this->VN()); return _vpoly[j]; }
inline typename T::VertexType * cV( const int j ) const { assert(j>=0 && j<this->VN()); return _vpoly[j]; }
/** Return the pointer to the ((j+1)%3)-th vertex of the face.