OCC.Geom2dAdaptor module¶
this package contains the geometric definition of2d curves compatible with the Adaptor packagetemplates.
-
class
Geom2dAdaptor_Curve
(*args)¶ Bases:
OCC.Adaptor2d.Adaptor2d_Curve2d
Return type: None Parameters: C (Handle_Geom2d_Curve &) – Return type: None - ConstructionError is raised if Ufirst>Ulast
Parameters: Return type: -
Curve
()¶ Return type: Handle_Geom2d_Curve
-
Load
()¶ Parameters: C (Handle_Geom2d_Curve &) – Return type: None - ConstructionError is raised if Ufirst>Ulast
Parameters: Return type:
-
thisown
¶ The membership flag
-
class
Geom2dAdaptor_GHCurve
(*args)¶ Bases:
OCC.Adaptor2d.Adaptor2d_HCurve2d
Return type: None Parameters: C (Geom2dAdaptor_Curve &) – Return type: None -
ChangeCurve2d
()¶ Return type: Geom2dAdaptor_Curve
-
GetHandle
()¶
-
thisown
¶ The membership flag
-
-
class
Geom2dAdaptor_HCurve
(*args)¶ Bases:
OCC.Geom2dAdaptor.Geom2dAdaptor_GHCurve
Return type: Parameters: - AS (Geom2dAdaptor_Curve &) –
- S (Handle_Geom2d_Curve &) –
Return type: Return type: - ConstructionError is raised if UFirst>ULast or VFirst>VLast
Parameters: Return type: -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
Handle_Geom2dAdaptor_GHCurve
(*args)¶ Bases:
OCC.Adaptor2d.Handle_Adaptor2d_HCurve2d
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_Geom2dAdaptor_HCurve
(*args)¶ Bases:
OCC.Geom2dAdaptor.Handle_Geom2dAdaptor_GHCurve
-
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
()¶
-
-
class
geom2dadaptor
¶ Bases:
object
-
static
MakeCurve
()¶ - Inherited from GHCurve. Provides a curve handled by reference. Creates a 2d curve from a HCurve2d. This cannot process the OtherCurves.
Parameters: HC (Adaptor2d_Curve2d &) – Return type: Handle_Geom2d_Curve
-
thisown
¶ The membership flag
-
static
-
geom2dadaptor_MakeCurve
()¶ - Inherited from GHCurve. Provides a curve handled by reference. Creates a 2d curve from a HCurve2d. This cannot process the OtherCurves.
Parameters: HC (Adaptor2d_Curve2d &) – Return type: Handle_Geom2d_Curve
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases