inline bool copy_edge(Bedge* a, CVertMapper& vmap) { // copy edge attributes, e.g. from skel to skin Bedge* b = vmap.a_to_b(a); if (!(a && b)) return false; if (a->is_weak()) b->set_bit(Bedge::WEAK_BIT); // more? return true; }
bool Skin::copy_edge(Bedge* a) const { // copy edge attributes, e.g. from skel to skin Bedge* b = _mapper.a_to_b(a); if (!(a && b)) return false; if (a->is_weak()) b->set_bit(Bedge::WEAK_BIT); // more? return true; }