OCC.Core.Adaptor3d module¶
Adaptor3d module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_adaptor3d.html
-
class
Adaptor3d_Curve
¶ Bases:
object
-
BSpline
()¶ - Return type
opencascade::handle<Geom_BSplineCurve>
-
Bezier
()¶ - Return type
opencascade::handle<Geom_BezierCurve>
-
Continuity
()¶ - Return type
GeomAbs_Shape
-
D0
()¶ - Computes the point of parameter U on the curve.
- param U
- type U
float
- param P
- type P
gp_Pnt
- rtype
void
-
D1
()¶ - Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
- param U
- type U
float
- param P
- type P
gp_Pnt
- param V
- type V
gp_Vec
- rtype
void
-
D2
()¶ - Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the current interval is not C2.
- param U
- type U
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
void
-
D3
()¶ - Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
- param U
- type U
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- param V3
- type V3
gp_Vec
- rtype
void
-
DN
()¶ - The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
- param U
- type U
float
- param N
- type N
int
- rtype
gp_Vec
-
GetType
()¶ - Returns the type of the curve in the current intervalLine, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
- rtype
GeomAbs_CurveType
-
Intervals
()¶ - Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
- param T
- type T
TColStd_Array1OfReal
- param S
- type S
GeomAbs_Shape
- rtype
void
-
NbIntervals
()¶ - Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S>
- param S
- type S
GeomAbs_Shape
- rtype
int
-
OffsetCurve
()¶ - Return type
opencascade::handle<Geom_OffsetCurve>
-
Resolution
()¶ - Returns the parametric resolution corresponding to the real space resolution <R3d>.
- param R3d
- type R3d
float
- rtype
float
-
Trim
()¶ - Returns a curve equivalent of <self> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>
- param First
- type First
float
- param Last
- type Last
float
- param Tol
- type Tol
float
- rtype
opencascade::handle<Adaptor3d_HCurve>
-
Value
()¶ - Computes the point of parameter U on the curve.
- param U
- type U
float
- rtype
gp_Pnt
-
property
thisown
¶ The membership flag
-
-
class
Adaptor3d_CurveOnSurface
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_Curve
- Return type
None:param S: :type S: Adaptor3d_HSurface :rtype: None* Creates a CurveOnSurface from the 2d curve <C> and the surface <S>. :param C: :type C: Adaptor2d_HCurve2d :param S: :type S: Adaptor3d_HSurface :rtype: None
-
ChangeCurve
()¶ - Return type
opencascade::handle<Adaptor2d_HCurve2d>
-
ChangeSurface
()¶ - Return type
opencascade::handle<Adaptor3d_HSurface>
-
GetCurve
()¶ - Return type
opencascade::handle<Adaptor2d_HCurve2d>
-
GetSurface
()¶ - Return type
opencascade::handle<Adaptor3d_HSurface>
-
Load
()¶ - Changes the surface.
- param S
- type S
Adaptor3d_HSurface
- rtype
None* Changes the 2d curve.
- param C
- type C
Adaptor2d_HCurve2d
- rtype
None* Load both curve and surface.
- param C
- type C
Adaptor2d_HCurve2d
- param S
- type S
Adaptor3d_HSurface
- rtype
None
-
property
thisown
¶ The membership flag
-
class
Adaptor3d_HCurve
(*args, **kwargs)¶ Bases:
OCC.Core.Standard.Standard_Transient
Empty constructor
- Return type
None* Copy constructor – does nothing
- Parameters
& (Standard_Transient) –
- Return type
-
BSpline
()¶ - Return type
opencascade::handle<Geom_BSplineCurve>
-
Bezier
()¶ - Return type
opencascade::handle<Geom_BezierCurve>
-
Continuity
()¶ - Return type
GeomAbs_Shape
-
Curve
()¶ - Returns a pointer to the Curve inside the HCurve.
- rtype
Adaptor3d_Curve
-
D0
()¶ - Parameters
U –
- type U
float
- param P
- type P
gp_Pnt
- rtype
None
-
D1
()¶ - Parameters
U –
- type U
float
- param P
- type P
gp_Pnt
- param V
- type V
gp_Vec
- rtype
None
-
D2
()¶ - Parameters
U –
- type U
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
None
-
D3
()¶ - Parameters
U –
- type U
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- param V3
- type V3
gp_Vec
- rtype
None
-
DN
()¶ - Parameters
U –
- type U
float
- param N
- type N
int
- rtype
gp_Vec
-
static
DownCast
(t)¶
-
GetCurve
()¶ - Returns a pointer to the Curve inside the HCurve.
- rtype
Adaptor3d_Curve
-
GetType
()¶ - Return type
GeomAbs_CurveType
-
Intervals
()¶ - Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
- param T
- type T
TColStd_Array1OfReal
- param S
- type S
GeomAbs_Shape
- rtype
None
-
NbIntervals
()¶ - Parameters
S –
- type S
GeomAbs_Shape
- rtype
int
-
OffsetCurve
()¶ - Return type
opencascade::handle<Geom_OffsetCurve>
-
Resolution
()¶ - Parameters
R3d –
- type R3d
float
- rtype
float
-
Trim
()¶ - Returns a curve equivalent of <self> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. //! If <First> >= <Last>
- param First
- type First
float
- param Last
- type Last
float
- param Tol
- type Tol
float
- rtype
opencascade::handle<Adaptor3d_HCurve>
-
Value
()¶ - Parameters
U –
- type U
float
- rtype
gp_Pnt
-
property
thisown
¶ The membership flag
-
class
Adaptor3d_HCurveOnSurface
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_HCurve
- Creates an empty GenHCurve.
- rtype
None* Creates a GenHCurve from a Curve
- param C
- type C
Adaptor3d_CurveOnSurface
- rtype
None
-
ChangeCurve
()¶ - Returns the curve used to create the GenHCurve.
- rtype
Adaptor3d_CurveOnSurface
-
static
DownCast
(t)¶
-
Set
()¶ - Sets the field of the GenHCurve.
- param C
- type C
Adaptor3d_CurveOnSurface
- rtype
None
-
property
thisown
¶ The membership flag
-
class
Adaptor3d_HIsoCurve
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_HCurve
- Creates an empty GenHCurve.
- rtype
None* Creates a GenHCurve from a Curve
- param C
- type C
Adaptor3d_IsoCurve
- rtype
None
-
ChangeCurve
()¶ - Returns the curve used to create the GenHCurve.
- rtype
Adaptor3d_IsoCurve
-
static
DownCast
(t)¶
-
Set
()¶ - Sets the field of the GenHCurve.
- param C
- type C
Adaptor3d_IsoCurve
- rtype
None
-
property
thisown
¶ The membership flag
-
class
Adaptor3d_HSurface
(*args, **kwargs)¶ Bases:
OCC.Core.Standard.Standard_Transient
Empty constructor
- Return type
None* Copy constructor – does nothing
- Parameters
& (Standard_Transient) –
- Return type
-
BSpline
()¶ - Return type
opencascade::handle<Geom_BSplineSurface>
-
BasisCurve
()¶ - Return type
opencascade::handle<Adaptor3d_HCurve>
-
BasisSurface
()¶ - Return type
opencascade::handle<Adaptor3d_HSurface>
-
Bezier
()¶ - Return type
opencascade::handle<Geom_BezierSurface>
-
Cylinder
()¶ - Return type
-
D0
()¶ - Parameters
U –
- type U
float
- param V
- type V
float
- param P
- type P
gp_Pnt
- rtype
None
-
D1
()¶ - Parameters
U –
- type U
float
- param V
- type V
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- rtype
None
-
D2
()¶ - Parameters
U –
- type U
float
- param V
- type V
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- param D2U
- type D2U
gp_Vec
- param D2V
- type D2V
gp_Vec
- param D2UV
- type D2UV
gp_Vec
- rtype
None
-
D3
()¶ - Parameters
U –
- type U
float
- param V
- type V
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- param D2U
- type D2U
gp_Vec
- param D2V
- type D2V
gp_Vec
- param D2UV
- type D2UV
gp_Vec
- param D3U
- type D3U
gp_Vec
- param D3V
- type D3V
gp_Vec
- param D3UUV
- type D3UUV
gp_Vec
- param D3UVV
- type D3UVV
gp_Vec
- rtype
None
-
DN
()¶ - Parameters
U –
- type U
float
- param V
- type V
float
- param Nu
- type Nu
int
- param Nv
- type Nv
int
- rtype
gp_Vec
-
static
DownCast
(t)¶
-
GetType
()¶ - Return type
GeomAbs_SurfaceType
-
NbUIntervals
()¶ - Parameters
S –
- type S
GeomAbs_Shape
- rtype
int
-
NbVIntervals
()¶ - Parameters
S –
- type S
GeomAbs_Shape
- rtype
int
-
Surface
()¶ - Returns a reference to the Surface inside the HSurface.
- rtype
Adaptor3d_Surface
-
UContinuity
()¶ - Return type
GeomAbs_Shape
-
UIntervals
()¶ - Parameters
T –
- type T
TColStd_Array1OfReal
- param S
- type S
GeomAbs_Shape
- rtype
None
-
UResolution
()¶ - Parameters
R3d –
- type R3d
float
- rtype
float
-
UTrim
()¶ - Parameters
First –
- type First
float
- param Last
- type Last
float
- param Tol
- type Tol
float
- rtype
opencascade::handle<Adaptor3d_HSurface>
-
VContinuity
()¶ - Return type
GeomAbs_Shape
-
VIntervals
()¶ - Parameters
T –
- type T
TColStd_Array1OfReal
- param S
- type S
GeomAbs_Shape
- rtype
None
-
VResolution
()¶ - Parameters
R3d –
- type R3d
float
- rtype
float
-
VTrim
()¶ - Parameters
First –
- type First
float
- param Last
- type Last
float
- param Tol
- type Tol
float
- rtype
opencascade::handle<Adaptor3d_HSurface>
-
Value
()¶ - Parameters
U –
- type U
float
- param V
- type V
float
- rtype
gp_Pnt
-
property
thisown
¶ The membership flag
-
class
Adaptor3d_HSurfaceTool
¶ Bases:
object
-
static
AxeOfRevolution
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
gp_Ax1
-
static
BSpline
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
opencascade::handle<Geom_BSplineSurface>
-
static
BasisCurve
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
opencascade::handle<Adaptor3d_HCurve>
-
static
BasisSurface
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
opencascade::handle<Adaptor3d_HSurface>
-
static
Bezier
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
opencascade::handle<Geom_BezierSurface>
-
static
Cone
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
gp_Cone
-
static
Cylinder
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
gp_Cylinder
-
static
D0
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param u
- type u
float
- param v
- type v
float
- param P
- type P
gp_Pnt
- rtype
None
-
static
D1
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param u
- type u
float
- param v
- type v
float
- param P
- type P
gp_Pnt
- param D1u
- type D1u
gp_Vec
- param D1v
- type D1v
gp_Vec
- rtype
None
-
static
D2
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param u
- type u
float
- param v
- type v
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- param D2U
- type D2U
gp_Vec
- param D2V
- type D2V
gp_Vec
- param D2UV
- type D2UV
gp_Vec
- rtype
None
-
static
D3
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param u
- type u
float
- param v
- type v
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- param D2U
- type D2U
gp_Vec
- param D2V
- type D2V
gp_Vec
- param D2UV
- type D2UV
gp_Vec
- param D3U
- type D3U
gp_Vec
- param D3V
- type D3V
gp_Vec
- param D3UUV
- type D3UUV
gp_Vec
- param D3UVV
- type D3UVV
gp_Vec
- rtype
None
-
static
DN
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param u
- type u
float
- param v
- type v
float
- param Nu
- type Nu
int
- param Nv
- type Nv
int
- rtype
gp_Vec
-
static
Direction
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
gp_Dir
-
static
FirstUParameter
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
float
-
static
FirstVParameter
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
float
-
static
GetType
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
GeomAbs_SurfaceType
-
static
IsUClosed
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
bool
-
static
IsUPeriodic
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
bool
-
static
IsVClosed
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
bool
-
static
IsVPeriodic
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
bool
-
static
LastUParameter
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
float
-
static
LastVParameter
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
float
-
static
NbSamplesU
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
int:param S:
- type S
Adaptor3d_HSurface
- param u1
- type u1
float
- param u2
- type u2
float
- rtype
int
-
static
NbSamplesV
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
int:param S:
- type S
Adaptor3d_HSurface
- param v1
- type v1
float
- param v2
- type v2
float
- rtype
int
-
static
NbUIntervals
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param Sh
- type Sh
GeomAbs_Shape
- rtype
int
-
static
NbVIntervals
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param Sh
- type Sh
GeomAbs_Shape
- rtype
int
-
static
OffsetValue
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
float
-
static
Plane
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
gp_Pln
-
static
Sphere
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
gp_Sphere
-
static
Torus
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
gp_Torus
-
static
UIntervals
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param T
- type T
TColStd_Array1OfReal
- param Sh
- type Sh
GeomAbs_Shape
- rtype
None
-
static
UPeriod
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
float
-
static
UResolution
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param R3d
- type R3d
float
- rtype
float
-
static
UTrim
()¶ - If <First> >= <Last>
- param S
- type S
Adaptor3d_HSurface
- param First
- type First
float
- param Last
- type Last
float
- param Tol
- type Tol
float
- rtype
opencascade::handle<Adaptor3d_HSurface>
-
static
VIntervals
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param T
- type T
TColStd_Array1OfReal
- param Sh
- type Sh
GeomAbs_Shape
- rtype
None
-
static
VPeriod
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- rtype
float
-
static
VResolution
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param R3d
- type R3d
float
- rtype
float
-
static
VTrim
()¶ - If <First> >= <Last>
- param S
- type S
Adaptor3d_HSurface
- param First
- type First
float
- param Last
- type Last
float
- param Tol
- type Tol
float
- rtype
opencascade::handle<Adaptor3d_HSurface>
-
static
Value
()¶ - Parameters
S –
- type S
Adaptor3d_HSurface
- param u
- type u
float
- param v
- type v
float
- rtype
gp_Pnt
-
property
thisown
¶ The membership flag
-
static
-
class
Adaptor3d_HVertex
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Return type
None:param P: :type P: gp_Pnt2d :param Ori: :type Ori: TopAbs_Orientation :param Resolution: :type Resolution: float :rtype: None
-
static
DownCast
(t)¶
-
IsSame
()¶ - Parameters
Other –
- type Other
Adaptor3d_HVertex
- rtype
bool
-
Orientation
()¶ - Return type
TopAbs_Orientation
-
Parameter
()¶ - Parameters
C –
- type C
Adaptor2d_HCurve2d
- rtype
float
-
Resolution
()¶ - Parametric resolution (2d).
- param C
- type C
Adaptor2d_HCurve2d
- rtype
float
-
property
thisown
¶ The membership flag
-
class
Adaptor3d_InterFunc
(*args)¶ Bases:
OCC.Core.math.math_FunctionWithDerivative
- build the function U(t)=FixVal if Fix =1 or V(t)=FixVal if Fix=2
- param C
- type C
Adaptor2d_HCurve2d
- param FixVal
- type FixVal
float
- param Fix
- type Fix
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
Adaptor3d_IsoCurve
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_Curve
- The iso is set to NoneIso.
- rtype
None* The surface is loaded. The iso is set to NoneIso.
- param S
- type S
Adaptor3d_HSurface
- rtype
None* Creates an IsoCurve curve. Iso defines the type (isoU or isoU) Param defines the value of the iso. The bounds of the iso are the bounds of the surface.
- param S
- type S
Adaptor3d_HSurface
- param Iso
- type Iso
GeomAbs_IsoType
- param Param
- type Param
float
- rtype
None* Create an IsoCurve curve. Iso defines the type (isoU or isov). Param defines the value of the iso. WFirst,WLast define the bounds of the iso.
- param S
- type S
Adaptor3d_HSurface
- param Iso
- type Iso
GeomAbs_IsoType
- param Param
- type Param
float
- param WFirst
- type WFirst
float
- param WLast
- type WLast
float
- rtype
None
-
Iso
()¶ - Return type
GeomAbs_IsoType
-
Load
()¶ - Changes the surface. The iso is reset to NoneIso.
- param S
- type S
Adaptor3d_HSurface
- rtype
None* Changes the iso on the current surface.
- param Iso
- type Iso
GeomAbs_IsoType
- param Param
- type Param
float
- rtype
None* Changes the iso on the current surface.
- param Iso
- type Iso
GeomAbs_IsoType
- param Param
- type Param
float
- param WFirst
- type WFirst
float
- param WLast
- type WLast
float
- rtype
None
-
Surface
()¶ - Return type
opencascade::handle<Adaptor3d_HSurface>
-
property
thisown
¶ The membership flag
-
class
Adaptor3d_Surface
¶ Bases:
object
-
BSpline
()¶ - Return type
opencascade::handle<Geom_BSplineSurface>
-
BasisCurve
()¶ - Return type
opencascade::handle<Adaptor3d_HCurve>
-
BasisSurface
()¶ - Return type
opencascade::handle<Adaptor3d_HSurface>
-
Bezier
()¶ - Return type
opencascade::handle<Geom_BezierSurface>
-
Cylinder
()¶ - Return type
-
D0
()¶ - Computes the point of parameters U,V on the surface.
- param U
- type U
float
- param V
- type V
float
- param P
- type P
gp_Pnt
- rtype
void
-
D1
()¶ - Computes the point and the first derivatives on the surface. Raised if the continuity of the current intervals is not C1.
- param U
- type U
float
- param V
- type V
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- rtype
void
-
D2
()¶ - Computes the point, the first and second derivatives on the surface. Raised if the continuity of the current intervals is not C2.
- param U
- type U
float
- param V
- type V
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- param D2U
- type D2U
gp_Vec
- param D2V
- type D2V
gp_Vec
- param D2UV
- type D2UV
gp_Vec
- rtype
void
-
D3
()¶ - Computes the point, the first, second and third derivatives on the surface. Raised if the continuity of the current intervals is not C3.
- param U
- type U
float
- param V
- type V
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- param D2U
- type D2U
gp_Vec
- param D2V
- type D2V
gp_Vec
- param D2UV
- type D2UV
gp_Vec
- param D3U
- type D3U
gp_Vec
- param D3V
- type D3V
gp_Vec
- param D3UUV
- type D3UUV
gp_Vec
- param D3UVV
- type D3UVV
gp_Vec
- rtype
void
-
DN
()¶ - Computes the derivative of order Nu in the direction U and Nv in the direction V at the point P(U, V). Raised if the current U interval is not not CNu and the current V interval is not CNv. Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
- param U
- type U
float
- param V
- type V
float
- param Nu
- type Nu
int
- param Nv
- type Nv
int
- rtype
gp_Vec
-
GetType
()¶ - Returns the type of the surfacePlane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface
- rtype
GeomAbs_SurfaceType
-
NbUIntervals
()¶ - Returns the number of U intervals for continuity <S>. May be one if UContinuity(me) >= <S>
- param S
- type S
GeomAbs_Shape
- rtype
int
-
NbVIntervals
()¶ - Returns the number of V intervals for continuity <S>. May be one if VContinuity(me) >= <S>
- param S
- type S
GeomAbs_Shape
- rtype
int
-
UContinuity
()¶ - Return type
GeomAbs_Shape
-
UIntervals
()¶ - Returns the intervals with the requested continuity in the U direction.
- param T
- type T
TColStd_Array1OfReal
- param S
- type S
GeomAbs_Shape
- rtype
void
-
UResolution
()¶ - Returns the parametric U resolution corresponding to the real space resolution <R3d>.
- param R3d
- type R3d
float
- rtype
float
-
UTrim
()¶ - Returns a surface trimmed in the U direction equivalent of <self> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>
- param First
- type First
float
- param Last
- type Last
float
- param Tol
- type Tol
float
- rtype
opencascade::handle<Adaptor3d_HSurface>
-
VContinuity
()¶ - Return type
GeomAbs_Shape
-
VIntervals
()¶ - Returns the intervals with the requested continuity in the V direction.
- param T
- type T
TColStd_Array1OfReal
- param S
- type S
GeomAbs_Shape
- rtype
void
-
VResolution
()¶ - Returns the parametric V resolution corresponding to the real space resolution <R3d>.
- param R3d
- type R3d
float
- rtype
float
-
VTrim
()¶ - Returns a surface trimmed in the V direction between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>
- param First
- type First
float
- param Last
- type Last
float
- param Tol
- type Tol
float
- rtype
opencascade::handle<Adaptor3d_HSurface>
-
Value
()¶ - Computes the point of parameters U,V on the surface.
- param U
- type U
float
- param V
- type V
float
- rtype
gp_Pnt
-
property
thisown
¶ The membership flag
-
-
class
Adaptor3d_TopolTool
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Return type
None:param Surface: :type Surface: Adaptor3d_HSurface :rtype: None
-
BSplSamplePnts
()¶ - compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces - is used in SamplePnts theDefl is a requred deflection theNUmin, theNVmin are minimal nb points for U and V.
- param theDefl
- type theDefl
float
- param theNUmin
- type theNUmin
int
- param theNVmin
- type theNVmin
int
- rtype
void
-
Classify
()¶ - Parameters
P –
- type P
gp_Pnt2d
- param Tol
- type Tol
float
- param ReacdreOnPeriodic
default value is Standard_True
- type ReacdreOnPeriodic
bool
- rtype
TopAbs_State
-
ComputeSamplePoints
()¶ - Return type
void
-
static
DownCast
(t)¶
-
Edge
()¶ - Return type
Standard_Address
-
Has3d
()¶ - answers if arcs and vertices may have 3d representations, so that we could use Tol3d and Pnt methods.
- rtype
bool
-
Identical
()¶ - Returns True if the vertices V1 and V2 are identical. This method does not take the orientation of the vertices in account.
- param V1
- type V1
Adaptor3d_HVertex
- param V2
- type V2
Adaptor3d_HVertex
- rtype
bool
-
Init
()¶ - Return type
void
-
InitVertexIterator
()¶ - Return type
void
-
Initialize
()¶ - Return type
void:param S: :type S: Adaptor3d_HSurface :rtype: void:param Curve: :type Curve: Adaptor2d_HCurve2d :rtype: void
-
IsThePointOn
()¶ - Parameters
P –
- type P
gp_Pnt2d
- param Tol
- type Tol
float
- param ReacdreOnPeriodic
default value is Standard_True
- type ReacdreOnPeriodic
bool
- rtype
bool
-
IsUniformSampling
()¶ - Returns true if provide uniform sampling of points.
- rtype
bool
-
NbSamples
()¶ - compute the sample-points for the intersections algorithms
- rtype
int
-
NbSamplesU
()¶ - compute the sample-points for the intersections algorithms
- rtype
int
-
NbSamplesV
()¶ - compute the sample-points for the intersections algorithms
- rtype
int
-
Next
()¶ - Return type
void
-
NextVertex
()¶ - Return type
void
-
Orientation
()¶ - If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a ‘real’ limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface.
- param C
- type C
Adaptor2d_HCurve2d
- rtype
TopAbs_Orientation* Returns the orientation of the vertex V. The vertex has been found with an exploration on a given arc. The orientation is the orientation of the vertex on this arc.
- param V
- type V
Adaptor3d_HVertex
- rtype
TopAbs_Orientation
-
Pnt
()¶ - returns 3d point of the vertex V
- param V
- type V
Adaptor3d_HVertex
- rtype
gp_Pnt
-
SamplePnts
()¶ - compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces. For other surfaces algorithm is the same as in method ComputeSamplePoints(), but only fill arrays of U and V sample parameters; theDefl is a requred deflection theNUmin, theNVmin are minimal nb points for U and V.
- param theDefl
- type theDefl
float
- param theNUmin
- type theNUmin
int
- param theNVmin
- type theNVmin
int
- rtype
void
-
SamplePoint
()¶ - Parameters
Index –
- type Index
int
- param P2d
- type P2d
gp_Pnt2d
- param P3d
- type P3d
gp_Pnt
- rtype
void
-
Tol3d
()¶ - returns 3d tolerance of the arc C
- param C
- type C
Adaptor2d_HCurve2d
- rtype
float* returns 3d tolerance of the vertex V
- param V
- type V
Adaptor3d_HVertex
- rtype
float
-
UParameters
()¶ - return the set of U parameters on the surface obtained by the method SamplePnts
- param theArray
- type theArray
TColStd_Array1OfReal
- rtype
None
-
VParameters
()¶ - return the set of V parameters on the surface obtained by the method SamplePnts
- param theArray
- type theArray
TColStd_Array1OfReal
- rtype
None
-
Value
()¶ - Return type
opencascade::handle<Adaptor2d_HCurve2d>
-
Vertex
()¶ - Return type
opencascade::handle<Adaptor3d_HVertex>
-
property
thisown
¶ The membership flag