OCC.Core.BRepTopAdaptor module¶
BRepTopAdaptor module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breptopadaptor.html
-
class
BRepTopAdaptor_FClass2d
(*args)¶ Bases:
object
- Parameters
F –
- type F
TopoDS_Face
- param Tol
- type Tol
float
- rtype
None
-
Copy
()¶ - Parameters
Other –
- type Other
BRepTopAdaptor_FClass2d
- rtype
BRepTopAdaptor_FClass2d
-
Perform
()¶ - Parameters
Puv –
- type Puv
gp_Pnt2d
- param RecadreOnPeriodic
default value is Standard_True
- type RecadreOnPeriodic
bool
- rtype
TopAbs_State
-
PerformInfinitePoint
()¶ - Return type
TopAbs_State
-
Set
()¶ - Parameters
Other –
- type Other
BRepTopAdaptor_FClass2d
- rtype
BRepTopAdaptor_FClass2d
-
TestOnRestriction
()¶ - Test a point with +- an offset (Tol) and returns On if some points are OUT an some are IN (Caution: Internal use . see the code for more details)
- param Puv
- type Puv
gp_Pnt2d
- param Tol
- type Tol
float
- param RecadreOnPeriodic
default value is Standard_True
- type RecadreOnPeriodic
bool
- rtype
TopAbs_State
-
property
thisown
¶ The membership flag
-
class
BRepTopAdaptor_HVertex
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_HVertex
- Parameters
Vtx –
- type Vtx
TopoDS_Vertex
- param Curve
- type Curve
BRepAdaptor_HCurve2d
- rtype
None
-
ChangeVertex
()¶ - Return type
-
static
DownCast
(t)¶
-
Vertex
()¶ - Return type
-
property
thisown
¶ The membership flag
-
class
BRepTopAdaptor_MapOfShapeTool
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BRepTopAdaptor_Tool
(*args)¶ Bases:
object
- Return type
None:param F: :type F: TopoDS_Face :param Tol2d: :type Tol2d: float :rtype: None:param Surface: :type Surface: Adaptor3d_HSurface :param Tol2d: :type Tol2d: float :rtype: None
-
GetSurface
()¶ - Return type
opencascade::handle<Adaptor3d_HSurface>
-
GetTopolTool
()¶ - Return type
opencascade::handle<BRepTopAdaptor_TopolTool>
-
Init
()¶ - Parameters
F –
- type F
TopoDS_Face
- param Tol2d
- type Tol2d
float
- rtype
None:param Surface:
- type Surface
Adaptor3d_HSurface
- param Tol2d
- type Tol2d
float
- rtype
None
-
SetTopolTool
()¶ - Parameters
TT –
- type TT
BRepTopAdaptor_TopolTool
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BRepTopAdaptor_TopolTool
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_TopolTool
- Return type
None:param Surface: :type Surface: Adaptor3d_HSurface :rtype: None
-
static
DownCast
(t)¶
-
Initialize
()¶ - Return type
void:param S: :type S: Adaptor3d_HSurface :rtype: void:param Curve: :type Curve: Adaptor2d_HCurve2d :rtype: 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* 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
Adaptor3d_HVertex
- rtype
TopAbs_Orientation
-
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
-
property
thisown
¶ The membership flag