OCC.GccEnt module¶
-
class
GccEnt_Array1OfPosition(*args)¶ Bases:
objectParameters: Return type: Return type: -
Assign()¶ Parameters: Other (GccEnt_Array1OfPosition &) – Return type: GccEnt_Array1OfPosition
-
Set()¶ Parameters: Other (GccEnt_Array1OfPosition &) – Return type: GccEnt_Array1OfPosition
-
thisown¶ The membership flag
-
-
class
GccEnt_QualifiedCirc(*args)¶ Bases:
object- Constructs a qualified circle by assigning the qualifier Qualifier to the circle Qualified. Qualifier may be: - GccEnt_enclosing if the solution computed by a construction algorithm using the qualified circle encloses the circle, or - GccEnt_enclosed if the solution is enclosed by the circle, or - GccEnt_outside if both the solution and the circle are external to one another, or - GccEnt_unqualified if all solutions apply.
Parameters: - Qualified (gp_Circ2d) –
- Qualifier (GccEnt_Position) –
Return type: Return type: -
IsEnclosed()¶ - Returns true if the solution computed by a construction algorithm using this qualified circle is enclosed by the circle.
Return type: bool
-
IsEnclosing()¶ - Returns true if the solution computed by a construction algorithm using this qualified circle encloses the circle.
Return type: bool
-
IsOutside()¶ - Returns true if both the solution computed by a construction algorithm using this qualified circle and the circle are external to one another.
Return type: bool
-
IsUnqualified()¶ - Returns true if the Circ2d is Unqualified and false in the other cases.
Return type: bool
-
Qualifier()¶ - Returns - the qualifier of this qualified circle, if it is enclosing, enclosed or outside, or - GccEnt_noqualifier if it is unqualified.
Return type: GccEnt_Position
-
thisown¶ The membership flag
-
class
GccEnt_QualifiedLin(*args)¶ Bases:
object- 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.
Parameters: - Qualified (gp_Lin2d) –
- Qualifier (GccEnt_Position) –
Return type: Return type: -
IsEnclosed()¶ - Returns true if the solution is Enclosed in the Lin2d and false in the other cases.
Return type: bool
-
IsOutside()¶ - Returns true if the solution is Outside the Lin2d and false in the other cases.
Return type: bool
-
IsUnqualified()¶ - Returns true if the solution is unqualified and false in the other cases.
Return type: bool
-
Qualifier()¶ - Returns the qualifier of this qualified line, if it is ‘enclosed’ or ‘outside’, or - GccEnt_noqualifier if it is unqualified.
Return type: GccEnt_Position
-
thisown¶ The membership flag
-
class
SwigPyIterator(*args, **kwargs)¶ Bases:
object-
advance()¶
-
copy()¶
-
decr()¶
-
distance()¶
-
equal()¶
-
incr()¶
-
next()¶
-
previous()¶
-
thisown¶ The membership flag
-
value()¶
-
-
class
gccent¶ Bases:
object-
static
Enclosed(*args)¶ - 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.
Parameters: Obj (gp_Lin2d) – Return type: GccEnt_QualifiedLin - 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.
Parameters: Obj (gp_Circ2d) – Return type: GccEnt_QualifiedCirc
-
static
Enclosing(*args)¶ - Constructs such a qualified circle that the solution computed by a construction algorithm using the qualified circle encloses the circle.
Parameters: Obj (gp_Circ2d) – Return type: GccEnt_QualifiedCirc
-
static
Outside(*args)¶ - 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.
Parameters: Obj (gp_Lin2d) – Return type: GccEnt_QualifiedLin - 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.
Parameters: Obj (gp_Circ2d) – Return type: GccEnt_QualifiedCirc
-
static
Unqualified(*args)¶ - 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.
Parameters: Obj (gp_Lin2d) – Return type: GccEnt_QualifiedLin - 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.
Parameters: Obj (gp_Circ2d) – Return type: GccEnt_QualifiedCirc
-
thisown¶ The membership flag
-
static
-
gccent_Enclosed(*args)¶ - 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.
Parameters: Obj (gp_Lin2d) – Return type: GccEnt_QualifiedLin - 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.
Parameters: Obj (gp_Circ2d) – Return type: GccEnt_QualifiedCirc
-
gccent_Enclosing(*args)¶ - Constructs such a qualified circle that the solution computed by a construction algorithm using the qualified circle encloses the circle.
Parameters: Obj (gp_Circ2d) – Return type: GccEnt_QualifiedCirc
-
gccent_Outside(*args)¶ - 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.
Parameters: Obj (gp_Lin2d) – Return type: GccEnt_QualifiedLin - 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.
Parameters: Obj (gp_Circ2d) – Return type: GccEnt_QualifiedCirc
-
gccent_Unqualified(*args)¶ - 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.
Parameters: Obj (gp_Lin2d) – Return type: GccEnt_QualifiedLin - 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.
Parameters: Obj (gp_Circ2d) – Return type: GccEnt_QualifiedCirc
-
register_handle(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases