Open CASCADE Technology  6.9.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::BRepMesh_OrientedEdge ( )
inline

Default constructor.

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

Constructs a link between two vertices.

Member Function Documentation

Standard_Integer BRepMesh_OrientedEdge::FirstNode ( ) const
inline

Returns index of first node of the Link.

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.
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.
Standard_Integer BRepMesh_OrientedEdge::LastNode ( ) const
inline

Returns index of last node of the Link.

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: