Deleted redundant EdgePlane attribute: it is already defined in component_rt
This commit is contained in:
parent
ac2edcede5
commit
d26833fac1
|
@ -24,6 +24,9 @@
|
|||
History
|
||||
|
||||
$Log: not supported by cvs2svn $
|
||||
Revision 1.6 2007/03/12 15:37:19 tarini
|
||||
Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD.
|
||||
|
||||
Revision 1.5 2007/01/18 01:29:48 cignoni
|
||||
commented UberP access method (syntax errors)
|
||||
|
||||
|
@ -186,37 +189,6 @@ public:
|
|||
|
||||
template <class T> class FFAdjOcc : public FFAdjOccBase<FFAdjTypeSup<typename T::FacePointer>,T>{};
|
||||
|
||||
/*----------------------------- EdgePlane -----------------------------------*/
|
||||
|
||||
// questo tipo serve per tenere tutte le informazioni sull'adiacenza dentro una
|
||||
// singola classe
|
||||
template <class ScalarType>
|
||||
struct EdgePlaneSup {
|
||||
vcg::Point3<ScalarType> edge[3];
|
||||
vcg::Plane3<ScalarType> plane[3];
|
||||
};
|
||||
|
||||
template <class A, class T> class EdgePlaneOcc: public T {
|
||||
public:
|
||||
|
||||
typedef A EdgePlaneType;
|
||||
|
||||
Point3<typename T::ScalarType> &Edge(const int j) {
|
||||
return (CAT< vector_occ<FaceType>,EdgePlaneSup<T::ScalarType> >::Instance()->Get((FaceType*)this)).edge[j];}
|
||||
|
||||
Point3<typename T::ScalarType> const Edge(const int j) const {
|
||||
return (CAT< vector_occ<FaceType>,EdgePlaneSup<T::ScalarType> >::Instance()->Get((FaceType*)this)).edge[j];}
|
||||
|
||||
vcg::Plane3<typename T::ScalarType> Plane(){
|
||||
return (CAT< vector_occ<FaceType>,EdgePlaneSup<T::ScalarType> >::Instance()->Get((FaceType*)this)).plane;}
|
||||
|
||||
static bool HasEdgePlane() { return true; }
|
||||
static bool HasEdgePlaneOcc() { return true; }
|
||||
|
||||
};
|
||||
|
||||
template <class T> class EdgePlane : public EdgePlaneOcc<EdgePlaneSup<typename T::ScalarType>,T>{};
|
||||
|
||||
template <class T> class VertexRefOcc: public T {
|
||||
public:
|
||||
// typedef typename T::VertexType VertexType;
|
||||
|
|
Loading…
Reference in New Issue