changed assignement operator
This commit is contained in:
parent
e5a126d378
commit
e6bc1b19d2
|
@ -133,7 +133,7 @@ public:
|
||||||
Pos(){SetNull();};
|
Pos(){SetNull();};
|
||||||
/// Constructor which associates the half-edge elementet with a face, its edge and its vertex
|
/// Constructor which associates the half-edge elementet with a face, its edge and its vertex
|
||||||
Pos(TetraType * const tp, char const fap,char const ep,
|
Pos(TetraType * const tp, char const fap,char const ep,
|
||||||
char const const vp){_t=tp;_f=fap;_e=ep;_v=vp;}
|
char const vp){_t=tp;_f=fap;_e=ep;_v=vp;}
|
||||||
|
|
||||||
~Pos(){};
|
~Pos(){};
|
||||||
|
|
||||||
|
@ -194,16 +194,7 @@ public:
|
||||||
inline bool operator != ( BasePosType const & p ) const {
|
inline bool operator != ( BasePosType const & p ) const {
|
||||||
return (!((*this)==p));
|
return (!((*this)==p));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Assignment operator
|
|
||||||
inline BasePosType & operator = ( const BasePosType & h ){
|
|
||||||
T()=h.T();
|
|
||||||
F()=h.F();
|
|
||||||
E()=h.E();
|
|
||||||
V()=h.V();
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Set to null the half-edge
|
/// Set to null the half-edge
|
||||||
void SetNull(){
|
void SetNull(){
|
||||||
T()=0;
|
T()=0;
|
||||||
|
|
Loading…
Reference in New Issue