add Handle typedef to PropHandleT that specifies the corresponding element handle type
This commit is contained in:
@@ -485,6 +485,7 @@ struct VPropHandleT : public BasePropHandleT<T>
|
|||||||
{
|
{
|
||||||
typedef T Value;
|
typedef T Value;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
typedef VertexHandle Handle;
|
||||||
|
|
||||||
explicit VPropHandleT(int _idx=-1) : BasePropHandleT<T>(_idx) {}
|
explicit VPropHandleT(int _idx=-1) : BasePropHandleT<T>(_idx) {}
|
||||||
explicit VPropHandleT(const BasePropHandleT<T>& _b) : BasePropHandleT<T>(_b) {}
|
explicit VPropHandleT(const BasePropHandleT<T>& _b) : BasePropHandleT<T>(_b) {}
|
||||||
@@ -499,6 +500,7 @@ struct HPropHandleT : public BasePropHandleT<T>
|
|||||||
{
|
{
|
||||||
typedef T Value;
|
typedef T Value;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
typedef HalfedgeHandle Handle;
|
||||||
|
|
||||||
explicit HPropHandleT(int _idx=-1) : BasePropHandleT<T>(_idx) {}
|
explicit HPropHandleT(int _idx=-1) : BasePropHandleT<T>(_idx) {}
|
||||||
explicit HPropHandleT(const BasePropHandleT<T>& _b) : BasePropHandleT<T>(_b) {}
|
explicit HPropHandleT(const BasePropHandleT<T>& _b) : BasePropHandleT<T>(_b) {}
|
||||||
@@ -513,6 +515,7 @@ struct EPropHandleT : public BasePropHandleT<T>
|
|||||||
{
|
{
|
||||||
typedef T Value;
|
typedef T Value;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
typedef EdgeHandle Handle;
|
||||||
|
|
||||||
explicit EPropHandleT(int _idx=-1) : BasePropHandleT<T>(_idx) {}
|
explicit EPropHandleT(int _idx=-1) : BasePropHandleT<T>(_idx) {}
|
||||||
explicit EPropHandleT(const BasePropHandleT<T>& _b) : BasePropHandleT<T>(_b) {}
|
explicit EPropHandleT(const BasePropHandleT<T>& _b) : BasePropHandleT<T>(_b) {}
|
||||||
@@ -527,6 +530,7 @@ struct FPropHandleT : public BasePropHandleT<T>
|
|||||||
{
|
{
|
||||||
typedef T Value;
|
typedef T Value;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
typedef FaceHandle Handle;
|
||||||
|
|
||||||
explicit FPropHandleT(int _idx=-1) : BasePropHandleT<T>(_idx) {}
|
explicit FPropHandleT(int _idx=-1) : BasePropHandleT<T>(_idx) {}
|
||||||
explicit FPropHandleT(const BasePropHandleT<T>& _b) : BasePropHandleT<T>(_b) {}
|
explicit FPropHandleT(const BasePropHandleT<T>& _b) : BasePropHandleT<T>(_b) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user