OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BRepMesh_Edge Class Reference

    Light weighted structure representing link of the mesh. More...

    #include <BRepMesh_Edge.hxx>

    Inheritance diagram for BRepMesh_Edge:

    Public Member Functions

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

    Constructs a link between two vertices.

    Member Function Documentation

    ◆ IsEqual()

    bool 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()

    bool 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==()

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