OCC.BRepTopAdaptor module

class OCC.BRepTopAdaptor.BRepTopAdaptor_DataMapIteratorOfMapOfShapeTool(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (BRepTopAdaptor_MapOfShapeTool &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:BRepTopAdaptor_Tool
thisown

The membership flag

class OCC.BRepTopAdaptor.BRepTopAdaptor_DataMapNodeOfMapOfShapeTool(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BRepTopAdaptor_DataMapNodeOfMapOfShapeTool_GetHandle(BRepTopAdaptor_DataMapNodeOfMapOfShapeTool self) -> Handle_BRepTopAdaptor_DataMapNodeOfMapOfShapeTool

Key()
Return type:TopoDS_Shape
Value()
Return type:BRepTopAdaptor_Tool
thisown

The membership flag

class OCC.BRepTopAdaptor.BRepTopAdaptor_FClass2d(*args)

Bases: object

Copy()
Parameters:Other (BRepTopAdaptor_FClass2d &) –
Return type:BRepTopAdaptor_FClass2d
Destroy()
Return type:None
Perform()
Parameters:
  • Puv (gp_Pnt2d) –
  • RecadreOnPeriodic (bool) – default value is Standard_True
  • Puv
  • RecadreOnPeriodic – default value is Standard_True
Return type:

TopAbs_State

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:
  • Puv (gp_Pnt2d) –
  • Tol (float) –
  • RecadreOnPeriodic (bool) – default value is Standard_True
Return type:

TopAbs_State

  • 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:
  • Puv (gp_Pnt2d) –
  • Tol (float) –
  • RecadreOnPeriodic (bool) – default value is Standard_True
Return type:

TopAbs_State

thisown

The membership flag

class OCC.BRepTopAdaptor.BRepTopAdaptor_HVertex(*args)

Bases: OCC.Adaptor3d.Adaptor3d_HVertex

ChangeVertex()
Return type:TopoDS_Vertex
GetHandle()

BRepTopAdaptor_HVertex_GetHandle(BRepTopAdaptor_HVertex self) -> Handle_BRepTopAdaptor_HVertex

Vertex()
Return type:TopoDS_Vertex
thisown

The membership flag

class OCC.BRepTopAdaptor.BRepTopAdaptor_MapOfShapeTool(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (BRepTopAdaptor_MapOfShapeTool &) –
Return type:BRepTopAdaptor_MapOfShapeTool
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (BRepTopAdaptor_Tool &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:BRepTopAdaptor_Tool
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:BRepTopAdaptor_Tool
Find1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
IsBound()
Parameters:K (TopoDS_Shape &) –
Return type:bool
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
Set()
Parameters:Other (BRepTopAdaptor_MapOfShapeTool &) –
Return type:BRepTopAdaptor_MapOfShapeTool
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class OCC.BRepTopAdaptor.BRepTopAdaptor_Tool(*args)

Bases: object

Destroy()
Return type:None
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:

None

Return type:

None

SetTopolTool()
Parameters:TT (Handle_BRepTopAdaptor_TopolTool &) –
Return type:None
thisown

The membership flag

class OCC.BRepTopAdaptor.BRepTopAdaptor_TopolTool(*args)

Bases: OCC.Adaptor3d.Adaptor3d_TopolTool

Classify()
Parameters:
  • P2d (gp_Pnt2d) –
  • Tol (float) –
  • RecadreOnPeriodic (bool) – default value is Standard_True
  • P2d
  • Tol
  • RecadreOnPeriodic – default value is Standard_True
Return type:

TopAbs_State

Return type:

TopAbs_State

Destroy()
Return type:None
GetHandle()

BRepTopAdaptor_TopolTool_GetHandle(BRepTopAdaptor_TopolTool self) -> Handle_BRepTopAdaptor_TopolTool

Initialize()
Return type:

void

Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • Curve (Handle_Adaptor2d_HCurve2d &) –
Return type:

void

Return type:

void

IsThePointOn()
  • see the code for specifications)
Parameters:
  • P2d (gp_Pnt2d) –
  • Tol (float) –
  • RecadreOnPeriodic (bool) – default value is Standard_True
Return type:

bool

  • see the code for specifications)
Parameters:
  • P2d (gp_Pnt2d) –
  • Tol (float) –
  • RecadreOnPeriodic (bool) – default value is Standard_True
Return type:

bool

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 OCC.BRepTopAdaptor.Handle_BRepTopAdaptor_DataMapNodeOfMapOfShapeTool(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.BRepTopAdaptor.Handle_BRepTopAdaptor_HVertex(*args)

Bases: OCC.Adaptor3d.Handle_Adaptor3d_HVertex

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.BRepTopAdaptor.Handle_BRepTopAdaptor_TopolTool(*args)

Bases: OCC.Adaptor3d.Handle_Adaptor3d_TopolTool

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.BRepTopAdaptor.SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()