Better naming for the EdgePlane face component for fast closest query

This commit is contained in:
Paolo Cignoni 2012-10-04 16:15:24 +00:00
parent e64caaf16f
commit d97f08e23e
1 changed files with 0 additions and 15 deletions

View File

@ -74,21 +74,6 @@ private:
EdgePlaneType _ep; EdgePlaneType _ep;
}; };
template <class T> class EdgePlaneEmpty: public T {
public:
typedef EdgePlaneInfo<typename T::VertexType::CoordType> EdgePlaneType;
typename T::VertexType::CoordType &Edge(const int ) { assert(0); static typename T::VertexType::CoordType dum; return dum;}
typename T::VertexType::CoordType &cEdge(const int ) const { assert(0); static typename T::VertexType::CoordType dum; return dum;}
typename vcg::Plane3<typename T::VertexType::CoordType::ScalarType> &Plane() {assert(0); static typename vcg::Plane3<typename T::VertexType::CoordType::ScalarType> dum; return dum;}
typename vcg::Plane3<typename T::VertexType::CoordType::ScalarType> &cPlane() const {assert(0); static typename vcg::Plane3<typename T::VertexType::CoordType::ScalarType> dum; return dum;}
static bool HasEdgePlane() { return false; }
static void Name(std::vector<std::string> & name){name.push_back(std::string(""));T::Name(name);}
};
} // end namespace face } // end namespace face
}// end namespace vcg }// end namespace vcg
#endif #endif