Mon, 08/19/2024 - 10:40
Forums:
I have some code where I get hold of faces this way:
const IMeshData::IFaceHandle& aDFace = myModel->GetFace(theFaceIndex);
------------------------------
And some other code where I get hold of faces this way:
for (TopoDS_Iterator aExpSh01(myShell, Standard_False); aExpSh01.More(); aExpSh01.Next()) {
TopoDS_Shape myFace = aExpSh01.Value();
if (myFace.ShapeType() == TopAbs_FACE) {
}
---------------------------------
So the two face representation forms are (1) aDFace and (2) myFace
Question is: If I have a face represented by (1), how can I find its representation in (2) ?
KKL KKL