OCC.Core.GeomAdaptor module¶
GeomAdaptor module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomadaptor.html
-
class
GeomAdaptor_Curve
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_Curve
- Return type
None:param C: :type C: Geom_Curve :rtype: None* ConstructionError is raised if Ufirst>Ulast :param C: :type C: Geom_Curve :param UFirst: :type UFirst: float :param ULast: :type ULast: float :rtype: None
-
Curve
()¶ - Provides a curve inherited from Hcurve from Adaptor. This is inherited to provide easy to use constructors.
- rtype
opencascade::handle<Geom_Curve>
-
Load
()¶ - Parameters
C –
- type C
Geom_Curve
- rtype
None* ConstructionError is raised if Ufirst>Ulast
- param C
- type C
Geom_Curve
- param UFirst
- type UFirst
float
- param ULast
- type ULast
float
- rtype
None
-
Reset
()¶ - Reset currently loaded curve (undone Load()).
- rtype
None
-
property
thisown
¶ The membership flag
-
class
GeomAdaptor_GHCurve
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_HCurve
- Creates an empty GenHCurve.
- rtype
None* Creates a GenHCurve from a Curve
- param C
- type C
GeomAdaptor_Curve
- rtype
None
-
ChangeCurve
()¶ - Returns the curve used to create the GenHCurve.
- rtype
GeomAdaptor_Curve
-
static
DownCast
(t)¶
-
Set
()¶ - Sets the field of the GenHCurve.
- param C
- type C
GeomAdaptor_Curve
- rtype
None
-
property
thisown
¶ The membership flag
-
class
GeomAdaptor_GHSurface
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_HSurface
- Creates an empty GenHSurface.
- rtype
None* Creates a GenHSurface from a Surface.
- param S
- type S
GeomAdaptor_Surface
- rtype
None
-
ChangeSurface
()¶ - Returns the surface used to create the GenHSurface.
- rtype
GeomAdaptor_Surface
-
static
DownCast
(t)¶
-
Set
()¶ - Sets the field of the GenHSurface.
- param S
- type S
GeomAdaptor_Surface
- rtype
None
-
property
thisown
¶ The membership flag
-
class
GeomAdaptor_HCurve
(*args)¶ Bases:
OCC.Core.GeomAdaptor.GeomAdaptor_GHCurve
- Return type
None:param AS: :type AS: GeomAdaptor_Curve :rtype: None:param S: :type S: Geom_Curve :rtype: None* ConstructionError is raised if UFirst>ULast or VFirst>VLast :param S: :type S: Geom_Curve :param UFirst: :type UFirst: float :param ULast: :type ULast: float :rtype: None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
GeomAdaptor_HSurface
(*args)¶ Bases:
OCC.Core.GeomAdaptor.GeomAdaptor_GHSurface
- Return type
None:param AS: :type AS: GeomAdaptor_Surface :rtype: None:param S: :type S: Geom_Surface :rtype: None* ConstructionError is raised if UFirst>ULast or VFirst>VLast :param S: :type S: Geom_Surface :param UFirst: :type UFirst: float :param ULast: :type ULast: float :param VFirst: :type VFirst: float :param VLast: :type VLast: float :param TolU: default value is 0.0 :type TolU: float :param TolV: default value is 0.0 :type TolV: float :rtype: None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
GeomAdaptor_HSurfaceOfLinearExtrusion
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_HSurface
- Creates an empty GenHSurface.
- rtype
None* Creates a GenHSurface from a Surface.
- param S
- type S
GeomAdaptor_SurfaceOfLinearExtrusion
- rtype
None
-
ChangeSurface
()¶ - Returns the surface used to create the GenHSurface.
- rtype
GeomAdaptor_SurfaceOfLinearExtrusion
-
static
DownCast
(t)¶
-
Set
()¶ - Sets the field of the GenHSurface.
- param S
- type S
GeomAdaptor_SurfaceOfLinearExtrusion
- rtype
None
-
property
thisown
¶ The membership flag
-
class
GeomAdaptor_HSurfaceOfRevolution
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_HSurface
- Creates an empty GenHSurface.
- rtype
None* Creates a GenHSurface from a Surface.
- param S
- type S
GeomAdaptor_SurfaceOfRevolution
- rtype
None
-
ChangeSurface
()¶ - Returns the surface used to create the GenHSurface.
- rtype
GeomAdaptor_SurfaceOfRevolution
-
static
DownCast
(t)¶
-
Set
()¶ - Sets the field of the GenHSurface.
- param S
- type S
GeomAdaptor_SurfaceOfRevolution
- rtype
None
-
property
thisown
¶ The membership flag
-
class
GeomAdaptor_Surface
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_Surface
- Return type
None:param S: :type S: Geom_Surface :rtype: None* ConstructionError is raised if UFirst>ULast or VFirst>VLast :param S: :type S: Geom_Surface :param UFirst: :type UFirst: float :param ULast: :type ULast: float :param VFirst: :type VFirst: float :param VLast: :type VLast: float :param TolU: default value is 0.0 :type TolU: float :param TolV: default value is 0.0 :type TolV: float :rtype: None
-
Load
()¶ - Parameters
S –
- type S
Geom_Surface
- rtype
None* ConstructionError is raised if UFirst>ULast or VFirst>VLast
- param S
- type S
Geom_Surface
- param UFirst
- type UFirst
float
- param ULast
- type ULast
float
- param VFirst
- type VFirst
float
- param VLast
- type VLast
float
- param TolU
default value is 0.0
- type TolU
float
- param TolV
default value is 0.0
- type TolV
float
- rtype
None
-
Surface
()¶ - Return type
opencascade::handle<Geom_Surface>
-
property
thisown
¶ The membership flag
-
class
GeomAdaptor_SurfaceOfLinearExtrusion
(*args)¶ Bases:
OCC.Core.GeomAdaptor.GeomAdaptor_Surface
- Return type
None* The Curve is loaded. :param C: :type C: Adaptor3d_HCurve :rtype: None* Thew Curve and the Direction are loaded. :param C: :type C: Adaptor3d_HCurve :param V: :type V: gp_Dir :rtype: None
-
Load
()¶ - Changes the Curve
- param C
- type C
Adaptor3d_HCurve
- rtype
None* Changes the Direction
- param V
- type V
gp_Dir
- rtype
None
-
property
thisown
¶ The membership flag
-
class
GeomAdaptor_SurfaceOfRevolution
(*args)¶ Bases:
OCC.Core.GeomAdaptor.GeomAdaptor_Surface
- Return type
None* The Curve is loaded. :param C: :type C: Adaptor3d_HCurve :rtype: None* The Curve and the Direction are loaded. :param C: :type C: Adaptor3d_HCurve :param V: :type V: gp_Ax1 :rtype: None
-
Load
()¶ - Changes the Curve
- param C
- type C
Adaptor3d_HCurve
- rtype
None* Changes the Direction
- param V
- type V
gp_Ax1
- rtype
None
-
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
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
- param C
- type C
Adaptor3d_Curve
- rtype
opencascade::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.
- param theS
- type theS
Adaptor3d_Surface
- param theTrimFlag
default value is Standard_True
- type theTrimFlag
bool
- rtype
opencascade::handle<Geom_Surface>
-
property
thisown
¶ The membership flag
-
static