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

    Describes a qualified 2D line. A qualified 2D line is a line (gp_Lin2d line) with a qualifier which specifies whether the solution of a construction algorithm using the qualified line (as an argument): More...

    #include <GccEnt_QualifiedLin.hxx>

    Public Member Functions

     GccEnt_QualifiedLin (const gp_Lin2d &Qualified, const GccEnt_Position Qualifier)
     Constructs a qualified line by assigning the qualifier Qualifier to the line Qualified. Qualifier may be:
    gp_Lin2d Qualified () const
     Returns a 2D line to which the qualifier is assigned.
    GccEnt_Position Qualifier () const
     Returns the qualifier of this qualified line, if it is "enclosed" or "outside", or.
    bool IsUnqualified () const
     Returns true if the solution is unqualified and false in the other cases.
    bool IsEnclosed () const
     Returns true if the solution is Enclosed in the Lin2d and false in the other cases.
    bool IsOutside () const
     Returns true if the solution is Outside the Lin2d and false in the other cases.

    Detailed Description

    Describes a qualified 2D line. A qualified 2D line is a line (gp_Lin2d line) with a qualifier which specifies whether the solution of a construction algorithm using the qualified line (as an argument):

    • is 'enclosed' by the line, or
    • is built so that both the line and it are external to one another, or
    • is undefined (all solutions apply). Note: the interior of a line is defined as the left-hand side of the line in relation to its orientation (i.e. when moving from the start to the end of the curve).

    Constructor & Destructor Documentation

    ◆ GccEnt_QualifiedLin()

    GccEnt_QualifiedLin::GccEnt_QualifiedLin ( const gp_Lin2d & Qualified,
    const GccEnt_Position Qualifier )

    Constructs a qualified line by assigning the qualifier Qualifier to the line Qualified. Qualifier may be:

    • GccEnt_enclosed if the solution is enclosed by the line, or
    • GccEnt_outside if both the solution and the line are external to one another, or
    • GccEnt_unqualified if all solutions apply. Note : the interior of a line is defined as the left-hand side of the line in relation to its orientation.

    Member Function Documentation

    ◆ IsEnclosed()

    bool GccEnt_QualifiedLin::IsEnclosed ( ) const

    Returns true if the solution is Enclosed in the Lin2d and false in the other cases.

    ◆ IsOutside()

    bool GccEnt_QualifiedLin::IsOutside ( ) const

    Returns true if the solution is Outside the Lin2d and false in the other cases.

    ◆ IsUnqualified()

    bool GccEnt_QualifiedLin::IsUnqualified ( ) const

    Returns true if the solution is unqualified and false in the other cases.

    ◆ Qualified()

    gp_Lin2d GccEnt_QualifiedLin::Qualified ( ) const

    Returns a 2D line to which the qualifier is assigned.

    ◆ Qualifier()

    GccEnt_Position GccEnt_QualifiedLin::Qualifier ( ) const

    Returns the qualifier of this qualified line, if it is "enclosed" or "outside", or.

    • GccEnt_noqualifier if it is unqualified.

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