Open CASCADE Technology
7.5.0
|
Light weighted structure representing triangle of mesh consisting of oriented links. More...
#include <BRepMesh_Triangle.hxx>
Public Member Functions | |
BRepMesh_Triangle () | |
Default constructor. More... | |
BRepMesh_Triangle (const Standard_Integer(&theEdges)[3], const Standard_Boolean(&theOrientations)[3], const BRepMesh_DegreeOfFreedom theMovability) | |
Constructor. More... | |
void | Initialize (const Standard_Integer(&theEdges)[3], const Standard_Boolean(&theOrientations)[3], const BRepMesh_DegreeOfFreedom theMovability) |
Initializes the triangle by the given parameters. More... | |
void | Edges (Standard_Integer(&theEdges)[3], Standard_Boolean(&theOrientations)[3]) const |
Gets edges with orientations composing the triangle. More... | |
BRepMesh_DegreeOfFreedom | Movability () const |
Returns movability of the triangle. More... | |
void | SetMovability (const BRepMesh_DegreeOfFreedom theMovability) |
Sets movability of the triangle. More... | |
Standard_Integer | HashCode (const Standard_Integer theUpperBound) const |
Computes a hash code for this triangle, in the range [1, theUpperBound]. More... | |
Standard_Boolean | IsEqual (const BRepMesh_Triangle &theOther) const |
Checks for equality with another triangle. More... | |
Standard_Boolean | operator== (const BRepMesh_Triangle &theOther) const |
Alias for IsEqual. More... | |
Data Fields | |
Standard_Integer | myEdges [3] |
Standard_Boolean | myOrientations [3] |
BRepMesh_DegreeOfFreedom | myMovability |
Light weighted structure representing triangle of mesh consisting of oriented links.
|
inline |
Default constructor.
|
inline |
Constructor.
theEdges | array of edges of triangle. |
theOrientations | array of edge's orientations. |
theMovability | movability of triangle. |
|
inline |
Gets edges with orientations composing the triangle.
[out] | theEdges | array edges are stored to. |
[out] | theOrientations | array orientations are stored to. |
|
inline |
Computes a hash code for this triangle, in the range [1, theUpperBound].
theUpperBound | the upper bound of the range a computing hash code must be within |
|
inline |
Initializes the triangle by the given parameters.
theEdges | array of edges of triangle. |
theOrientations | array of edge's orientations. |
theMovability | movability of triangle. |
|
inline |
Checks for equality with another triangle.
theOther | triangle to be checked against this one. |
|
inline |
Returns movability of the triangle.
|
inline |
Alias for IsEqual.
|
inline |
Sets movability of the triangle.
Standard_Integer BRepMesh_Triangle::myEdges[3] |
BRepMesh_DegreeOfFreedom BRepMesh_Triangle::myMovability |
Standard_Boolean BRepMesh_Triangle::myOrientations[3] |