Open CASCADE Technology  7.1.0.beta
Public Member Functions

BRepMesh_Edge Class Reference

Light weighted structure representing link of the mesh. More...

#include <BRepMesh_Edge.hxx>

Inheritance diagram for BRepMesh_Edge:
Inheritance graph
[legend]

Public Member Functions

 BRepMesh_Edge ()
 Default constructor. More...
 
 BRepMesh_Edge (const Standard_Integer theFirstNode, const Standard_Integer theLastNode, const BRepMesh_DegreeOfFreedom theMovability)
 Constructs a link between two vertices. More...
 
BRepMesh_DegreeOfFreedom Movability () const
 Returns movability flag of the Link. More...
 
void SetMovability (const BRepMesh_DegreeOfFreedom theMovability)
 Sets movability flag of the Link. More...
 
Standard_Boolean IsSameOrientation (const BRepMesh_Edge &theOther) const
 Checks if the given edge and this one have the same orientation. More...
 
Standard_Boolean IsEqual (const BRepMesh_Edge &theOther) const
 Checks for equality with another edge. More...
 
Standard_Boolean operator== (const BRepMesh_Edge &Other) const
 Alias for IsEqual. More...
 
- Public Member Functions inherited from BRepMesh_OrientedEdge
 BRepMesh_OrientedEdge ()
 Default constructor. More...
 
 BRepMesh_OrientedEdge (const Standard_Integer theFirstNode, const Standard_Integer theLastNode)
 Constructs a link between two vertices. More...
 
Standard_Integer FirstNode () const
 Returns index of first node of the Link. More...
 
Standard_Integer LastNode () const
 Returns index of last node of the Link. More...
 
Standard_Integer HashCode (const Standard_Integer theUpper) const
 Returns hash code for this edge. More...
 
Standard_Boolean IsEqual (const BRepMesh_OrientedEdge &theOther) const
 Checks this and other edge for equality. More...
 
Standard_Boolean operator== (const BRepMesh_OrientedEdge &Other) const
 Alias for IsEqual. More...
 

Detailed Description

Light weighted structure representing link of the mesh.

Constructor & Destructor Documentation

BRepMesh_Edge::BRepMesh_Edge ( )
inline

Default constructor.

BRepMesh_Edge::BRepMesh_Edge ( const Standard_Integer  theFirstNode,
const Standard_Integer  theLastNode,
const BRepMesh_DegreeOfFreedom  theMovability 
)
inline

Constructs a link between two vertices.

Member Function Documentation

Standard_Boolean BRepMesh_Edge::IsEqual ( const BRepMesh_Edge theOther) const
inline

Checks for equality with another edge.

Parameters
theOtheredge to be checked against this one.
Returns
TRUE if equal, FALSE if not.
Standard_Boolean BRepMesh_Edge::IsSameOrientation ( const BRepMesh_Edge theOther) const
inline

Checks if the given edge and this one have the same orientation.

Parameters
theOtheredge to be checked against this one. TRUE if edges have the same orientation, FALSE if not.
BRepMesh_DegreeOfFreedom BRepMesh_Edge::Movability ( ) const
inline

Returns movability flag of the Link.

Standard_Boolean BRepMesh_Edge::operator== ( const BRepMesh_Edge Other) const
inline

Alias for IsEqual.

void BRepMesh_Edge::SetMovability ( const BRepMesh_DegreeOfFreedom  theMovability)
inline

Sets movability flag of the Link.

Parameters
theMovabilityflag to be set.

The documentation for this class was generated from the following file: