OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    MAT_Arc Class Reference

    An Arc is associated to each Bisecting of the mat. More...

    #include <MAT_Arc.hxx>

    Inheritance diagram for MAT_Arc:

    Public Member Functions

     MAT_Arc (const int ArcIndex, const int GeomIndex, const occ::handle< MAT_BasicElt > &FirstElement, const occ::handle< MAT_BasicElt > &SecondElement)
    int Index () const
     Returns the index of <me> in Graph.theArcs.
    int GeomIndex () const
     Returns the index associated of the geometric representation of <me>.
    occ::handle< MAT_BasicElt > FirstElement () const
     Returns one of the BasicElt equidistant from <me>.
    occ::handle< MAT_BasicElt > SecondElement () const
     Returns the other BasicElt equidistant from <me>.
    occ::handle< MAT_Node > FirstNode () const
     Returns one Node extremity of <me>.
    occ::handle< MAT_Node > SecondNode () const
     Returns the other Node extremity of <me>.
    occ::handle< MAT_Node > TheOtherNode (const occ::handle< MAT_Node > &aNode) const
     An Arc has two Node, if <aNode> equals one Returns the other.
    bool HasNeighbour (const occ::handle< MAT_Node > &aNode, const MAT_Side aSide) const
     Returns True if there is an arc linked to the Node <aNode> located on the side <aSide> of <me>; if <aNode> is not on <me>.
    occ::handle< MAT_Arc > Neighbour (const occ::handle< MAT_Node > &aNode, const MAT_Side aSide) const
     Returns the first arc linked to the Node <aNode> located on the side <aSide> of <me>; if HasNeighbour() returns FALSE.
    void SetIndex (const int anInteger)
    void SetGeomIndex (const int anInteger)
    void SetFirstElement (const occ::handle< MAT_BasicElt > &aBasicElt)
    void SetSecondElement (const occ::handle< MAT_BasicElt > &aBasicElt)
    void SetFirstNode (const occ::handle< MAT_Node > &aNode)
    void SetSecondNode (const occ::handle< MAT_Node > &aNode)
    void SetFirstArc (const MAT_Side aSide, const occ::handle< MAT_Arc > &anArc)
    void SetSecondArc (const MAT_Side aSide, const occ::handle< MAT_Arc > &anArc)
    void SetNeighbour (const MAT_Side aSide, const occ::handle< MAT_Node > &aNode, const occ::handle< MAT_Arc > &anArc)
    Public Member Functions inherited from Standard_Transient
     Standard_Transient ()
     Empty constructor.
     Standard_Transient (const Standard_Transient &)
     Copy constructor – does nothing.
    Standard_Transient & operator= (const Standard_Transient &)
     Assignment operator, needed to avoid copying reference counter.
    virtual ~Standard_Transient ()=default
     Destructor must be virtual.
    virtual const opencascade::handle< Standard_Type > & DynamicType () const
     Returns a type descriptor about this object.
    bool IsInstance (const opencascade::handle< Standard_Type > &theType) const
     Returns a true value if this is an instance of Type.
    bool IsInstance (const char *const theTypeName) const
     Returns a true value if this is an instance of TypeName.
    bool IsKind (const opencascade::handle< Standard_Type > &theType) const
     Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
    bool IsKind (const char *const theTypeName) const
     Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
    Standard_Transient * This () const
     Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
    int GetRefCount () const noexcept
     Get the reference counter of this object.
    void IncrementRefCounter () noexcept
     Increments the reference counter of this object. Uses relaxed memory ordering since incrementing only requires atomicity, not synchronization with other memory operations.
    int DecrementRefCounter () noexcept
     Decrements the reference counter of this object; returns the decremented value. Uses release ordering for the decrement to ensure all writes to the object are visible before the count reaches zero. An acquire fence is added only when the count reaches zero, ensuring proper synchronization before deletion. This is more efficient than using acq_rel for every decrement.
    virtual void Delete () const
     Memory deallocator for transient classes.

    Additional Inherited Members

    typedef void base_type
     Returns a type descriptor about this object.
    static constexpr const char * get_type_name ()
     Returns a type descriptor about this object.
    static const opencascade::handle< Standard_Type > & get_type_descriptor ()
     Returns type descriptor of Standard_Transient class.

    Detailed Description

    An Arc is associated to each Bisecting of the mat.

    Constructor & Destructor Documentation

    ◆ MAT_Arc()

    MAT_Arc::MAT_Arc ( const int ArcIndex,
    const int GeomIndex,
    const occ::handle< MAT_BasicElt > & FirstElement,
    const occ::handle< MAT_BasicElt > & SecondElement )

    Member Function Documentation

    ◆ FirstElement()

    occ::handle< MAT_BasicElt > MAT_Arc::FirstElement ( ) const

    Returns one of the BasicElt equidistant from <me>.

    ◆ FirstNode()

    occ::handle< MAT_Node > MAT_Arc::FirstNode ( ) const

    Returns one Node extremity of <me>.

    ◆ GeomIndex()

    int MAT_Arc::GeomIndex ( ) const

    Returns the index associated of the geometric representation of <me>.

    ◆ HasNeighbour()

    bool MAT_Arc::HasNeighbour ( const occ::handle< MAT_Node > & aNode,
    const MAT_Side aSide ) const

    Returns True if there is an arc linked to the Node <aNode> located on the side <aSide> of <me>; if <aNode> is not on <me>.

    ◆ Index()

    int MAT_Arc::Index ( ) const

    Returns the index of <me> in Graph.theArcs.

    ◆ Neighbour()

    occ::handle< MAT_Arc > MAT_Arc::Neighbour ( const occ::handle< MAT_Node > & aNode,
    const MAT_Side aSide ) const

    Returns the first arc linked to the Node <aNode> located on the side <aSide> of <me>; if HasNeighbour() returns FALSE.

    ◆ SecondElement()

    occ::handle< MAT_BasicElt > MAT_Arc::SecondElement ( ) const

    Returns the other BasicElt equidistant from <me>.

    ◆ SecondNode()

    occ::handle< MAT_Node > MAT_Arc::SecondNode ( ) const

    Returns the other Node extremity of <me>.

    ◆ SetFirstArc()

    void MAT_Arc::SetFirstArc ( const MAT_Side aSide,
    const occ::handle< MAT_Arc > & anArc )

    ◆ SetFirstElement()

    void MAT_Arc::SetFirstElement ( const occ::handle< MAT_BasicElt > & aBasicElt)

    ◆ SetFirstNode()

    void MAT_Arc::SetFirstNode ( const occ::handle< MAT_Node > & aNode)

    ◆ SetGeomIndex()

    void MAT_Arc::SetGeomIndex ( const int anInteger)

    ◆ SetIndex()

    void MAT_Arc::SetIndex ( const int anInteger)

    ◆ SetNeighbour()

    void MAT_Arc::SetNeighbour ( const MAT_Side aSide,
    const occ::handle< MAT_Node > & aNode,
    const occ::handle< MAT_Arc > & anArc )

    ◆ SetSecondArc()

    void MAT_Arc::SetSecondArc ( const MAT_Side aSide,
    const occ::handle< MAT_Arc > & anArc )

    ◆ SetSecondElement()

    void MAT_Arc::SetSecondElement ( const occ::handle< MAT_BasicElt > & aBasicElt)

    ◆ SetSecondNode()

    void MAT_Arc::SetSecondNode ( const occ::handle< MAT_Node > & aNode)

    ◆ TheOtherNode()

    occ::handle< MAT_Node > MAT_Arc::TheOtherNode ( const occ::handle< MAT_Node > & aNode) const

    An Arc has two Node, if <aNode> equals one Returns the other.

    if <aNode> is not oh <me>


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