DetachTTTopology

This commit is contained in:
ganovelli 2005-06-28 12:00:13 +00:00
parent fe7fe4380d
commit 21929c1bf4
1 changed files with 10 additions and 0 deletions

View File

@ -404,6 +404,16 @@ static void _AttachTTTopology(TetraType *t0,int i0,TetraType *t1,int i1)
assert( (((t1->TTp(i1))->TTp(t1->TTi(i1)))==t1));
}
///Detach Tetrahedron-Tetrahedron Topology
static void DetachTTTopology(TetraType *t)
{
assert(!t->IsD());
int i;
for(i=0; i < 4; ++i)
t->TTp(i)->TTp(t->TTi(i)) = t->TTp(i);
}
///Test the Tetrahedron-Tetrahedron Topology (by Face)
static void TestTTTopology(VertexContainer &vert,TetraContainer &tetra)
{