OCC.TopTools module

class OCC.TopTools.Handle_TopTools_DataMapNodeOfDataMapOfIntegerListOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_DataMapNodeOfDataMapOfIntegerShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_DataMapNodeOfDataMapOfOrientedShapeInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_DataMapNodeOfDataMapOfOrientedShapeShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_DataMapNodeOfDataMapOfShapeInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_DataMapNodeOfDataMapOfShapeListOfInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_DataMapNodeOfDataMapOfShapeListOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_DataMapNodeOfDataMapOfShapeReal(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_DataMapNodeOfDataMapOfShapeSequenceOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_DataMapNodeOfDataMapOfShapeShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_HArray1OfListOfShape(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.TopTools.Handle_TopTools_HArray1OfShape(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.TopTools.Handle_TopTools_HArray2OfShape(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.TopTools.Handle_TopTools_HSequenceOfShape(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.TopTools.Handle_TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeAddress(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeListOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_IndexedMapNodeOfIndexedMapOfOrientedShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_IndexedMapNodeOfIndexedMapOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_ListNodeOfListOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_SequenceNodeOfSequenceOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_StdMapNodeOfMapOfOrientedShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopTools.Handle_TopTools_StdMapNodeOfMapOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

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

Bases: object

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

The membership flag

value()
class OCC.TopTools.TopTools_Array1OfListOfShape(*args)

Bases: object

Assign()
Parameters:Other (TopTools_Array1OfListOfShape &) –
Return type:TopTools_Array1OfListOfShape
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:TopTools_ListOfShape
Destroy()
Return type:None
Init()
Parameters:V (TopTools_ListOfShape &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (TopTools_Array1OfListOfShape &) –
Return type:TopTools_Array1OfListOfShape
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (TopTools_ListOfShape &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:TopTools_ListOfShape
thisown

The membership flag

class OCC.TopTools.TopTools_Array1OfShape(*args)

Bases: object

Assign()
Parameters:Other (TopTools_Array1OfShape &) –
Return type:TopTools_Array1OfShape
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
Destroy()
Return type:None
Init()
Parameters:V (TopoDS_Shape &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (TopTools_Array1OfShape &) –
Return type:TopTools_Array1OfShape
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (TopoDS_Shape &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_Array2OfShape(*args)

Bases: object

Assign()
Parameters:Other (TopTools_Array2OfShape &) –
Return type:TopTools_Array2OfShape
ChangeValue()
Parameters:
  • Row (Standard_Integer) –
  • Col (Standard_Integer) –
Return type:

TopoDS_Shape

ColLength()
Return type:int
Destroy()
Return type:None
Init()
Parameters:V (TopoDS_Shape &) –
Return type:None
LowerCol()
Return type:int
LowerRow()
Return type:int
RowLength()
Return type:int
Set()
Parameters:Other (TopTools_Array2OfShape &) –
Return type:TopTools_Array2OfShape
SetValue()
Parameters:
  • Row (Standard_Integer) –
  • Col (Standard_Integer) –
  • Value (TopoDS_Shape &) –
Return type:

None

UpperCol()
Return type:int
UpperRow()
Return type:int
Value()
Parameters:
  • Row (Standard_Integer) –
  • Col (Standard_Integer) –
Return type:

TopoDS_Shape

thisown

The membership flag

class OCC.TopTools.TopTools_DataMapIteratorOfDataMapOfIntegerListOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (TopTools_DataMapOfIntegerListOfShape &) –
Return type:None
Key()
Return type:int
Value()
Return type:TopTools_ListOfShape
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapIteratorOfDataMapOfIntegerShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (TopTools_DataMapOfIntegerShape &) –
Return type:None
Key()
Return type:int
Value()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapIteratorOfDataMapOfOrientedShapeInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (TopTools_DataMapOfOrientedShapeInteger &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:int
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapIteratorOfDataMapOfOrientedShapeShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.TopTools.TopTools_DataMapIteratorOfDataMapOfShapeInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (TopTools_DataMapOfShapeInteger &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:int
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapIteratorOfDataMapOfShapeListOfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (TopTools_DataMapOfShapeListOfInteger &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:TColStd_ListOfInteger
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapIteratorOfDataMapOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (TopTools_DataMapOfShapeListOfShape &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:TopTools_ListOfShape
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapIteratorOfDataMapOfShapeReal(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (TopTools_DataMapOfShapeReal &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:float
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapIteratorOfDataMapOfShapeSequenceOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (TopTools_DataMapOfShapeSequenceOfShape &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:TopTools_SequenceOfShape
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapIteratorOfDataMapOfShapeShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.TopTools.TopTools_DataMapNodeOfDataMapOfIntegerListOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_DataMapNodeOfDataMapOfIntegerListOfShape_GetHandle(TopTools_DataMapNodeOfDataMapOfIntegerListOfShape self) -> Handle_TopTools_DataMapNodeOfDataMapOfIntegerListOfShape

GetKey()

TopTools_DataMapNodeOfDataMapOfIntegerListOfShape_GetKey(TopTools_DataMapNodeOfDataMapOfIntegerListOfShape self) -> Standard_Integer

SetKey()

TopTools_DataMapNodeOfDataMapOfIntegerListOfShape_SetKey(TopTools_DataMapNodeOfDataMapOfIntegerListOfShape self, Standard_Integer value)

Value()
Return type:TopTools_ListOfShape
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapNodeOfDataMapOfIntegerShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_DataMapNodeOfDataMapOfIntegerShape_GetHandle(TopTools_DataMapNodeOfDataMapOfIntegerShape self) -> Handle_TopTools_DataMapNodeOfDataMapOfIntegerShape

GetKey()

TopTools_DataMapNodeOfDataMapOfIntegerShape_GetKey(TopTools_DataMapNodeOfDataMapOfIntegerShape self) -> Standard_Integer

SetKey()

TopTools_DataMapNodeOfDataMapOfIntegerShape_SetKey(TopTools_DataMapNodeOfDataMapOfIntegerShape self, Standard_Integer value)

Value()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapNodeOfDataMapOfOrientedShapeInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_DataMapNodeOfDataMapOfOrientedShapeInteger_GetHandle(TopTools_DataMapNodeOfDataMapOfOrientedShapeInteger self) -> Handle_TopTools_DataMapNodeOfDataMapOfOrientedShapeInteger

GetValue()

TopTools_DataMapNodeOfDataMapOfOrientedShapeInteger_GetValue(TopTools_DataMapNodeOfDataMapOfOrientedShapeInteger self) -> Standard_Integer

Key()
Return type:TopoDS_Shape
SetValue()

TopTools_DataMapNodeOfDataMapOfOrientedShapeInteger_SetValue(TopTools_DataMapNodeOfDataMapOfOrientedShapeInteger self, Standard_Integer value)

thisown

The membership flag

class OCC.TopTools.TopTools_DataMapNodeOfDataMapOfOrientedShapeShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_DataMapNodeOfDataMapOfOrientedShapeShape_GetHandle(TopTools_DataMapNodeOfDataMapOfOrientedShapeShape self) -> Handle_TopTools_DataMapNodeOfDataMapOfOrientedShapeShape

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

The membership flag

class OCC.TopTools.TopTools_DataMapNodeOfDataMapOfShapeInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_DataMapNodeOfDataMapOfShapeInteger_GetHandle(TopTools_DataMapNodeOfDataMapOfShapeInteger self) -> Handle_TopTools_DataMapNodeOfDataMapOfShapeInteger

GetValue()

TopTools_DataMapNodeOfDataMapOfShapeInteger_GetValue(TopTools_DataMapNodeOfDataMapOfShapeInteger self) -> Standard_Integer

Key()
Return type:TopoDS_Shape
SetValue()

TopTools_DataMapNodeOfDataMapOfShapeInteger_SetValue(TopTools_DataMapNodeOfDataMapOfShapeInteger self, Standard_Integer value)

thisown

The membership flag

class OCC.TopTools.TopTools_DataMapNodeOfDataMapOfShapeListOfInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_DataMapNodeOfDataMapOfShapeListOfInteger_GetHandle(TopTools_DataMapNodeOfDataMapOfShapeListOfInteger self) -> Handle_TopTools_DataMapNodeOfDataMapOfShapeListOfInteger

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

The membership flag

class OCC.TopTools.TopTools_DataMapNodeOfDataMapOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_DataMapNodeOfDataMapOfShapeListOfShape_GetHandle(TopTools_DataMapNodeOfDataMapOfShapeListOfShape self) -> Handle_TopTools_DataMapNodeOfDataMapOfShapeListOfShape

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

The membership flag

class OCC.TopTools.TopTools_DataMapNodeOfDataMapOfShapeReal(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_DataMapNodeOfDataMapOfShapeReal_GetHandle(TopTools_DataMapNodeOfDataMapOfShapeReal self) -> Handle_TopTools_DataMapNodeOfDataMapOfShapeReal

GetValue()

TopTools_DataMapNodeOfDataMapOfShapeReal_GetValue(TopTools_DataMapNodeOfDataMapOfShapeReal self) -> Standard_Real

Key()
Return type:TopoDS_Shape
SetValue()

TopTools_DataMapNodeOfDataMapOfShapeReal_SetValue(TopTools_DataMapNodeOfDataMapOfShapeReal self, Standard_Real value)

thisown

The membership flag

class OCC.TopTools.TopTools_DataMapNodeOfDataMapOfShapeSequenceOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_DataMapNodeOfDataMapOfShapeSequenceOfShape_GetHandle(TopTools_DataMapNodeOfDataMapOfShapeSequenceOfShape self) -> Handle_TopTools_DataMapNodeOfDataMapOfShapeSequenceOfShape

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

The membership flag

class OCC.TopTools.TopTools_DataMapNodeOfDataMapOfShapeShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_DataMapNodeOfDataMapOfShapeShape_GetHandle(TopTools_DataMapNodeOfDataMapOfShapeShape self) -> Handle_TopTools_DataMapNodeOfDataMapOfShapeShape

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

The membership flag

class OCC.TopTools.TopTools_DataMapOfIntegerListOfShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (TopTools_DataMapOfIntegerListOfShape &) –
Return type:TopTools_DataMapOfIntegerListOfShape
Bind()
Parameters:
  • K (Standard_Integer &) –
  • I (TopTools_ListOfShape &) –
Return type:

bool

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

The membership flag

class OCC.TopTools.TopTools_DataMapOfIntegerShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (TopTools_DataMapOfIntegerShape &) –
Return type:TopTools_DataMapOfIntegerShape
Bind()
Parameters:
  • K (Standard_Integer &) –
  • I (TopoDS_Shape &) –
Return type:

bool

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

The membership flag

class OCC.TopTools.TopTools_DataMapOfOrientedShapeInteger(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (TopTools_DataMapOfOrientedShapeInteger &) –
Return type:TopTools_DataMapOfOrientedShapeInteger
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (Standard_Integer &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:int
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:int
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 (TopTools_DataMapOfOrientedShapeInteger &) –
Return type:TopTools_DataMapOfOrientedShapeInteger
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapOfOrientedShapeShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

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

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:TopoDS_Shape
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:TopoDS_Shape
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 (TopTools_DataMapOfOrientedShapeShape &) –
Return type:TopTools_DataMapOfOrientedShapeShape
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapOfShapeInteger(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (TopTools_DataMapOfShapeInteger &) –
Return type:TopTools_DataMapOfShapeInteger
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (Standard_Integer &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:int
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:int
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 (TopTools_DataMapOfShapeInteger &) –
Return type:TopTools_DataMapOfShapeInteger
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapOfShapeListOfInteger(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (TopTools_DataMapOfShapeListOfInteger &) –
Return type:TopTools_DataMapOfShapeListOfInteger
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TColStd_ListOfInteger &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:TColStd_ListOfInteger
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:TColStd_ListOfInteger
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 (TopTools_DataMapOfShapeListOfInteger &) –
Return type:TopTools_DataMapOfShapeListOfInteger
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapOfShapeListOfShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (TopTools_DataMapOfShapeListOfShape &) –
Return type:TopTools_DataMapOfShapeListOfShape
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TopTools_ListOfShape &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
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 (TopTools_DataMapOfShapeListOfShape &) –
Return type:TopTools_DataMapOfShapeListOfShape
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapOfShapeReal(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (TopTools_DataMapOfShapeReal &) –
Return type:TopTools_DataMapOfShapeReal
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (float &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:float
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:float
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 (TopTools_DataMapOfShapeReal &) –
Return type:TopTools_DataMapOfShapeReal
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapOfShapeSequenceOfShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Assign()
Parameters:Other (TopTools_DataMapOfShapeSequenceOfShape &) –
Return type:TopTools_DataMapOfShapeSequenceOfShape
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TopTools_SequenceOfShape &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_SequenceOfShape
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_SequenceOfShape
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 (TopTools_DataMapOfShapeSequenceOfShape &) –
Return type:TopTools_DataMapOfShapeSequenceOfShape
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class OCC.TopTools.TopTools_DataMapOfShapeShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

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

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:TopoDS_Shape
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:TopoDS_Shape
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 (TopTools_DataMapOfShapeShape &) –
Return type:TopTools_DataMapOfShapeShape
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class OCC.TopTools.TopTools_HArray1OfListOfShape(*args)

Bases: OCC.MMgt.MMgt_TShared

Array1()
Return type:TopTools_Array1OfListOfShape
ChangeArray1()
Return type:TopTools_Array1OfListOfShape
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:TopTools_ListOfShape
GetHandle()

TopTools_HArray1OfListOfShape_GetHandle(TopTools_HArray1OfListOfShape self) -> Handle_TopTools_HArray1OfListOfShape

Init()
Parameters:V (TopTools_ListOfShape &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (TopTools_ListOfShape &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:TopTools_ListOfShape
thisown

The membership flag

class OCC.TopTools.TopTools_HArray1OfShape(*args)

Bases: OCC.MMgt.MMgt_TShared

Array1()
Return type:TopTools_Array1OfShape
ChangeArray1()
Return type:TopTools_Array1OfShape
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
GetHandle()

TopTools_HArray1OfShape_GetHandle(TopTools_HArray1OfShape self) -> Handle_TopTools_HArray1OfShape

Init()
Parameters:V (TopoDS_Shape &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (TopoDS_Shape &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_HArray2OfShape(*args)

Bases: OCC.MMgt.MMgt_TShared

Array2()
Return type:TopTools_Array2OfShape
ChangeArray2()
Return type:TopTools_Array2OfShape
ChangeValue()
Parameters:
  • Row (Standard_Integer) –
  • Col (Standard_Integer) –
Return type:

TopoDS_Shape

ColLength()
Return type:int
GetHandle()

TopTools_HArray2OfShape_GetHandle(TopTools_HArray2OfShape self) -> Handle_TopTools_HArray2OfShape

Init()
Parameters:V (TopoDS_Shape &) –
Return type:None
LowerCol()
Return type:int
LowerRow()
Return type:int
RowLength()
Return type:int
SetValue()
Parameters:
  • Row (Standard_Integer) –
  • Col (Standard_Integer) –
  • Value (TopoDS_Shape &) –
Return type:

None

UpperCol()
Return type:int
UpperRow()
Return type:int
Value()
Parameters:
  • Row (Standard_Integer) –
  • Col (Standard_Integer) –
Return type:

TopoDS_Shape

thisown

The membership flag

class OCC.TopTools.TopTools_HSequenceOfShape

Bases: OCC.MMgt.MMgt_TShared

Append()
Parameters:
  • anItem (TopoDS_Shape &) –
  • aSequence (Handle_TopTools_HSequenceOfShape &) –
Return type:

None

Return type:

None

ChangeSequence()
Return type:TopTools_SequenceOfShape
ChangeValue()
Parameters:anIndex (Standard_Integer) –
Return type:TopoDS_Shape
Clear()
Return type:None
Exchange()
Parameters:
  • anIndex (Standard_Integer) –
  • anOtherIndex (Standard_Integer) –
Return type:

None

GetHandle()

TopTools_HSequenceOfShape_GetHandle(TopTools_HSequenceOfShape self) -> Handle_TopTools_HSequenceOfShape

InsertAfter()
Parameters:
  • anIndex (Standard_Integer) –
  • anItem (TopoDS_Shape &) –
  • anIndex
  • aSequence (Handle_TopTools_HSequenceOfShape &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • anIndex (Standard_Integer) –
  • anItem (TopoDS_Shape &) –
  • anIndex
  • aSequence (Handle_TopTools_HSequenceOfShape &) –
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Length()
Return type:int
Prepend()
Parameters:
  • anItem (TopoDS_Shape &) –
  • aSequence (Handle_TopTools_HSequenceOfShape &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • anIndex (Standard_Integer) –
  • fromIndex (Standard_Integer) –
  • toIndex (Standard_Integer) –
Return type:

None

Return type:

None

Reverse()
Return type:None
Sequence()
Return type:TopTools_SequenceOfShape
SetValue()
Parameters:
  • anIndex (Standard_Integer) –
  • anItem (TopoDS_Shape &) –
Return type:

None

ShallowCopy()
Return type:Handle_TopTools_HSequenceOfShape
Split()
Parameters:anIndex (Standard_Integer) –
Return type:Handle_TopTools_HSequenceOfShape
Value()
Parameters:anIndex (Standard_Integer) –
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeAddress(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeAddress_GetHandle(TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeAddress self) -> Handle_TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeAddress

GetKey2()

TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeAddress_GetKey2(TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeAddress self) -> Standard_Integer

Key1()
Return type:TopoDS_Shape
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeAddress_SetKey2(TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeAddress self, Standard_Integer value)

Value()
Return type:Standard_Address
thisown

The membership flag

class OCC.TopTools.TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeListOfShape_GetHandle(TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeListOfShape self) -> Handle_TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeListOfShape

GetKey2()

TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeListOfShape_GetKey2(TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeListOfShape self) -> Standard_Integer

Key1()
Return type:TopoDS_Shape
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeListOfShape_SetKey2(TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeListOfShape self, Standard_Integer value)

Value()
Return type:TopTools_ListOfShape
thisown

The membership flag

class OCC.TopTools.TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeShape_GetHandle(TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeShape self) -> Handle_TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeShape

GetKey2()

TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeShape_GetKey2(TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeShape self) -> Standard_Integer

Key1()
Return type:TopoDS_Shape
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeShape_SetKey2(TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeShape self, Standard_Integer value)

Value()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_IndexedDataMapOfShapeAddress(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:
  • K (TopoDS_Shape &) –
  • I (Standard_Address &) –
Return type:

int

Assign()
Parameters:Other (TopTools_IndexedDataMapOfShapeAddress &) –
Return type:TopTools_IndexedDataMapOfShapeAddress
ChangeFromIndex()
Parameters:I (Standard_Integer) –
Return type:Standard_Address
ChangeFromKey()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
ChangeFromKey1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Contains()
Parameters:K (TopoDS_Shape &) –
Return type:bool
FindFromIndex()
Parameters:I (Standard_Integer) –
Return type:Standard_Address
FindFromKey()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
FindFromKey1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
FindIndex()
Parameters:K (TopoDS_Shape &) –
Return type:int
FindKey()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (TopTools_IndexedDataMapOfShapeAddress &) –
Return type:TopTools_IndexedDataMapOfShapeAddress
Substitute()
Parameters:
  • I (Standard_Integer) –
  • K (TopoDS_Shape &) –
  • T (Standard_Address &) –
Return type:

None

thisown

The membership flag

class OCC.TopTools.TopTools_IndexedDataMapOfShapeListOfShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TopTools_ListOfShape &) –
Return type:

int

Assign()
Parameters:Other (TopTools_IndexedDataMapOfShapeListOfShape &) –
Return type:TopTools_IndexedDataMapOfShapeListOfShape
ChangeFromIndex()
Parameters:I (Standard_Integer) –
Return type:TopTools_ListOfShape
ChangeFromKey()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
ChangeFromKey1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Contains()
Parameters:K (TopoDS_Shape &) –
Return type:bool
FindFromIndex()
Parameters:I (Standard_Integer) –
Return type:TopTools_ListOfShape
FindFromKey()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
FindFromKey1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
FindIndex()
Parameters:K (TopoDS_Shape &) –
Return type:int
FindKey()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (TopTools_IndexedDataMapOfShapeListOfShape &) –
Return type:TopTools_IndexedDataMapOfShapeListOfShape
Substitute()
Parameters:
  • I (Standard_Integer) –
  • K (TopoDS_Shape &) –
  • T (TopTools_ListOfShape &) –
Return type:

None

thisown

The membership flag

class OCC.TopTools.TopTools_IndexedDataMapOfShapeShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TopoDS_Shape &) –
Return type:

int

Assign()
Parameters:Other (TopTools_IndexedDataMapOfShapeShape &) –
Return type:TopTools_IndexedDataMapOfShapeShape
ChangeFromIndex()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
ChangeFromKey()
Parameters:K (TopoDS_Shape &) –
Return type:TopoDS_Shape
ChangeFromKey1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Contains()
Parameters:K (TopoDS_Shape &) –
Return type:bool
FindFromIndex()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
FindFromKey()
Parameters:K (TopoDS_Shape &) –
Return type:TopoDS_Shape
FindFromKey1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
FindIndex()
Parameters:K (TopoDS_Shape &) –
Return type:int
FindKey()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (TopTools_IndexedDataMapOfShapeShape &) –
Return type:TopTools_IndexedDataMapOfShapeShape
Substitute()
Parameters:
  • I (Standard_Integer) –
  • K (TopoDS_Shape &) –
  • T (TopoDS_Shape &) –
Return type:

None

thisown

The membership flag

class OCC.TopTools.TopTools_IndexedMapNodeOfIndexedMapOfOrientedShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_IndexedMapNodeOfIndexedMapOfOrientedShape_GetHandle(TopTools_IndexedMapNodeOfIndexedMapOfOrientedShape self) -> Handle_TopTools_IndexedMapNodeOfIndexedMapOfOrientedShape

GetKey2()

TopTools_IndexedMapNodeOfIndexedMapOfOrientedShape_GetKey2(TopTools_IndexedMapNodeOfIndexedMapOfOrientedShape self) -> Standard_Integer

Key1()
Return type:TopoDS_Shape
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

TopTools_IndexedMapNodeOfIndexedMapOfOrientedShape_SetKey2(TopTools_IndexedMapNodeOfIndexedMapOfOrientedShape self, Standard_Integer value)

thisown

The membership flag

class OCC.TopTools.TopTools_IndexedMapNodeOfIndexedMapOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_IndexedMapNodeOfIndexedMapOfShape_GetHandle(TopTools_IndexedMapNodeOfIndexedMapOfShape self) -> Handle_TopTools_IndexedMapNodeOfIndexedMapOfShape

GetKey2()

TopTools_IndexedMapNodeOfIndexedMapOfShape_GetKey2(TopTools_IndexedMapNodeOfIndexedMapOfShape self) -> Standard_Integer

Key1()
Return type:TopoDS_Shape
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

TopTools_IndexedMapNodeOfIndexedMapOfShape_SetKey2(TopTools_IndexedMapNodeOfIndexedMapOfShape self, Standard_Integer value)

thisown

The membership flag

class OCC.TopTools.TopTools_IndexedMapOfOrientedShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:K (TopoDS_Shape &) –
Return type:int
Assign()
Parameters:Other (TopTools_IndexedMapOfOrientedShape &) –
Return type:TopTools_IndexedMapOfOrientedShape
Clear()
Return type:None
Contains()
Parameters:K (TopoDS_Shape &) –
Return type:bool
FindIndex()
Parameters:K (TopoDS_Shape &) –
Return type:int
FindKey()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (TopTools_IndexedMapOfOrientedShape &) –
Return type:TopTools_IndexedMapOfOrientedShape
Substitute()
Parameters:
  • I (Standard_Integer) –
  • K (TopoDS_Shape &) –
Return type:

None

thisown

The membership flag

class OCC.TopTools.TopTools_IndexedMapOfShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:K (TopoDS_Shape &) –
Return type:int
Assign()
Parameters:Other (TopTools_IndexedMapOfShape &) –
Return type:TopTools_IndexedMapOfShape
Clear()
Return type:None
Contains()
Parameters:K (TopoDS_Shape &) –
Return type:bool
FindIndex()
Parameters:K (TopoDS_Shape &) –
Return type:int
FindKey()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (TopTools_IndexedMapOfShape &) –
Return type:TopTools_IndexedMapOfShape
Substitute()
Parameters:
  • I (Standard_Integer) –
  • K (TopoDS_Shape &) –
Return type:

None

thisown

The membership flag

class OCC.TopTools.TopTools_ListIteratorOfListOfShape(*args)

Bases: object

Initialize()
Parameters:L (TopTools_ListOfShape &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_ListNodeOfListOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_ListNodeOfListOfShape_GetHandle(TopTools_ListNodeOfListOfShape self) -> Handle_TopTools_ListNodeOfListOfShape

Value()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_ListOfShape

Bases: object

Append()
Parameters:
  • I (TopoDS_Shape &) –
  • I
  • theIt (TopTools_ListIteratorOfListOfShape &) –
  • Other (TopTools_ListOfShape &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (TopTools_ListOfShape &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:TopoDS_Shape
InsertAfter()
Parameters:
  • I (TopoDS_Shape &) –
  • It (TopTools_ListIteratorOfListOfShape &) –
  • Other (TopTools_ListOfShape &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (TopoDS_Shape &) –
  • It (TopTools_ListIteratorOfListOfShape &) –
  • Other (TopTools_ListOfShape &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:TopoDS_Shape
Prepend()
Parameters:
  • I (TopoDS_Shape &) –
  • I
  • theIt (TopTools_ListIteratorOfListOfShape &) –
  • Other (TopTools_ListOfShape &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (TopTools_ListIteratorOfListOfShape &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (TopTools_ListOfShape &) –
Return type:None
thisown

The membership flag

class OCC.TopTools.TopTools_LocationSet

Bases: object

Add()
  • Incorporate a new Location in the set and returns its index.
Parameters:L (TopLoc_Location &) –
Return type:int
Clear()
  • Clears the content of the set.
Return type:None
DumpToString()

TopTools_LocationSet_DumpToString(TopTools_LocationSet self) -> std::string

GetProgress()
Return type:Handle_Message_ProgressIndicator
Index()
  • Returns the index of <L>.
Parameters:L (TopLoc_Location &) –
Return type:int
Location()
  • Returns the location of index <I>.
Parameters:I (Standard_Integer) –
Return type:TopLoc_Location
ReadFromString()

TopTools_LocationSet_ReadFromString(TopTools_LocationSet self, std::string src)

SetProgress()
Parameters:PR (Handle_Message_ProgressIndicator &) –
Return type:None
WriteToString()

TopTools_LocationSet_WriteToString(TopTools_LocationSet self) -> std::string

thisown

The membership flag

class OCC.TopTools.TopTools_MapIteratorOfMapOfOrientedShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (TopTools_MapOfOrientedShape &) –
Return type:None
Key()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_MapIteratorOfMapOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Initialize()
Parameters:aMap (TopTools_MapOfShape &) –
Return type:None
Key()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_MapOfOrientedShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:aKey (TopoDS_Shape &) –
Return type:bool
Assign()
Parameters:Other (TopTools_MapOfOrientedShape &) –
Return type:TopTools_MapOfOrientedShape
Clear()
Return type:None
Contains()
Parameters:aKey (TopoDS_Shape &) –
Return type:bool
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
Remove()
Parameters:aKey (TopoDS_Shape &) –
Return type:bool
Set()
Parameters:Other (TopTools_MapOfOrientedShape &) –
Return type:TopTools_MapOfOrientedShape
thisown

The membership flag

class OCC.TopTools.TopTools_MapOfShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:aKey (TopoDS_Shape &) –
Return type:bool
Assign()
Parameters:Other (TopTools_MapOfShape &) –
Return type:TopTools_MapOfShape
Clear()
Return type:None
Contains()
Parameters:aKey (TopoDS_Shape &) –
Return type:bool
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
Remove()
Parameters:aKey (TopoDS_Shape &) –
Return type:bool
Set()
Parameters:Other (TopTools_MapOfShape &) –
Return type:TopTools_MapOfShape
thisown

The membership flag

class OCC.TopTools.TopTools_MutexForShapeProvider

Bases: object

CreateMutexForShape()
  • Creates and associates mutex with theShape
Parameters:theShape (TopoDS_Shape &) –
Return type:None
CreateMutexesForSubShapes()
  • Creates and associates mutexes with each sub-shape of type theType in theShape.
Parameters:
  • theShape (TopoDS_Shape &) –
  • theType (TopAbs_ShapeEnum) –
Return type:

None

GetMutex()
  • Returns pointer to mutex associated with theShape. In case when mutex not found returns NULL.
Parameters:theShape (TopoDS_Shape &) –
Return type:Standard_Mutex *
RemoveAllMutexes()
  • Removes all mutexes
Return type:None
thisown

The membership flag

class OCC.TopTools.TopTools_OrientedShapeMapHasher(*args, **kwargs)

Bases: object

static HashCode(*args)
  • Returns a HasCode value for the Key <K> in the range 0..Upper.
Parameters:
  • S (TopoDS_Shape &) –
  • Upper (Standard_Integer) –
Return type:

int

static IsEqual(*args)
  • Returns True when the two keys are equal. Two same keys must have the same hashcode, the contrary is not necessary.
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
Return type:

bool

thisown

The membership flag

OCC.TopTools.TopTools_OrientedShapeMapHasher_HashCode(*args)
  • Returns a HasCode value for the Key <K> in the range 0..Upper.
Parameters:
  • S (TopoDS_Shape &) –
  • Upper (Standard_Integer) –
Return type:

int

OCC.TopTools.TopTools_OrientedShapeMapHasher_IsEqual(*args)
  • Returns True when the two keys are equal. Two same keys must have the same hashcode, the contrary is not necessary.
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
Return type:

bool

class OCC.TopTools.TopTools_SequenceNodeOfSequenceOfShape(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

TopTools_SequenceNodeOfSequenceOfShape_GetHandle(TopTools_SequenceNodeOfSequenceOfShape self) -> Handle_TopTools_SequenceNodeOfSequenceOfShape

Value()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_SequenceOfShape

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (TopoDS_Shape &) –
  • S (TopTools_SequenceOfShape &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (TopTools_SequenceOfShape &) –
Return type:TopTools_SequenceOfShape
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
Clear()
Return type:None
First()
Return type:TopoDS_Shape
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (TopoDS_Shape &) –
  • Index
  • S (TopTools_SequenceOfShape &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (TopoDS_Shape &) –
  • Index
  • S (TopTools_SequenceOfShape &) –
Return type:

None

Return type:

None

Last()
Return type:TopoDS_Shape
Prepend()
Parameters:
  • T (TopoDS_Shape &) –
  • S (TopTools_SequenceOfShape &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

Set()
Parameters:Other (TopTools_SequenceOfShape &) –
Return type:TopTools_SequenceOfShape
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (TopoDS_Shape &) –
Return type:

None

Split()
Parameters:
  • Index (Standard_Integer) –
  • Sub (TopTools_SequenceOfShape &) –
Return type:

None

Value()
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_ShapeMapHasher(*args, **kwargs)

Bases: object

static HashCode(*args)
  • Returns a HasCode value for the Key <K> in the range 0..Upper.
Parameters:
  • S (TopoDS_Shape &) –
  • Upper (Standard_Integer) –
Return type:

int

static IsEqual(*args)
  • Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary.
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
Return type:

bool

thisown

The membership flag

OCC.TopTools.TopTools_ShapeMapHasher_HashCode(*args)
  • Returns a HasCode value for the Key <K> in the range 0..Upper.
Parameters:
  • S (TopoDS_Shape &) –
  • Upper (Standard_Integer) –
Return type:

int

OCC.TopTools.TopTools_ShapeMapHasher_IsEqual(*args)
  • Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary.
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
Return type:

bool

class OCC.TopTools.TopTools_ShapeSet

Bases: object

Add()
  • Stores <S> and its sub-shape. Returns the index of <S>. The method AddGeometry is called on each sub-shape.
Parameters:S (TopoDS_Shape &) –
Return type:int
AddGeometry()
  • Stores the geometry of <S>.
Parameters:S (TopoDS_Shape &) –
Return type:void
AddShapes()
  • Inserts the shape <S2> in the shape <S1>. This method must be redefined to use the correct builder.
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
Return type:

void

ChangeLocations()
Return type:TopTools_LocationSet
Check()
  • This method is called after each new completed shape. <T> is the type. <S> is the shape. In this class it does nothing, but it gives the opportunity in derived classes to perform extra treatment on shapes.
Parameters:
  • T (TopAbs_ShapeEnum) –
  • S (TopoDS_Shape &) –
Return type:

void

Clear()
  • Clears the content of the set. This method can be redefined.
Return type:void
Delete()
Return type:void
Dump()
  • Dumps on <OS> the shape <S>. Dumps the orientation, the index of the TShape and the index of the Location.
Parameters:
  • S (TopoDS_Shape &) –
  • OS (Standard_OStream &) –
Return type:

None

DumpExtent()
  • Dumps the number of objects in me in the string S (Number of shapes of each type)
Parameters:S (TCollection_AsciiString &) –
Return type:None
DumpExtentToString()

TopTools_ShapeSet_DumpExtentToString(TopTools_ShapeSet self) -> std::string

DumpGeometry()
  • Dumps the geometry of <S> on the stream <OS>.
Parameters:
  • S (TopoDS_Shape &) –
  • OS (Standard_OStream &) –
Return type:

void

DumpGeometryToString()

TopTools_ShapeSet_DumpGeometryToString(TopTools_ShapeSet self) -> std::string

DumpToString()

TopTools_ShapeSet_DumpToString(TopTools_ShapeSet self) -> std::string

FormatNb()
  • two formats available for the moment: First: does not write CurveOnSurface UV Points into the file on reading calls Check() method. Second: stores CurveOnSurface UV Points. On reading format is recognized from Version string.
Return type:int
GetProgress()
Return type:Handle_Message_ProgressIndicator
Index()
  • Returns the index of <S>.
Parameters:S (TopoDS_Shape &) –
Return type:int
Locations()
Return type:TopTools_LocationSet
NbShapes()
  • //!Returns number of shapes read from file.
Return type:int
Read()
  • Reads from <IS> a shape and returns it in S.
Parameters:
  • S (TopoDS_Shape &) –
  • IS (Standard_IStream &) –
Return type:

None

ReadFromString()

TopTools_ShapeSet_ReadFromString(TopTools_ShapeSet self, std::string src)

ReadGeometry()
  • Reads the geometry of a shape of type <T> from the stream <IS> and returns it in <S>.
Parameters:
  • T (TopAbs_ShapeEnum) –
  • IS (Standard_IStream &) –
  • S (TopoDS_Shape &) –
Return type:

void

ReadGeometryFromString()

TopTools_ShapeSet_ReadGeometryFromString(TopTools_ShapeSet self, std::string src)

SetFormatNb()
Parameters:theFormatNb (Standard_Integer) –
Return type:None
SetProgress()
Parameters:PR (Handle_Message_ProgressIndicator &) –
Return type:None
Shape()
  • Returns the sub-shape of index <I>.
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
Write()
  • Writes on <OS> the shape <S>. Writes the orientation, the index of the TShape and the index of the Location.
Parameters:
  • S (TopoDS_Shape &) –
  • OS (Standard_OStream &) –
Return type:

None

WriteGeometry()
  • Writes the geometry of <S> on the stream <OS> in a format that can be read back by Read.
Parameters:
  • S (TopoDS_Shape &) –
  • OS (Standard_OStream &) –
Return type:

void

WriteGeometryToString()

TopTools_ShapeSet_WriteGeometryToString(TopTools_ShapeSet self) -> std::string

WriteToString()

TopTools_ShapeSet_WriteToString(TopTools_ShapeSet self) -> std::string

thisown

The membership flag

class OCC.TopTools.TopTools_StdMapNodeOfMapOfOrientedShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_StdMapNodeOfMapOfOrientedShape_GetHandle(TopTools_StdMapNodeOfMapOfOrientedShape self) -> Handle_TopTools_StdMapNodeOfMapOfOrientedShape

Key()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.TopTools_StdMapNodeOfMapOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopTools_StdMapNodeOfMapOfShape_GetHandle(TopTools_StdMapNodeOfMapOfShape self) -> Handle_TopTools_StdMapNodeOfMapOfShape

Key()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopTools.toptools(*args, **kwargs)

Bases: object

static Dummy(*args)
  • This is to bypass an extraction bug. It will force the inclusion of Standard_Integer.hxx itself including Standard_OStream.hxx at the correct position.
Parameters:I (Standard_Integer) –
Return type:void
static Dump(*args)
  • A set of Shapes. Can be dump, wrote or read. Dumps the topological structure of <Sh> on the stream <S>.
Parameters:
  • Sh (TopoDS_Shape &) –
  • S (Standard_OStream &) –
Return type:

void

thisown

The membership flag

OCC.TopTools.toptools_Dummy(*args)
  • This is to bypass an extraction bug. It will force the inclusion of Standard_Integer.hxx itself including Standard_OStream.hxx at the correct position.
Parameters:I (Standard_Integer) –
Return type:void
OCC.TopTools.toptools_Dump(*args)
  • A set of Shapes. Can be dump, wrote or read. Dumps the topological structure of <Sh> on the stream <S>.
Parameters:
  • Sh (TopoDS_Shape &) –
  • S (Standard_OStream &) –
Return type:

void