int MaterialF0D::operator()(Interface0DIterator& iter) { FEdge *fe1, *fe2; getFEdges(iter, fe1, fe2); if (fe1 == NULL) return -1; if (fe1->isSmooth()) result = ((FEdgeSmooth *)fe1)->frs_material(); else result = ((FEdgeSharp *)fe1)->bFrsMaterial(); #if 0 const SShape *sshape = getShapeF0D(iter); return sshape->material(); #endif return 0; }
ViewShape* GetShapeF0D::operator()(Interface0DIterator& iter) { return getShapeF0D(iter); }
Id ShapeIdF0D::operator()(Interface0DIterator& iter) { ViewShape * vshape = getShapeF0D(iter); return vshape->getId(); }
int GetShapeF0D::operator()(Interface0DIterator& iter) { result = getShapeF0D(iter); return 0; }