MCPcopy Create free account
hub / github.com/LiangliangNan/PolyFit / find_halfedge_between

Function find_halfedge_between

code/model/map_serializer_obj.cpp:199–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199static 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
211bool MapSerializer_eobj::do_read(std::istream& input, AbstractMapBuilder& out)

Callers 3

do_readMethod · 0.85
end_facetMethod · 0.85
new_halfedge_betweenMethod · 0.85

Calls 3

halfedgeMethod · 0.45
vertexMethod · 0.45
oppositeMethod · 0.45

Tested by

no test coverage detected