Removed unused local type Edge. Now it use the standard simplex edge.
This commit is contained in:
parent
9a78285793
commit
c12401a795
|
@ -23,6 +23,9 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
History
|
History
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.14 2004/12/10 01:04:42 cignoni
|
||||||
|
better comments
|
||||||
|
|
||||||
Revision 1.13 2004/11/23 10:34:45 cignoni
|
Revision 1.13 2004/11/23 10:34:45 cignoni
|
||||||
passed parameters by reference in many funcs and gcc cleaning
|
passed parameters by reference in many funcs and gcc cleaning
|
||||||
|
|
||||||
|
@ -89,27 +92,6 @@ class EdgeCollapse
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
struct Edge{
|
|
||||||
VertexType* v0,v1;
|
|
||||||
Edge( const VertexType*& a,const VertexType*& b){
|
|
||||||
assert(a!=b);
|
|
||||||
if(a<b)
|
|
||||||
{v0=a;v1=b;}
|
|
||||||
else
|
|
||||||
{v1=a;v0=b;}
|
|
||||||
}
|
|
||||||
|
|
||||||
const bool operator <(const Edge & e) const {
|
|
||||||
return (v0==e.v0)?(v1<e.v1):(v0<e.v0);
|
|
||||||
}
|
|
||||||
|
|
||||||
const bool operator ==(const Edge & e) const {
|
|
||||||
return (v0==e.v0)&&(v1==e.v1);
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
static VFIVec & AV0(){static VFIVec av0; return av0;}
|
static VFIVec & AV0(){static VFIVec av0; return av0;}
|
||||||
static VFIVec & AV1(){static VFIVec av1; return av1;}
|
static VFIVec & AV1(){static VFIVec av1; return av1;}
|
||||||
static VFIVec & AV01(){static VFIVec av01; return av01;}
|
static VFIVec & AV01(){static VFIVec av01; return av01;}
|
||||||
|
|
Loading…
Reference in New Issue