[MOAB-dev] Swapping edge
Iulian Grindeanu
iulian at mcs.anl.gov
Sun Jul 25 19:57:10 CDT 2010
Hello,
In my opinion, the simplest way is to set the connectivity again.
for example,
...
int nnodes;
const moab::EntityHandle * conn;
mbi->get_connectivity(edge, conn, nnodes);
moab::EntityHandle connNew[2] = {conn[1], conn[0]};
mbi->set_connectivity(edge, connNew, 2);
...
I don't know if there is a function that does this;
Have a good week!
Iulian
----- Original Message -----
From: "Roman Putanowicz" <putanowr at l5.pk.edu.pl>
To: moab-dev at mcs.anl.gov
Sent: Saturday, July 24, 2010 4:18:19 AM GMT -06:00 US/Canada Central
Subject: [MOAB-dev] Swapping edge
Dear All,
Is there in MOAB a ready function to swap an edeg common to two adjacent
triangles?
Regards
Roman
--
Roman Putanowicz, PhD < putanowr at l5.pk.edu.pl >
Institute for Computational Civil Engng (L-5)
Dept. of Civil Engng, Cracow Univ. of Technology
www.l5.pk.edu.pl, tel. +48 12 628 2569, fax 2034
More information about the moab-dev
mailing list