- removed virtual to ComputerPriority Function

- getPos and GetMark become const
This commit is contained in:
Nico Pietroni 2010-10-15 15:20:37 +00:00
parent 7332494ee2
commit f1a446558f
1 changed files with 4 additions and 4 deletions

View File

@ -113,7 +113,7 @@ public:
{
_pos = pos;
_localMark = mark;
_priority = ComputePriority();
_priority = this->ComputePriority();
}
@ -144,12 +144,12 @@ public:
return _CoplanarAngleThresholdDeg;
}
inline PosType GetPos()
inline PosType GetPos() const
{
return _pos;
}
inline int GetMark()
inline int GetMark()const
{
return _localMark;
}
@ -223,7 +223,7 @@ public:
\|/
0
*/
virtual ScalarType ComputePriority()
ScalarType ComputePriority()
{
CoordType v0, v1, v2, v3;
int i = _pos.E();