| 146 | } |
| 147 | |
| 148 | vertex_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 | |
| 157 | vertex_descriptor_t hmesh_t::target(const halfedge_descriptor_t& h) const |
| 158 | { |
no outgoing calls
no test coverage detected