QUAOAR STUDIO // Mobius API
31 #ifndef poly_Handles_HeaderFile
32 #define poly_Handles_HeaderFile
35 #include <mobius/poly.h>
37 #define Mobius_InvalidHandleIndex -1
170 #include <functional>
179 typedef std::size_t result_type;
195 typedef std::size_t result_type;
211 typedef std::size_t result_type;
227 typedef std::size_t result_type;
243 typedef std::size_t result_type;
Definition: poly_Handles.h:129
Defines an exception class C1 that inherits an exception class C2.
Definition: bspl_Decompose.h:41
Definition: poly_Handles.h:48
std::size_t operator()(const mobius::poly_EdgeHandle &h) const
Definition: poly_Handles.h:216
Definition: poly_Handles.h:155
poly_BaseHandle(const int _idx=Mobius_InvalidHandleIndex)
Definition: poly_Handles.h:55
bool operator<(const poly_BaseHandle &_rhs) const
Definition: poly_Handles.h:87
bool operator==(const poly_BaseHandle &_rhs) const
Definition: poly_Handles.h:71
Definition: poly_Handles.h:142
poly_VertexHandle(const int _idx=Mobius_InvalidHandleIndex)
Definition: poly_Handles.h:121
poly_TriangleHandle(const int _idx=Mobius_InvalidHandleIndex)
Definition: poly_Handles.h:147
std::size_t operator()(const mobius::poly_BaseHandle &h) const
Definition: poly_Handles.h:184
void increment(const int amount)
Definition: poly_Handles.h:99
bool IsValid() const
The handle is valid iff the index is not negative.
Definition: poly_Handles.h:63
bool operator!=(const poly_BaseHandle &_rhs) const
Definition: poly_Handles.h:79
int GetIdx() const
Definition: poly_Handles.h:60
int iIdx
0-based index of the handle.
Definition: poly_Handles.h:107
poly_EdgeHandle(const int _idx=Mobius_InvalidHandleIndex)
Definition: poly_Handles.h:134
std::size_t operator()(const mobius::poly_VertexHandle &h) const
Definition: poly_Handles.h:200
std::size_t operator()(const mobius::poly_QuadHandle &h) const
Definition: poly_Handles.h:248
void Invalidate()
Invalidates this handle.
Definition: poly_Handles.h:66
std::size_t operator()(const mobius::poly_TriangleHandle &h) const
Definition: poly_Handles.h:232
poly_QuadHandle(const int _idx=Mobius_InvalidHandleIndex)
Definition: poly_Handles.h:160
void decrement(const int amount)
Definition: poly_Handles.h:103
Definition: poly_Handles.h:116