OCC.GeomAdaptor module¶
this package contains the geometric definition ofcurve and surface necessary to use algorithmes.
-
class
GeomAdaptor_Curve
(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_Curve
Return type: None Parameters: C (Handle_Geom_Curve &) – Return type: None - ConstructionError is raised if Ufirst>Ulast
Parameters: Return type: -
Curve
()¶ - Provides a curve inherited from Hcurve from Adaptor. This is inherited to provide easy to use constructors.
Return type: Handle_Geom_Curve
-
Load
()¶ Parameters: C (Handle_Geom_Curve &) – Return type: None - ConstructionError is raised if Ufirst>Ulast
Parameters: Return type:
-
thisown
¶ The membership flag
-
class
GeomAdaptor_GHCurve
(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_HCurve
Return type: None Parameters: C (GeomAdaptor_Curve &) – Return type: None -
ChangeCurve
()¶ Return type: GeomAdaptor_Curve
-
GetHandle
()¶
-
thisown
¶ The membership flag
-
-
class
GeomAdaptor_GHSurface
(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_HSurface
Return type: None Parameters: S (GeomAdaptor_Surface &) – Return type: None -
ChangeSurface
()¶ Return type: GeomAdaptor_Surface
-
GetHandle
()¶
-
thisown
¶ The membership flag
-
-
class
GeomAdaptor_HCurve
(*args)¶ Bases:
OCC.GeomAdaptor.GeomAdaptor_GHCurve
Return type: Parameters: - AS (GeomAdaptor_Curve &) –
- S (Handle_Geom_Curve &) –
Return type: Return type: - ConstructionError is raised if UFirst>ULast or VFirst>VLast
Parameters: Return type: -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
GeomAdaptor_HSurface
(*args)¶ Bases:
OCC.GeomAdaptor.GeomAdaptor_GHSurface
Return type: Parameters: - AS (GeomAdaptor_Surface &) –
- S (Handle_Geom_Surface &) –
Return type: Return type: - ConstructionError is raised if UFirst>ULast or VFirst>VLast
Parameters: Return type: -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
GeomAdaptor_Surface
(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_Surface
Return type: None Parameters: S (Handle_Geom_Surface &) – Return type: None - ConstructionError is raised if UFirst>ULast or VFirst>VLast
Parameters: Return type: -
Load
()¶ Parameters: S (Handle_Geom_Surface &) – Return type: None - ConstructionError is raised if UFirst>ULast or VFirst>VLast
Parameters: Return type:
-
Surface
()¶ Return type: Handle_Geom_Surface
-
thisown
¶ The membership flag
-
class
Handle_GeomAdaptor_GHCurve
(*args)¶ Bases:
OCC.Adaptor3d.Handle_Adaptor3d_HCurve
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_GeomAdaptor_GHSurface
(*args)¶ Bases:
OCC.Adaptor3d.Handle_Adaptor3d_HSurface
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_GeomAdaptor_HCurve
(*args)¶ Bases:
OCC.GeomAdaptor.Handle_GeomAdaptor_GHCurve
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_GeomAdaptor_HSurface
(*args)¶ Bases:
OCC.GeomAdaptor.Handle_GeomAdaptor_GHSurface
-
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
geomadaptor
¶ Bases:
object
-
static
MakeCurve
()¶ - Inherited from GHCurve. Provides a curve handled by reference. Build a Geom_Curve using the informations from the Curve from Adaptor3d
Parameters: C (Adaptor3d_Curve &) – Return type: Handle_Geom_Curve
-
static
MakeSurface
()¶ - Build a Geom_Surface using the informations from the Surface from Adaptor3d @param theS - Surface adaptor to convert. @param theTrimFlag - True if perform trim surface values by adaptor and false otherwise.
Parameters: - S (Adaptor3d_Surface &) –
- theTrimFlag (bool) – default value is Standard_True
Return type:
-
thisown
¶ The membership flag
-
static
-
geomadaptor_MakeCurve
()¶ - Inherited from GHCurve. Provides a curve handled by reference. Build a Geom_Curve using the informations from the Curve from Adaptor3d
Parameters: C (Adaptor3d_Curve &) – Return type: Handle_Geom_Curve
-
geomadaptor_MakeSurface
()¶ - Build a Geom_Surface using the informations from the Surface from Adaptor3d @param theS - Surface adaptor to convert. @param theTrimFlag - True if perform trim surface values by adaptor and false otherwise.
Parameters: - S (Adaptor3d_Surface &) –
- theTrimFlag (bool) – default value is Standard_True
Return type:
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases