Open CASCADE Technology 7.8.2.dev
BRepMesh_OrientedEdge Class Reference

Light weighted structure representing simple link. More...

#include <BRepMesh_OrientedEdge.hxx>

Inheritance diagram for BRepMesh_OrientedEdge:

Public Member Functions

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

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