added isAnyB

This commit is contained in:
T.Alderighi 2018-05-14 19:58:53 +02:00
parent ea55f81076
commit fb0684974a
1 changed files with 2 additions and 1 deletions

View File

@ -163,8 +163,9 @@ public:
/// Un-select a Face
void ClearV() {this->Flags() &= ~VISITED;}
/// This function checks if the face is selected
/// This function checks if the face is border
bool IsB(int i) const {return (this->cFlags() & (BORDER0<<i)) != 0;}
bool IsAnyB() const {return (this->cFlags() & (BORDER0123)) != 0;}
/// This function select the face
void SetB(int i) {this->Flags() |=(BORDER0<<i);}
/// This funcion execute the inverse operation of SetS()