Open CASCADE Technology
7.4.0
|
The class represents the couple of indices with additional characteristics such as analyzed flag and an angle.
In IntPolyh_MaillageAffinage algorithm the class is used as a couple of interfering triangles with the intersection angle.
More...
#include <IntPolyh_Couple.hxx>
Public Member Functions | |
IntPolyh_Couple () | |
Constructor. More... | |
IntPolyh_Couple (const Standard_Integer theTriangle1, const Standard_Integer theTriangle2, const Standard_Real theAngle=-2.0) | |
Constructor. More... | |
Standard_Integer | FirstValue () const |
Returns the first index. More... | |
Standard_Integer | SecondValue () const |
Returns the second index. More... | |
Standard_Boolean | IsAnalyzed () const |
Returns TRUE if the couple has been analyzed. More... | |
Standard_Real | Angle () const |
Returns the angle. More... | |
void | SetCoupleValue (const Standard_Integer theInd1, const Standard_Integer theInd2) |
Sets the triangles. More... | |
void | SetAnalyzed (const Standard_Boolean theAnalyzed) |
Sets the analyzed flag. More... | |
void | SetAngle (const Standard_Real theAngle) |
Sets the angle. More... | |
Standard_Boolean | IsEqual (const IntPolyh_Couple &theOther) const |
Returns true if the Couple is equal to <theOther> More... | |
Standard_Integer | HashCode (const Standard_Integer theUpperBound) const |
Computes a hash code for this couple, in the range [1, theUpperBound]. More... | |
void | Dump (const Standard_Integer v) const |
The class represents the couple of indices with additional characteristics such as analyzed flag and an angle.
In IntPolyh_MaillageAffinage algorithm the class is used as a couple of interfering triangles with the intersection angle.
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Returns the angle.
void IntPolyh_Couple::Dump | ( | const Standard_Integer | v | ) | const |
|
inline |
Returns the first index.
|
inline |
Computes a hash code for this couple, in the range [1, theUpperBound].
theUpperBound | the upper bound of the range a computing hash code must be within |
|
inline |
Returns TRUE if the couple has been analyzed.
|
inline |
Returns true if the Couple is equal to <theOther>
|
inline |
Returns the second index.
|
inline |
Sets the analyzed flag.
|
inline |
Sets the angle.
|
inline |
Sets the triangles.