OCC.Core.GccEnt module¶
GccEnt module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_gccent.html
-
class
GccEnt_Array1OfPosition
(*args)¶ Bases:
object
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
Init
()¶
-
IsAllocated
()¶
-
IsDeletable
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Move
()¶
-
Resize
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
next
()¶
-
property
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.
- param Qualified
- type Qualified
gp_Circ2d
- param Qualifier
- type Qualifier
GccEnt_Position
- rtype
None
-
IsEnclosed
()¶ - Returns true if the solution computed by a construction algorithm using this qualified circle is enclosed by the circle.
- rtype
bool
-
IsEnclosing
()¶ - Returns true if the solution computed by a construction algorithm using this qualified circle encloses the circle.
- rtype
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.
- rtype
bool
-
IsUnqualified
()¶ - Returns true if the Circ2d is Unqualified and false in the other cases.
- rtype
bool
-
Qualified
()¶ - Returns a 2D circle to which the qualifier is assigned.
- rtype
gp_Circ2d
-
Qualifier
()¶ - Returns - the qualifier of this qualified circle, if it is enclosing, enclosed or outside, or - GccEnt_noqualifier if it is unqualified.
- rtype
GccEnt_Position
-
property
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. Notethe interior of a line is defined as the left-hand side of the line in relation to its orientation.
- param Qualified
- type Qualified
gp_Lin2d
- param Qualifier
- type Qualifier
GccEnt_Position
- rtype
None
-
IsEnclosed
()¶ - Returns true if the solution is Enclosed in the Lin2d and false in the other cases.
- rtype
bool
-
IsOutside
()¶ - Returns true if the solution is Outside the Lin2d and false in the other cases.
- rtype
bool
-
IsUnqualified
()¶ - Returns true if the solution is unqualified and false in the other cases.
- rtype
bool
-
Qualified
()¶ - Returns a 2D line to which the qualifier is assigned.
- rtype
gp_Lin2d
-
Qualifier
()¶ - Returns the qualifier of this qualified line, if it is ‘enclosed’ or ‘outside’, or - GccEnt_noqualifier if it is unqualified.
- rtype
GccEnt_Position
-
property
thisown
¶ The membership flag
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
property
thisown
¶ The membership flag
-
value
()¶
-
-
class
gccent
¶ Bases:
object
-
static
Enclosed
()¶ - 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.
- param Obj
- type Obj
gp_Lin2d
- rtype
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.
- param Obj
- type Obj
gp_Circ2d
- rtype
GccEnt_QualifiedCirc
-
static
Enclosing
()¶ - Constructs such a qualified circle that the solution computed by a construction algorithm using the qualified circle encloses the circle.
- param Obj
- type Obj
gp_Circ2d
- rtype
GccEnt_QualifiedCirc
-
static
Outside
()¶ - 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.
- param Obj
- type Obj
gp_Lin2d
- rtype
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.
- param Obj
- type Obj
gp_Circ2d
- rtype
GccEnt_QualifiedCirc
-
static
PositionFromString
()¶ - Returns the position from the given string identifier (using case-insensitive comparison). @param thePositionString string identifier returns position or GccEnt_unqualified if string identifier is invalid
- param thePositionString
- type thePositionString
char *
- rtype
GccEnt_Position* Determines the position from the given string identifier (using case-insensitive comparison). @param thePositionString string identifier @param thePosition detected shape type returns True if string identifier is known
- param thePositionString
- type thePositionString
char *
- param thePosition
- type thePosition
GccEnt_Position
- rtype
bool
-
static
PositionToString
()¶ - Returns the string name for a given position. @param thePosition position type returns string identifier from the list UNQUALIFIED ENCLOSING ENCLOSED OUTSIDE NOQUALIFIER
- param thePosition
- type thePosition
GccEnt_Position
- rtype
char *
-
static
Print
()¶ - Prints the name of Position type as a String on the Stream.
- param thePosition
- type thePosition
GccEnt_Position
- param theStream
- type theStream
Standard_OStream
- rtype
Standard_OStream
-
static
Unqualified
()¶ - 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.
- param Obj
- type Obj
gp_Lin2d
- rtype
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.
- param Obj
- type Obj
gp_Circ2d
- rtype
GccEnt_QualifiedCirc
-
property
thisown
¶ The membership flag
-
static