Open CASCADE Technology  7.3.0
Public Member Functions
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: More...
 
gp_Lin2d Qualified () const
 Returns a 2D line to which the qualifier is assigned. More...
 
GccEnt_Position Qualifier () const
 Returns the qualifier of this qualified line, if it is "enclosed" or "outside", or. More...
 
Standard_Boolean IsUnqualified () const
 Returns true if the solution is unqualified and false in the other cases. More...
 
Standard_Boolean IsEnclosed () const
 Returns true if the solution is Enclosed in the Lin2d and false in the other cases. More...
 
Standard_Boolean IsOutside () const
 Returns true if the solution is Outside the Lin2d and false in the other cases. More...
 

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

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

Standard_Boolean GccEnt_QualifiedLin::IsEnclosed ( ) const

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

◆ IsOutside()

Standard_Boolean GccEnt_QualifiedLin::IsOutside ( ) const

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

◆ IsUnqualified()

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