| 197 | } |
| 198 | |
| 199 | static Map::Halfedge* find_halfedge_between(Map::Vertex* v1, Map::Vertex* v2) { |
| 200 | Map::Halfedge* h = v2->halfedge() ; |
| 201 | do { |
| 202 | if(h->opposite()->vertex() == v1) { |
| 203 | return h ; |
| 204 | } |
| 205 | h = h->next_around_vertex() ; |
| 206 | } while(h != v2->halfedge()) ; |
| 207 | return nil ; |
| 208 | } |
| 209 | |
| 210 | |
| 211 | bool MapSerializer_eobj::do_read(std::istream& input, AbstractMapBuilder& out) |