Open CASCADE Technology 7.8.0
|
This package provides an implementation of the qualified entities useful to create 2d entities with geometric constraints. The qualifier explains which subfamily of solutions we want to obtain. It uses the following law: the matter/the interior side is at the left of the line, if we go from the beginning to the end. The qualifiers are: Enclosing : the solution(s) must enclose the argument. Enclosed : the solution(s) must be enclosed in the argument. Outside : both the solution(s) and the argument must be outside to each other. Unqualified : the position is undefined, so give all the solutions. The use of a qualifier is always required if such subfamilies exist. For example, it is not used for a point. Note: the interior of a curve is defined as the left-hand side of the curve in relation to its orientation. More...
#include <GccEnt.hxx>
Static Public Member Functions | |
static Standard_OStream & | Print (const GccEnt_Position thePosition, Standard_OStream &theStream) |
Prints the name of Position type as a String on the Stream. | |
static Standard_CString | PositionToString (GccEnt_Position thePosition) |
Returns the string name for a given position. | |
static GccEnt_Position | PositionFromString (Standard_CString thePositionString) |
Returns the position from the given string identifier (using case-insensitive comparison). | |
static Standard_Boolean | PositionFromString (Standard_CString thePositionString, GccEnt_Position &thePosition) |
Determines the position from the given string identifier (using case-insensitive comparison). | |
static GccEnt_QualifiedLin | Unqualified (const gp_Lin2d &Obj) |
Constructs a qualified line, so that the relative position to the circle or line of the solution computed by a construction algorithm using the qualified circle or line is not qualified, i.e. all solutions apply. | |
static GccEnt_QualifiedCirc | Unqualified (const gp_Circ2d &Obj) |
Constructs a qualified circle so that the relative position to the circle or line of the solution computed by a construction algorithm using the qualified circle or line is not qualified, i.e. all solutions apply. | |
static GccEnt_QualifiedCirc | Enclosing (const gp_Circ2d &Obj) |
Constructs such a qualified circle that the solution computed by a construction algorithm using the qualified circle encloses the circle. | |
static GccEnt_QualifiedLin | Enclosed (const gp_Lin2d &Obj) |
Constructs a qualified line, so that the solution computed by a construction algorithm using the qualified circle or line is enclosed by the circle or line. | |
static GccEnt_QualifiedCirc | Enclosed (const gp_Circ2d &Obj) |
Constructs a qualified circle so that the solution computed by a construction algorithm using the qualified circle or line is enclosed by the circle or line. | |
static GccEnt_QualifiedLin | Outside (const gp_Lin2d &Obj) |
Constructs a qualified line, so that the solution computed by a construction algorithm using the qualified circle or line and the circle or line are external to one another. | |
static GccEnt_QualifiedCirc | Outside (const gp_Circ2d &Obj) |
Constructs a qualified circle so that the solution computed by a construction algorithm using the qualified circle or line and the circle or line are external to one another. | |
This package provides an implementation of the qualified entities useful to create 2d entities with geometric constraints. The qualifier explains which subfamily of solutions we want to obtain. It uses the following law: the matter/the interior side is at the left of the line, if we go from the beginning to the end. The qualifiers are: Enclosing : the solution(s) must enclose the argument. Enclosed : the solution(s) must be enclosed in the argument. Outside : both the solution(s) and the argument must be outside to each other. Unqualified : the position is undefined, so give all the solutions. The use of a qualifier is always required if such subfamilies exist. For example, it is not used for a point. Note: the interior of a curve is defined as the left-hand side of the curve in relation to its orientation.
|
static |
Constructs a qualified circle so that the solution computed by a construction algorithm using the qualified circle or line is enclosed by the circle or line.
|
static |
Constructs a qualified line, so that the solution computed by a construction algorithm using the qualified circle or line is enclosed by the circle or line.
|
static |
Constructs such a qualified circle that the solution computed by a construction algorithm using the qualified circle encloses the circle.
|
static |
Constructs a qualified circle so that the solution computed by a construction algorithm using the qualified circle or line and the circle or line are external to one another.
|
static |
Constructs a qualified line, so that the solution computed by a construction algorithm using the qualified circle or line and the circle or line are external to one another.
|
inlinestatic |
Returns the position from the given string identifier (using case-insensitive comparison).
thePositionString | string identifier |
|
static |
Determines the position from the given string identifier (using case-insensitive comparison).
thePositionString | string identifier |
thePosition | detected shape type |
|
static |
Returns the string name for a given position.
thePosition | position type |
|
inlinestatic |
Prints the name of Position type as a String on the Stream.
|
static |
Constructs a qualified circle so that the relative position to the circle or line of the solution computed by a construction algorithm using the qualified circle or line is not qualified, i.e. all solutions apply.
|
static |
Constructs a qualified line, so that the relative position to the circle or line of the solution computed by a construction algorithm using the qualified circle or line is not qualified, i.e. all solutions apply.