OCC.BRepTopAdaptor module¶
* Class2d : Low level algorithm for 2d classification* FClass2d : 2d classification on a Face from TopoDSA face is first loaded and then everyclassification is computed as a rejection.(call BRepClass algorithms if necessary,ie, when the rejection is not efficient)*** TopolTool : Several tools used by the intersectionalgorithm and topology.-Level: Internal
-
class
BRepTopAdaptor_DataMapIteratorOfMapOfShapeTool
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (BRepTopAdaptor_MapOfShapeTool &) – Return type: None -
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: BRepTopAdaptor_Tool
-
thisown
¶ The membership flag
-
-
class
BRepTopAdaptor_DataMapNodeOfMapOfShapeTool
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (TopoDS_Shape &) –
- I (BRepTopAdaptor_Tool &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: BRepTopAdaptor_Tool
-
thisown
¶ The membership flag
-
class
BRepTopAdaptor_FClass2d
(*args)¶ Bases:
object
Parameters: - F (TopoDS_Face &) –
- Tol (float) –
Return type: -
Copy
()¶ Parameters: Other (BRepTopAdaptor_FClass2d &) – Return type: BRepTopAdaptor_FClass2d
-
Perform
()¶ Parameters: Return type: TopAbs_State
-
PerformInfinitePoint
()¶ Return type: TopAbs_State
-
Set
()¶ Parameters: Other (BRepTopAdaptor_FClass2d &) – Return type: 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)
Parameters: Return type: TopAbs_State
-
thisown
¶ The membership flag
-
class
BRepTopAdaptor_HVertex
(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_HVertex
Parameters: - Vtx (TopoDS_Vertex &) –
- Curve (Handle_BRepAdaptor_HCurve2d &) –
Return type: -
ChangeVertex
()¶ Return type: TopoDS_Vertex
-
GetHandle
()¶
-
Vertex
()¶ Return type: TopoDS_Vertex
-
thisown
¶ The membership flag
-
class
BRepTopAdaptor_MapOfShapeTool
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: NbBuckets (int) – default value is 1 Return type: None -
Assign
()¶ Parameters: Other (BRepTopAdaptor_MapOfShapeTool &) – Return type: BRepTopAdaptor_MapOfShapeTool
-
ChangeFind
()¶ Parameters: K (TopoDS_Shape &) – Return type: BRepTopAdaptor_Tool
-
ChangeFind1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TopoDS_Shape &) – Return type: BRepTopAdaptor_Tool
-
Find1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepTopAdaptor_MapOfShapeTool &) – Return type: BRepTopAdaptor_MapOfShapeTool
-
thisown
¶ The membership flag
-
-
class
BRepTopAdaptor_Tool
(*args)¶ Bases:
object
Return type: Parameters: - F (TopoDS_Face &) –
- Tol2d (float) –
- Surface (Handle_Adaptor3d_HSurface &) –
- Tol2d –
Return type: Return type: -
GetSurface
()¶ Return type: Handle_Adaptor3d_HSurface
-
GetTopolTool
()¶ Return type: Handle_BRepTopAdaptor_TopolTool
-
Init
()¶ Parameters: - F (TopoDS_Face &) –
- Tol2d (float) –
- Surface (Handle_Adaptor3d_HSurface &) –
- Tol2d –
Return type: Return type:
-
thisown
¶ The membership flag
-
class
BRepTopAdaptor_TopolTool
(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_TopolTool
Return type: None Parameters: Surface (Handle_Adaptor3d_HSurface &) – Return type: None -
GetHandle
()¶
-
Initialize
()¶ Return type: void
Parameters: - S (Handle_Adaptor3d_HSurface &) –
- Curve (Handle_Adaptor2d_HCurve2d &) –
Return type: void
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.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: 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.
Parameters: C (Handle_Adaptor3d_HVertex &) – Return type: TopAbs_Orientation
-
Tol3d
()¶ - returns 3d tolerance of the arc C
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: float - returns 3d tolerance of the vertex V
Parameters: V (Handle_Adaptor3d_HVertex &) – Return type: float
-
thisown
¶ The membership flag
-
-
class
Handle_BRepTopAdaptor_DataMapNodeOfMapOfShapeTool
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepTopAdaptor_HVertex
(*args)¶ Bases:
OCC.Adaptor3d.Handle_Adaptor3d_HVertex
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepTopAdaptor_TopolTool
(*args)¶ Bases:
OCC.Adaptor3d.Handle_Adaptor3d_TopolTool
-
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
()¶
-
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases