Open CASCADE Technology  7.3.0
Public Member Functions

BRepMesh_OrientedEdge Class Reference

Light weighted structure representing simple link. More...

#include <BRepMesh_OrientedEdge.hxx>

Inheritance diagram for BRepMesh_OrientedEdge:
Inheritance graph
[legend]

Public Member Functions

 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 simple link.

Constructor & Destructor Documentation

◆ BRepMesh_OrientedEdge() [1/2]

BRepMesh_OrientedEdge::BRepMesh_OrientedEdge ( )
inline

Default constructor.

◆ BRepMesh_OrientedEdge() [2/2]

BRepMesh_OrientedEdge::BRepMesh_OrientedEdge ( const Standard_Integer  theFirstNode,
const Standard_Integer  theLastNode 
)
inline

Constructs a link between two vertices.

Member Function Documentation

◆ FirstNode()

Standard_Integer BRepMesh_OrientedEdge::FirstNode ( ) const
inline

Returns index of first node of the Link.

◆ HashCode()

Standard_Integer BRepMesh_OrientedEdge::HashCode ( const Standard_Integer  theUpper) const
inline

Returns hash code for this edge.

Parameters
theUpperupper index in the container.
Returns
hash code.

◆ IsEqual()

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

Checks this and other edge for equality.

Parameters
theOtheredge to be checked against this one. TRUE if edges have the same orientation, FALSE if not.

◆ LastNode()

Standard_Integer BRepMesh_OrientedEdge::LastNode ( ) const
inline

Returns index of last node of the Link.

◆ operator==()

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

Alias for IsEqual.


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