MCPcopy Create free account
hub / github.com/cutdigital/mcut / source

Method source

source/hmesh.cpp:148–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148vertex_descriptor_t hmesh_t::source(const halfedge_descriptor_t& h) const
149{
150 MCUT_ASSERT((size_t)h < m_halfedges.size() /*h != null_halfedge()*/);
151 const halfedge_data_t& hd = m_halfedges[h];
152 MCUT_ASSERT((size_t)hd.o < m_halfedges.size() /*hd.o != null_halfedge()*/);
153 const halfedge_data_t& ohd = m_halfedges[hd.o]; // opposite
154 return ohd.t;
155}
156
157vertex_descriptor_t hmesh_t::target(const halfedge_descriptor_t& h) const
158{

Callers 5

dispatchFunction · 0.80
triangulate_faceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected