Open CASCADE Technology  7.7.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 theUpperBound) const
 Computes a hash code for this oriented edge, in the range [1, theUpperBound]. 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  theUpperBound) const
inline

Computes a hash code for this oriented edge, in the range [1, theUpperBound].

Parameters
theUpperBoundthe upper bound of the range a computing hash code must be within
Returns
a computed hash code, in the range [1, theUpperBound]

◆ 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.
Returns
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: