Measuring: First steps on extracting features

This commit is contained in:
Lukas Matena 2022-07-01 15:51:51 +02:00 committed by enricoturri1966
parent 7ae40e281b
commit 70ea995f4a
3 changed files with 183 additions and 42 deletions

View file

@ -17,6 +17,7 @@ class Halfedge_index {
public:
Halfedge_index() : m_face(Face_index(-1)), m_side(0) {}
Face_index face() const { return m_face; }
unsigned char side() const { return m_side; }
bool is_invalid() const { return int(m_face) < 0; }
bool operator!=(const Halfedge_index& rhs) const { return ! ((*this) == rhs); }
bool operator==(const Halfedge_index& rhs) const { return m_face == rhs.m_face && m_side == rhs.m_side; }