OCC.GccEnt module

class OCC.GccEnt.GccEnt_Array1OfPosition(*args)

Bases: object

Assign()
Parameters:Other (GccEnt_Array1OfPosition &) –
Return type:GccEnt_Array1OfPosition
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:GccEnt_Position
Destroy()
Return type:None
Init()
Parameters:V (GccEnt_Position &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (GccEnt_Array1OfPosition &) –
Return type:GccEnt_Array1OfPosition
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (GccEnt_Position &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:GccEnt_Position
thisown

The membership flag

class OCC.GccEnt.GccEnt_QualifiedCirc(*args)

Bases: object

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
Qualified()
  • Returns a 2D circle to which the qualifier is assigned.
Return type:gp_Circ2d
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 OCC.GccEnt.GccEnt_QualifiedLin(*args)

Bases: object

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
Qualified()
  • Returns a 2D line to which the qualifier is assigned.
Return type:gp_Lin2d
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 OCC.GccEnt.SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()
class OCC.GccEnt.gccent(*args, **kwargs)

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

OCC.GccEnt.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
OCC.GccEnt.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
OCC.GccEnt.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
OCC.GccEnt.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