added Crease Flag access functions
This commit is contained in:
parent
d4275a3597
commit
4f166fbd95
|
@ -194,7 +194,14 @@ public:
|
|||
void SetB(int i) {this->Flags() |=(BORDER0<<i);}
|
||||
/// This funcion execute the inverse operation of SetS()
|
||||
void ClearB(int i) {this->Flags() &= (~(BORDER0<<i));}
|
||||
|
||||
|
||||
/// This function checks if the face is selected
|
||||
bool IsCrease(int i) const {return (this->Flags() & (CREASE0<<i)) != 0;}
|
||||
/// This function select the face
|
||||
void SetCrease(int i){this->Flags() |=(CREASE0<<i);}
|
||||
/// This funcion execute the inverse operation of SetS()
|
||||
void ClearCrease(int i) {this->Flags() &= (~(CREASE0<<i));}
|
||||
|
||||
/// This function checks if a given side of the face is a feature/internal edge
|
||||
/// it is used by some importer to mark internal
|
||||
/// edges of polygonal faces that have been triangulated
|
||||
|
|
Loading…
Reference in New Issue