Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::Halfedge_index Class Reference

#include <src/libslic3r/SurfaceMesh.hpp>

Public Member Functions

 Halfedge_index ()
 
Face_index face () const
 
unsigned char side () const
 
bool is_invalid () const
 
bool operator!= (const Halfedge_index &rhs) const
 
bool operator== (const Halfedge_index &rhs) const
 

Private Member Functions

 Halfedge_index (int face_idx, unsigned char side_idx)
 

Private Attributes

Face_index m_face
 
unsigned char m_side
 

Friends

class SurfaceMesh
 

Detailed Description

Constructor & Destructor Documentation

◆ Halfedge_index() [1/2]

Slic3r::Halfedge_index::Halfedge_index ( )
inline
21: m_face(Face_index(-1)), m_side(0) {}
unsigned char m_side
Definition SurfaceMesh.hpp:32
Face_index m_face
Definition SurfaceMesh.hpp:31

◆ Halfedge_index() [2/2]

Slic3r::Halfedge_index::Halfedge_index ( int  face_idx,
unsigned char  side_idx 
)
inlineprivate
29: m_face(Face_index(face_idx)), m_side(side_idx) {}

Member Function Documentation

◆ face()

Face_index Slic3r::Halfedge_index::face ( ) const
inline
22{ return m_face; }

References m_face.

Referenced by Slic3r::Measure::MeasuringImpl::update_planes().

+ Here is the caller graph for this function:

◆ is_invalid()

bool Slic3r::Halfedge_index::is_invalid ( ) const
inline

◆ operator!=()

bool Slic3r::Halfedge_index::operator!= ( const Halfedge_index rhs) const
inline
25{ return ! ((*this) == rhs); }

◆ operator==()

bool Slic3r::Halfedge_index::operator== ( const Halfedge_index rhs) const
inline
26{ return m_face == rhs.m_face && m_side == rhs.m_side; }

References m_face, and m_side.

◆ side()

unsigned char Slic3r::Halfedge_index::side ( ) const
inline
23{ return m_side; }

References m_side.

Referenced by Slic3r::Measure::MeasuringImpl::update_planes().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ SurfaceMesh

friend class SurfaceMesh
friend

Member Data Documentation

◆ m_face

◆ m_side


The documentation for this class was generated from the following file: