OCC.GccInt module¶
This package implements the services needed by thetoolkit Gcc to use curves other than lines or circles.This package is also used for intersections andbisecting curves.
-
class
GccInt_BCirc
(*args)¶ Bases:
OCC.GccInt.GccInt_Bisec
- Constructs a bisecting curve whose geometry is the 2D circle Circ.
Parameters: Circ (gp_Circ2d) – Return type: None -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
GccInt_BElips
(*args)¶ Bases:
OCC.GccInt.GccInt_Bisec
- Constructs a bisecting curve whose geometry is the 2D ellipse Ellipse.
Parameters: Ellipse (gp_Elips2d) – Return type: None -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
GccInt_BHyper
(*args)¶ Bases:
OCC.GccInt.GccInt_Bisec
- Constructs a bisecting curve whose geometry is the 2D hyperbola Hyper.
Parameters: Hyper (gp_Hypr2d) – Return type: None -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
GccInt_BLine
(*args)¶ Bases:
OCC.GccInt.GccInt_Bisec
- Constructs a bisecting line whose geometry is the 2D line Line.
Parameters: Line (gp_Lin2d) – Return type: None -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
GccInt_BParab
(*args)¶ Bases:
OCC.GccInt.GccInt_Bisec
- Constructs a bisecting curve whose geometry is the 2D parabola Parab.
Parameters: Parab (gp_Parab2d) – Return type: None -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
GccInt_BPoint
(*args)¶ Bases:
OCC.GccInt.GccInt_Bisec
- Constructs a bisecting object whose geometry is the 2D point Point.
Parameters: Point (gp_Pnt2d) – Return type: None -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
GccInt_Bisec
(*args, **kwargs)¶ Bases:
OCC.MMgt.MMgt_TShared
-
ArcType
()¶ - Returns the type of bisecting object (line, circle, parabola, hyperbola, ellipse, point).
Return type: GccInt_IType
-
Circle
()¶ - Returns the bisecting line when ArcType returns Cir. An exception DomainError is raised if ArcType is not a Cir.
Return type: gp_Circ2d
-
Ellipse
()¶ - Returns the bisecting line when ArcType returns Ell. An exception DomainError is raised if ArcType is not an Ell.
Return type: gp_Elips2d
-
GetHandle
()¶
-
Hyperbola
()¶ - Returns the bisecting line when ArcType returns Hpr. An exception DomainError is raised if ArcType is not a Hpr.
Return type: gp_Hypr2d
-
Line
()¶ - Returns the bisecting line when ArcType returns Lin. An exception DomainError is raised if ArcType is not a Lin.
Return type: gp_Lin2d
-
Parabola
()¶ - Returns the bisecting line when ArcType returns Par. An exception DomainError is raised if ArcType is not a Par.
Return type: gp_Parab2d
-
Point
()¶ - Returns the bisecting line when ArcType returns Pnt. An exception DomainError is raised if ArcType is not a Pnt.
Return type: gp_Pnt2d
-
thisown
¶ The membership flag
-
-
class
Handle_GccInt_BCirc
(*args)¶ Bases:
OCC.GccInt.Handle_GccInt_Bisec
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_GccInt_BElips
(*args)¶ Bases:
OCC.GccInt.Handle_GccInt_Bisec
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_GccInt_BHyper
(*args)¶ Bases:
OCC.GccInt.Handle_GccInt_Bisec
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_GccInt_BLine
(*args)¶ Bases:
OCC.GccInt.Handle_GccInt_Bisec
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_GccInt_BParab
(*args)¶ Bases:
OCC.GccInt.Handle_GccInt_Bisec
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_GccInt_BPoint
(*args)¶ Bases:
OCC.GccInt.Handle_GccInt_Bisec
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_GccInt_Bisec
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
thisown
¶ The membership flag
-
value
()¶
-
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases