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,6 +93,7 @@ public:
template <class T> class PFVAdj: public T { template <class T> class PFVAdj: public T {
public: public:
PFVAdj(){_vpoly = NULL;} 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 * & 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 * 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]; }