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

Detailed Description

Light weighted structure representing link of the mesh.

Constructor & Destructor Documentation

◆ BRepMesh_Edge() [1/2]

BRepMesh_Edge::BRepMesh_Edge ( )
inline

Default constructor.

◆ BRepMesh_Edge() [2/2]

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

◆ IsEqual()

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.

◆ IsSameOrientation()

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.
Returns
TRUE if edges have the same orientation, FALSE if not.

◆ Movability()

BRepMesh_DegreeOfFreedom BRepMesh_Edge::Movability ( ) const
inline

Returns movability flag of the Link.

◆ operator==()

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

Alias for IsEqual.

◆ SetMovability()

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: