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
    Intf_SectionLine Class Reference

    Describe a polyline of intersection between two polyhedra as a sequence of points of intersection. More...

    #include <Intf_SectionLine.hxx>

    Public Member Functions

    int NumberOfPoints () const
     Returns number of points in this SectionLine.
    const Intf_SectionPointGetPoint (const int Index) const
     Gives the point of intersection of address <Index> in the SectionLine.
    bool IsClosed () const
     Returns True if the SectionLine is closed.
    bool Contains (const Intf_SectionPoint &ThePI) const
     Returns True if ThePI is in the SectionLine <me>.
    int IsEnd (const Intf_SectionPoint &ThePI) const
     Checks if <ThePI> is an end of the SectionLine. Returns 1 for the beginning, 2 for the end, otherwise 0.
    bool IsEqual (const Intf_SectionLine &Other) const
     Compares two SectionLines.
    bool operator== (const Intf_SectionLine &Other) const
     Intf_SectionLine ()
     Constructs an empty SectionLine.
     Intf_SectionLine (const Intf_SectionLine &Other)
     Copies a SectionLine.
    Intf_SectionLineoperator= (const Intf_SectionLine &theOther)
     Assignment.
    void Append (const Intf_SectionPoint &Pi)
     Adds a point at the end of the SectionLine.
    void Append (Intf_SectionLine &LS)
     Concatenates the SectionLine <LS> at the end of the SectionLine <me>.
    void Prepend (const Intf_SectionPoint &Pi)
     Adds a point to the beginning of the SectionLine <me>.
    void Prepend (Intf_SectionLine &LS)
     Concatenates a SectionLine <LS> at the beginning of the SectionLine <me>.
    void Reverse ()
     Reverses the order of the elements of the SectionLine.
    void Close ()
     Closes the SectionLine.
    void Dump (const int Indent) const

    Detailed Description

    Describe a polyline of intersection between two polyhedra as a sequence of points of intersection.

    Constructor & Destructor Documentation

    ◆ Intf_SectionLine() [1/2]

    Intf_SectionLine::Intf_SectionLine ( )

    Constructs an empty SectionLine.

    ◆ Intf_SectionLine() [2/2]

    Intf_SectionLine::Intf_SectionLine ( const Intf_SectionLine & Other)

    Copies a SectionLine.

    Member Function Documentation

    ◆ Append() [1/2]

    void Intf_SectionLine::Append ( const Intf_SectionPoint & Pi)

    Adds a point at the end of the SectionLine.

    ◆ Append() [2/2]

    void Intf_SectionLine::Append ( Intf_SectionLine & LS)

    Concatenates the SectionLine <LS> at the end of the SectionLine <me>.

    ◆ Close()

    void Intf_SectionLine::Close ( )

    Closes the SectionLine.

    ◆ Contains()

    bool Intf_SectionLine::Contains ( const Intf_SectionPoint & ThePI) const

    Returns True if ThePI is in the SectionLine <me>.

    ◆ Dump()

    void Intf_SectionLine::Dump ( const int Indent) const

    ◆ GetPoint()

    const Intf_SectionPoint & Intf_SectionLine::GetPoint ( const int Index) const

    Gives the point of intersection of address <Index> in the SectionLine.

    ◆ IsClosed()

    bool Intf_SectionLine::IsClosed ( ) const

    Returns True if the SectionLine is closed.

    ◆ IsEnd()

    int Intf_SectionLine::IsEnd ( const Intf_SectionPoint & ThePI) const

    Checks if <ThePI> is an end of the SectionLine. Returns 1 for the beginning, 2 for the end, otherwise 0.

    ◆ IsEqual()

    bool Intf_SectionLine::IsEqual ( const Intf_SectionLine & Other) const

    Compares two SectionLines.

    ◆ NumberOfPoints()

    int Intf_SectionLine::NumberOfPoints ( ) const

    Returns number of points in this SectionLine.

    ◆ operator=()

    Intf_SectionLine & Intf_SectionLine::operator= ( const Intf_SectionLine & theOther)
    inline

    Assignment.

    ◆ operator==()

    bool Intf_SectionLine::operator== ( const Intf_SectionLine & Other) const
    inline

    ◆ Prepend() [1/2]

    void Intf_SectionLine::Prepend ( const Intf_SectionPoint & Pi)

    Adds a point to the beginning of the SectionLine <me>.

    ◆ Prepend() [2/2]

    void Intf_SectionLine::Prepend ( Intf_SectionLine & LS)

    Concatenates a SectionLine <LS> at the beginning of the SectionLine <me>.

    ◆ Reverse()

    void Intf_SectionLine::Reverse ( )

    Reverses the order of the elements of the SectionLine.


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