OCC.Core.GeomEvaluator module¶
GeomEvaluator module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomevaluator.html
-
class
GeomEvaluator_Curve
(*args, **kwargs)¶ Bases:
OCC.Core.Standard.Standard_Transient
Empty constructor
- Return type
None* Copy constructor – does nothing
- Parameters
& (Standard_Transient) –
- Return type
-
D0
()¶ - Value of 3D curve
- param theU
- type theU
float
- param theValue
- type theValue
gp_Pnt
- rtype
None
-
D1
()¶ - Value and first derivatives of curve
- param theU
- type theU
float
- param theValue
- type theValue
gp_Pnt
- param theD1
- type theD1
gp_Vec
- rtype
None
-
D2
()¶ - Value, first and second derivatives of curve
- param theU
- type theU
float
- param theValue
- type theValue
gp_Pnt
- param theD1
- type theD1
gp_Vec
- param theD2
- type theD2
gp_Vec
- rtype
None
-
D3
()¶ - Value, first, second and third derivatives of curve
- param theU
- type theU
float
- param theValue
- type theValue
gp_Pnt
- param theD1
- type theD1
gp_Vec
- param theD2
- type theD2
gp_Vec
- param theD3
- type theD3
gp_Vec
- rtype
None
-
DN
()¶ - Calculates N-th derivatives of curve, where N = theDerU. Raises if N < 1
- param theU
- type theU
float
- param theDerU
- type theDerU
int
- rtype
gp_Vec
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
GeomEvaluator_OffsetCurve
(*args)¶ Bases:
OCC.Core.GeomEvaluator.GeomEvaluator_Curve
- Initialize evaluator by curve
- param theBase
- type theBase
Geom_Curve
- param theOffset
- type theOffset
float
- param theDirection
- type theDirection
gp_Dir
- rtype
None* Initialize evaluator by curve adaptor
- param theBase
- type theBase
GeomAdaptor_HCurve
- param theOffset
- type theOffset
float
- param theDirection
- type theDirection
gp_Dir
- rtype
None
-
D0
()¶ - Value of curve
- param theU
- type theU
float
- param theValue
- type theValue
gp_Pnt
- rtype
None
-
D1
()¶ - Value and first derivatives of curve
- param theU
- type theU
float
- param theValue
- type theValue
gp_Pnt
- param theD1
- type theD1
gp_Vec
- rtype
None
-
D2
()¶ - Value, first and second derivatives of curve
- param theU
- type theU
float
- param theValue
- type theValue
gp_Pnt
- param theD1
- type theD1
gp_Vec
- param theD2
- type theD2
gp_Vec
- rtype
None
-
D3
()¶ - Value, first, second and third derivatives of curve
- param theU
- type theU
float
- param theValue
- type theValue
gp_Pnt
- param theD1
- type theD1
gp_Vec
- param theD2
- type theD2
gp_Vec
- param theD3
- type theD3
gp_Vec
- rtype
None
-
DN
()¶ - Calculates N-th derivatives of curve, where N = theDeriv. Raises if N < 1
- param theU
- type theU
float
- param theDeriv
- type theDeriv
int
- rtype
gp_Vec
-
static
DownCast
(t)¶
-
SetOffsetDirection
()¶ - Parameters
theDirection –
- type theDirection
gp_Dir
- rtype
None
-
SetOffsetValue
()¶ - Change the offset value
- param theOffset
- type theOffset
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
GeomEvaluator_OffsetSurface
(*args)¶ Bases:
OCC.Core.GeomEvaluator.GeomEvaluator_Surface
- Initialize evaluator by surface
- param theBase
- type theBase
Geom_Surface
- param theOffset
- type theOffset
float
- param theOscSurf
default value is opencascade::handle<Geom_OsculatingSurface>()
- type theOscSurf
Geom_OsculatingSurface
- rtype
None* Initialize evaluator by surface adaptor
- param theBase
- type theBase
GeomAdaptor_HSurface
- param theOffset
- type theOffset
float
- param theOscSurf
default value is opencascade::handle<Geom_OsculatingSurface>()
- type theOscSurf
Geom_OsculatingSurface
- rtype
None
-
D0
()¶ - Value of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- rtype
None
-
D1
()¶ - Value and first derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- rtype
None
-
D2
()¶ - Value, first and second derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- param theD2U
- type theD2U
gp_Vec
- param theD2V
- type theD2V
gp_Vec
- param theD2UV
- type theD2UV
gp_Vec
- rtype
None
-
D3
()¶ - Value, first, second and third derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- param theD2U
- type theD2U
gp_Vec
- param theD2V
- type theD2V
gp_Vec
- param theD2UV
- type theD2UV
gp_Vec
- param theD3U
- type theD3U
gp_Vec
- param theD3V
- type theD3V
gp_Vec
- param theD3UUV
- type theD3UUV
gp_Vec
- param theD3UVV
- type theD3UVV
gp_Vec
- rtype
None
-
DN
()¶ - Calculates N-th derivatives of surface, where N = theDerU + theDerV. //! Raises if N < 1 or theDerU < 0 or theDerV < 0
- param theU
- type theU
float
- param theV
- type theV
float
- param theDerU
- type theDerU
int
- param theDerV
- type theDerV
int
- rtype
gp_Vec
-
static
DownCast
(t)¶
-
SetOffsetValue
()¶ - Change the offset value
- param theOffset
- type theOffset
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
GeomEvaluator_Surface
(*args, **kwargs)¶ Bases:
OCC.Core.Standard.Standard_Transient
Empty constructor
- Return type
None* Copy constructor – does nothing
- Parameters
& (Standard_Transient) –
- Return type
-
D0
()¶ - Value of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- rtype
None
-
D1
()¶ - Value and first derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- rtype
None
-
D2
()¶ - Value, first and second derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- param theD2U
- type theD2U
gp_Vec
- param theD2V
- type theD2V
gp_Vec
- param theD2UV
- type theD2UV
gp_Vec
- rtype
None
-
D3
()¶ - Value, first, second and third derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- param theD2U
- type theD2U
gp_Vec
- param theD2V
- type theD2V
gp_Vec
- param theD2UV
- type theD2UV
gp_Vec
- param theD3U
- type theD3U
gp_Vec
- param theD3V
- type theD3V
gp_Vec
- param theD3UUV
- type theD3UUV
gp_Vec
- param theD3UVV
- type theD3UVV
gp_Vec
- rtype
None
-
DN
()¶ - Calculates N-th derivatives of surface, where N = theDerU + theDerV. //! Raises if N < 1 or theDerU < 0 or theDerV < 0
- param theU
- type theU
float
- param theV
- type theV
float
- param theDerU
- type theDerU
int
- param theDerV
- type theDerV
int
- rtype
gp_Vec
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
GeomEvaluator_SurfaceOfExtrusion
(*args)¶ Bases:
OCC.Core.GeomEvaluator.GeomEvaluator_Surface
- Initialize evaluator by surface
- param theBase
- type theBase
Geom_Curve
- param theExtrusionDir
- type theExtrusionDir
gp_Dir
- rtype
None* Initialize evaluator by surface adaptor
- param theBase
- type theBase
Adaptor3d_HCurve
- param theExtrusionDir
- type theExtrusionDir
gp_Dir
- rtype
None
-
D0
()¶ - Value of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- rtype
None
-
D1
()¶ - Value and first derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- rtype
None
-
D2
()¶ - Value, first and second derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- param theD2U
- type theD2U
gp_Vec
- param theD2V
- type theD2V
gp_Vec
- param theD2UV
- type theD2UV
gp_Vec
- rtype
None
-
D3
()¶ - Value, first, second and third derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- param theD2U
- type theD2U
gp_Vec
- param theD2V
- type theD2V
gp_Vec
- param theD2UV
- type theD2UV
gp_Vec
- param theD3U
- type theD3U
gp_Vec
- param theD3V
- type theD3V
gp_Vec
- param theD3UUV
- type theD3UUV
gp_Vec
- param theD3UVV
- type theD3UVV
gp_Vec
- rtype
None
-
DN
()¶ - Calculates N-th derivatives of surface, where N = theDerU + theDerV. //! Raises if N < 1 or theDerU < 0 or theDerV < 0
- param theU
- type theU
float
- param theV
- type theV
float
- param theDerU
- type theDerU
int
- param theDerV
- type theDerV
int
- rtype
gp_Vec
-
static
DownCast
(t)¶
-
SetDirection
()¶ - /Changes the direction of extrusion
- param theDirection
- type theDirection
gp_Dir
- rtype
None
-
property
thisown
¶ The membership flag
-
class
GeomEvaluator_SurfaceOfRevolution
(*args)¶ Bases:
OCC.Core.GeomEvaluator.GeomEvaluator_Surface
- Initialize evaluator by revolved curve, the axis of revolution and the location
- param theBase
- type theBase
Geom_Curve
- param theRevolDir
- type theRevolDir
gp_Dir
- param theRevolLoc
- type theRevolLoc
gp_Pnt
- rtype
None* Initialize evaluator by adaptor of the revolved curve, the axis of revolution and the location
- param theBase
- type theBase
Adaptor3d_HCurve
- param theRevolDir
- type theRevolDir
gp_Dir
- param theRevolLoc
- type theRevolLoc
gp_Pnt
- rtype
None
-
D0
()¶ - Value of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- rtype
None
-
D1
()¶ - Value and first derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- rtype
None
-
D2
()¶ - Value, first and second derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- param theD2U
- type theD2U
gp_Vec
- param theD2V
- type theD2V
gp_Vec
- param theD2UV
- type theD2UV
gp_Vec
- rtype
None
-
D3
()¶ - Value, first, second and third derivatives of surface
- param theU
- type theU
float
- param theV
- type theV
float
- param theValue
- type theValue
gp_Pnt
- param theD1U
- type theD1U
gp_Vec
- param theD1V
- type theD1V
gp_Vec
- param theD2U
- type theD2U
gp_Vec
- param theD2V
- type theD2V
gp_Vec
- param theD2UV
- type theD2UV
gp_Vec
- param theD3U
- type theD3U
gp_Vec
- param theD3V
- type theD3V
gp_Vec
- param theD3UUV
- type theD3UUV
gp_Vec
- param theD3UVV
- type theD3UVV
gp_Vec
- rtype
None
-
DN
()¶ - Calculates N-th derivatives of surface, where N = theDerU + theDerV. //! Raises if N < 1 or theDerU < 0 or theDerV < 0
- param theU
- type theU
float
- param theV
- type theV
float
- param theDerU
- type theDerU
int
- param theDerV
- type theDerV
int
- rtype
gp_Vec
-
static
DownCast
(t)¶
-
SetAxis
()¶ - Change the axis of revolution
- param theAxis
- type theAxis
gp_Ax1
- rtype
None
-
SetDirection
()¶ - Change direction of the axis of revolution
- param theDirection
- type theDirection
gp_Dir
- rtype
None
-
SetLocation
()¶ - Change location of the axis of revolution
- param theLocation
- type theLocation
gp_Pnt
- rtype
None
-
property
thisown
¶ The membership flag