OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    IntPolyh_Couple Class Reference

    The class represents the couple of indices with additional characteristics such as analyzed flag and an angle. In IntPolyh_MaillageAffinage algorithm the class is used as a couple of interfering triangles with the intersection angle. More...

    #include <IntPolyh_Couple.hxx>

    Public Member Functions

     IntPolyh_Couple ()
     Constructor.
     IntPolyh_Couple (const int theTriangle1, const int theTriangle2, const double theAngle=-2.0)
     Constructor.
    int FirstValue () const
     Returns the first index.
    int SecondValue () const
     Returns the second index.
    bool IsAnalyzed () const
     Returns TRUE if the couple has been analyzed.
    double Angle () const
     Returns the angle.
    void SetCoupleValue (const int theInd1, const int theInd2)
     Sets the triangles.
    void SetAnalyzed (const bool theAnalyzed)
     Sets the analyzed flag.
    void SetAngle (const double theAngle)
     Sets the angle.
    bool IsEqual (const IntPolyh_Couple &theOther) const
     Returns true if the Couple is equal to <theOther>.
    bool operator== (const IntPolyh_Couple &theOther) const
     Returns true if the Couple is equal to <theOther>.
    void Dump (const int vv) const

    Detailed Description

    The class represents the couple of indices with additional characteristics such as analyzed flag and an angle. In IntPolyh_MaillageAffinage algorithm the class is used as a couple of interfering triangles with the intersection angle.

    Constructor & Destructor Documentation

    ◆ IntPolyh_Couple() [1/2]

    IntPolyh_Couple::IntPolyh_Couple ( )
    inline

    Constructor.

    ◆ IntPolyh_Couple() [2/2]

    IntPolyh_Couple::IntPolyh_Couple ( const int theTriangle1,
    const int theTriangle2,
    const double theAngle = -2.0 )
    inline

    Constructor.

    Member Function Documentation

    ◆ Angle()

    double IntPolyh_Couple::Angle ( ) const
    inline

    Returns the angle.

    ◆ Dump()

    void IntPolyh_Couple::Dump ( const int v) const

    ◆ FirstValue()

    int IntPolyh_Couple::FirstValue ( ) const
    inline

    Returns the first index.

    ◆ IsAnalyzed()

    bool IntPolyh_Couple::IsAnalyzed ( ) const
    inline

    Returns TRUE if the couple has been analyzed.

    ◆ IsEqual()

    bool IntPolyh_Couple::IsEqual ( const IntPolyh_Couple & theOther) const
    inline

    Returns true if the Couple is equal to <theOther>.

    ◆ operator==()

    bool IntPolyh_Couple::operator== ( const IntPolyh_Couple & theOther) const
    inline

    Returns true if the Couple is equal to <theOther>.

    ◆ SecondValue()

    int IntPolyh_Couple::SecondValue ( ) const
    inline

    Returns the second index.

    ◆ SetAnalyzed()

    void IntPolyh_Couple::SetAnalyzed ( const bool theAnalyzed)
    inline

    Sets the analyzed flag.

    ◆ SetAngle()

    void IntPolyh_Couple::SetAngle ( const double theAngle)
    inline

    Sets the angle.

    ◆ SetCoupleValue()

    void IntPolyh_Couple::SetCoupleValue ( const int theInd1,
    const int theInd2 )
    inline

    Sets the triangles.


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