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>
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.
◆ Enclosed() [1/2]
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.
◆ Enclosed() [2/2]
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.
◆ Enclosing()
Constructs such a qualified circle that the solution computed by a construction algorithm using the qualified circle encloses the circle.
◆ Outside() [1/2]
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.
◆ Outside() [2/2]
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.
◆ PositionFromString() [1/2]
Returns the position from the given string identifier (using case-insensitive comparison).
- Parameters
-
thePositionString | string identifier |
- Returns
- position or GccEnt_unqualified if string identifier is invalid
◆ PositionFromString() [2/2]
Determines the position from the given string identifier (using case-insensitive comparison).
- Parameters
-
thePositionString | string identifier |
thePosition | detected shape type |
- Returns
- TRUE if string identifier is known
◆ PositionToString()
Returns the string name for a given position.
- Parameters
-
- Returns
- string identifier from the list UNQUALIFIED ENCLOSING ENCLOSED OUTSIDE NOQUALIFIER
◆ Print()
Prints the name of Position type as a String on the Stream.
◆ Unqualified() [1/2]
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.
◆ Unqualified() [2/2]
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.
The documentation for this class was generated from the following file: