OCC.Core.TopOpeBRepDS module

TopOpeBRepDS module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topopebrepds.html

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class TopOpeBRepDS_Array1OfDataMapOfIntegerListOfInterference(*args)

Bases: object

Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
First()
Init()
IsAllocated()
IsDeletable()
IsEmpty()
Last()
Length()
Lower()
Move()
Resize()
Set()
SetValue()
Size()
Upper()
Value()
begin()
cbegin()
cend()
end()
next()
property thisown

The membership flag

class TopOpeBRepDS_Association(*args)

Bases: OCC.Core.Standard.Standard_Transient

Return type

None

AreAssociated()
Parameters

I

type I

TopOpeBRepDS_Interference

param K

type K

TopOpeBRepDS_Interference

rtype

bool

Associate()
Parameters

I

type I

TopOpeBRepDS_Interference

param K

type K

TopOpeBRepDS_Interference

rtype

None:param I:

type I

TopOpeBRepDS_Interference

param LI

type LI

TopOpeBRepDS_ListOfInterference

rtype

None

Associated()
Parameters

I

type I

TopOpeBRepDS_Interference

rtype

TopOpeBRepDS_ListOfInterference

static DownCast(t)
HasAssociation()
Parameters

I

type I

TopOpeBRepDS_Interference

rtype

bool

property thisown

The membership flag

class TopOpeBRepDS_BuildTool(*args)

Bases: object

Return type

None:param OutCurveType: :type OutCurveType: TopOpeBRepTool_OutCurveType :rtype: None:param GT: :type GT: TopOpeBRepTool_GeomTool :rtype: None

AddEdgeVertex()
Parameters

Ein

type Ein

TopoDS_Shape

param Eou

type Eou

TopoDS_Shape

param V

type V

TopoDS_Shape

rtype

None:param E:

type E

TopoDS_Shape

param V

type V

TopoDS_Shape

rtype

None

AddFaceWire()
Parameters

F

type F

TopoDS_Shape

param W

type W

TopoDS_Shape

rtype

None

AddShellFace()
Parameters

Sh

type Sh

TopoDS_Shape

param F

type F

TopoDS_Shape

rtype

None

AddSolidShell()
Parameters

S

type S

TopoDS_Shape

param Sh

type Sh

TopoDS_Shape

rtype

None

AddWireEdge()
Parameters

W

type W

TopoDS_Shape

param E

type E

TopoDS_Shape

rtype

None

ApproxCurves()
Parameters

C

type C

TopOpeBRepDS_Curve

param E

type E

TopoDS_Edge

param inewC

type inewC

int

param HDS

type HDS

TopOpeBRepDS_HDataStructure

rtype

None

Approximation()
Return type

bool

ChangeGeomTool()
Return type

TopOpeBRepTool_GeomTool

Closed()
Parameters

S

type S

TopoDS_Shape

param B

type B

bool

rtype

None

ComputePCurves()
Parameters

C

type C

TopOpeBRepDS_Curve

param E

type E

TopoDS_Edge

param newC

type newC

TopOpeBRepDS_Curve

param CompPC1

type CompPC1

bool

param CompPC2

type CompPC2

bool

param CompC3D

type CompC3D

bool

rtype

None

CopyEdge()
  • Make an edge <Eou> with the curve of the edge <Ein>
    param Ein

    type Ein

    TopoDS_Shape

    param Eou

    type Eou

    TopoDS_Shape

    rtype

    None

CopyFace()
  • Make a face <Fou> with the surface of the face <Fin>
    param Fin

    type Fin

    TopoDS_Shape

    param Fou

    type Fou

    TopoDS_Shape

    rtype

    None

Curve3D()
  • Sets the curve <C> for the edge <E>
    param E

    type E

    TopoDS_Shape

    param C

    type C

    Geom_Curve

    param Tol

    type Tol

    float

    rtype

    None

GetGeomTool()
Return type

TopOpeBRepTool_GeomTool

GetOrientedEdgeVertices()
Parameters

E

type E

TopoDS_Edge

param Vmin

type Vmin

TopoDS_Vertex

param Vmax

type Vmax

TopoDS_Vertex

param Parmin

type Parmin

float

param Parmax

type Parmax

float

rtype

None

MakeEdge()
Parameters

E

type E

TopoDS_Shape

param C

type C

TopOpeBRepDS_Curve

rtype

None:param E:

type E

TopoDS_Shape

param C

type C

TopOpeBRepDS_Curve

param DS

type DS

TopOpeBRepDS_DataStructure

rtype

None:param E:

type E

TopoDS_Shape

param C

type C

Geom_Curve

param Tol

type Tol

float

rtype

None:param E:

type E

TopoDS_Shape

rtype

None

MakeFace()
Parameters

F

type F

TopoDS_Shape

param S

type S

TopOpeBRepDS_Surface

rtype

None

MakeShell()
Parameters

Sh

type Sh

TopoDS_Shape

rtype

None

MakeSolid()
Parameters

S

type S

TopoDS_Shape

rtype

None

MakeVertex()
Parameters

V

type V

TopoDS_Shape

param P

type P

TopOpeBRepDS_Point

rtype

None

MakeWire()
Parameters

W

type W

TopoDS_Shape

rtype

None

Orientation()
Parameters

S

type S

TopoDS_Shape

param O

type O

TopAbs_Orientation

rtype

None:param S:

type S

TopoDS_Shape

rtype

TopAbs_Orientation

OverWrite()
Return type

bool:param O: :type O: bool :rtype: None

PCurve()
  • Sets the pcurve <C> for the edge <E> on the face <F>. If OverWrite is True the old pcurve if there is one is overwritten, else the two pcurves are set.
    param F

    type F

    TopoDS_Shape

    param E

    type E

    TopoDS_Shape

    param C

    type C

    Geom2d_Curve

    rtype

    None:param F:

    type F

    TopoDS_Shape

    param E

    type E

    TopoDS_Shape

    param CDS

    type CDS

    TopOpeBRepDS_Curve

    param C

    type C

    Geom2d_Curve

    rtype

    None

Parameter()
  • Sets the parameter <P> for the vertex <V> on the edge <E>.
    param E

    type E

    TopoDS_Shape

    param V

    type V

    TopoDS_Shape

    param P

    type P

    float

    rtype

    None* Compute the parameter of the vertex <V>, supported by the edge <E>, on the curve <C>.

    param C

    type C

    TopOpeBRepDS_Curve

    param E

    type E

    TopoDS_Shape

    param V

    type V

    TopoDS_Shape

    rtype

    None

PutPCurves()
Parameters

newC

type newC

TopOpeBRepDS_Curve

param E

type E

TopoDS_Edge

param CompPC1

type CompPC1

bool

param CompPC2

type CompPC2

bool

rtype

None

Range()
  • Sets the range of edge <E>.
    param E

    type E

    TopoDS_Shape

    param first

    type first

    float

    param last

    type last

    float

    rtype

    None

RecomputeCurves()
Parameters

C

type C

TopOpeBRepDS_Curve

param oldE

type oldE

TopoDS_Edge

param E

type E

TopoDS_Edge

param inewC

type inewC

int

param HDS

type HDS

TopOpeBRepDS_HDataStructure

rtype

None

Translate()
Return type

bool:param T: :type T: bool :rtype: None

UpdateEdge()
  • Sets the range of edge <Eou> from <Ein> only when <Ein> has a closed geometry.
    param Ein

    type Ein

    TopoDS_Shape

    param Eou

    type Eou

    TopoDS_Shape

    rtype

    None

UpdateEdgeCurveTol()
Parameters

F1

type F1

TopoDS_Face

param F2

type F2

TopoDS_Face

param E

type E

TopoDS_Edge

param C3Dnew

type C3Dnew

Geom_Curve

param tol3d

type tol3d

float

param tol2d1

type tol2d1

float

param tol2d2

type tol2d2

float

param newtol

type newtol

float

param newparmin

type newparmin

float

param newparmax

type newparmax

float

rtype

None

UpdateSurface()
Parameters

F

type F

TopoDS_Shape

param SU

type SU

Geom_Surface

rtype

None:param E:

type E

TopoDS_Shape

param oldF

type oldF

TopoDS_Shape

param newF

type newF

TopoDS_Shape

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_Check(*args)

Bases: OCC.Core.Standard.Standard_Transient

Return type

None:param HDS: :type HDS: TopOpeBRepDS_HDataStructure :rtype: None

ChangeHDS()
Return type

opencascade::handle<TopOpeBRepDS_HDataStructure>

CheckDS()
  • Verifie que le ieme element de la DS existe, et pour un K de type topologique, verifie qu’il est du bon type (VERTEX, EDGE, WIRE, FACE, SHELL ou SOLID)
    param i

    type i

    int

    param K

    type K

    TopOpeBRepDS_Kind

    rtype

    bool

CheckShapes()
  • Verifie que les Shapes existent bien dans la DS Utile pour les Shapes SameDomain si la liste est vide, renvoie vrai
    param LS

    type LS

    TopTools_ListOfShape

    rtype

    bool

ChkIntg()
  • Check integrition of DS
    rtype

    bool

ChkIntgInterf()
  • Check integrition of interferences (les supports et les geometries de LI)
    param LI

    type LI

    TopOpeBRepDS_ListOfInterference

    rtype

    bool

ChkIntgSamDom()
  • Check integrition des champs SameDomain de la DS
    rtype

    bool

static DownCast(t)
HDS()
Return type

opencascade::handle<TopOpeBRepDS_HDataStructure>

OneVertexOnPnt()
  • Verifie que les Vertex non SameDomain sont bien nonSameDomain, que les vertex sameDomain sont bien SameDomain, que les Points sont non confondus ni entre eux, ni avec des Vertex.
    rtype

    bool

Print()
  • Prints the name of CheckStatus <stat> as a String
    param stat

    type stat

    TopOpeBRepDS_CheckStatus

    param S

    type S

    Standard_OStream

    rtype

    Standard_OStream

PrintIntgToString(TopOpeBRepDS_Check self) → std::string
PrintShape()
  • Prints the name of CheckStatus <stat> as a String
    param SE

    type SE

    TopAbs_ShapeEnum

    param S

    type S

    Standard_OStream

    rtype

    Standard_OStream* Prints the name of CheckStatus <stat> as a String

    param index

    type index

    int

    param S

    type S

    Standard_OStream

    rtype

    Standard_OStream

property thisown

The membership flag

class TopOpeBRepDS_Curve(*args)

Bases: object

Return type

None:param P: :type P: Geom_Curve :param T: :type T: float :param IsWalk: default value is Standard_False :type IsWalk: bool :rtype: None

ChangeCurve()
Return type

opencascade::handle<Geom_Curve>

ChangeDSIndex()
Parameters

I

type I

int

rtype

None

ChangeIsWalk()
Parameters

B

type B

bool

rtype

None

ChangeKeep()
Parameters

B

type B

bool

rtype

None

ChangeMother()
Parameters

I

type I

int

rtype

None

ChangeShape1()
Return type

TopoDS_Shape

ChangeShape2()
Return type

TopoDS_Shape

Curve()
Return type

opencascade::handle<Geom_Curve>:param C3D: :type C3D: Geom_Curve :param Tol: :type Tol: float :rtype: None

Curve1()
Return type

opencascade::handle<Geom2d_Curve>:param PC1: :type PC1: Geom2d_Curve :rtype: None

Curve2()
Return type

opencascade::handle<Geom2d_Curve>:param PC2: :type PC2: Geom2d_Curve :rtype: None

DSIndex()
Return type

int

DefineCurve()
Parameters

P

type P

Geom_Curve

param T

type T

float

param IsWalk

type IsWalk

bool

rtype

None

GetSCI()
Parameters

I1

type I1

TopOpeBRepDS_Interference

param I2

type I2

TopOpeBRepDS_Interference

rtype

None

GetSCI1()
Return type

opencascade::handle<TopOpeBRepDS_Interference>

GetSCI2()
Return type

opencascade::handle<TopOpeBRepDS_Interference>

GetShapes()
Parameters

S1

type S1

TopoDS_Shape

param S2

type S2

TopoDS_Shape

rtype

None

IsWalk()
Return type

bool

Keep()
Return type

bool

Mother()
Return type

int

Range()
Parameters

First

type First

float

param Last

type Last

float

rtype

bool

SetRange()
Parameters

First

type First

float

param Last

type Last

float

rtype

None

SetSCI()
  • define the interferences face/curve.
    param I1

    type I1

    TopOpeBRepDS_Interference

    param I2

    type I2

    TopOpeBRepDS_Interference

    rtype

    None

SetShapes()
Parameters

S1

type S1

TopoDS_Shape

param S2

type S2

TopoDS_Shape

rtype

None

Shape1()
Return type

TopoDS_Shape

Shape2()
Return type

TopoDS_Shape

Tolerance()
  • Update the tolerance
    param tol

    type tol

    float

    rtype

    None:rtype: float

property thisown

The membership flag

class TopOpeBRepDS_CurveData(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_GeometryData

Return type

None:param C: :type C: TopOpeBRepDS_Curve :rtype: None

property thisown

The membership flag

class TopOpeBRepDS_CurveExplorer(*args)

Bases: object

Return type

None:param DS: :type DS: TopOpeBRepDS_DataStructure :param FindOnlyKeep: default value is Standard_True :type FindOnlyKeep: bool :rtype: None

Curve()
Return type

TopOpeBRepDS_Curve:param I: :type I: int :rtype: TopOpeBRepDS_Curve

Index()
Return type

int

Init()
Parameters

DS

type DS

TopOpeBRepDS_DataStructure

param FindOnlyKeep

default value is Standard_True

type FindOnlyKeep

bool

rtype

None

IsCurve()
Parameters

I

type I

int

rtype

bool

IsCurveKeep()
Parameters

I

type I

int

rtype

bool

More()
Return type

bool

NbCurve()
Return type

int

Next()
Return type

None

property thisown

The membership flag

class TopOpeBRepDS_CurveIterator(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_InterferenceIterator

  • Creates an iterator on the curves on surface described by the interferences in <L>.
    param L

    type L

    TopOpeBRepDS_ListOfInterference

    rtype

    None

Current()
  • Index of the curve in the data structure.
    rtype

    int

Orientation()
Parameters

S

type S

TopAbs_State

rtype

TopAbs_Orientation

PCurve()
Return type

opencascade::handle<Geom2d_Curve>

property thisown

The membership flag

class TopOpeBRepDS_CurvePointInterference(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_Interference

Parameters

T

type T

TopOpeBRepDS_Transition

param ST

type ST

TopOpeBRepDS_Kind

param S

type S

int

param GT

type GT

TopOpeBRepDS_Kind

param G

type G

int

param P

type P

float

rtype

None

static DownCast(t)
Parameter()
Return type

float:param P: :type P: float :rtype: None

property thisown

The membership flag

class TopOpeBRepDS_DataMapOfCheckStatus(*args)

Bases: object

Assign()
Bind()
Bound()
ChangeFind()
ChangeSeek()
Clear()
Exchange()
Find()
IsBound()
Keys()
ReSize()
Seek()
Set()
Size()
UnBind()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepDS_DataMapOfIntegerListOfInterference(*args)

Bases: object

Assign()
Bind()
Bound()
ChangeFind()
ChangeSeek()
Clear()
Exchange()
Find()
IsBound()
Keys()
ReSize()
Seek()
Set()
Size()
UnBind()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepDS_DataMapOfInterferenceListOfInterference(*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 TopOpeBRepDS_DataMapOfInterferenceShape(*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 TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State(*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 TopOpeBRepDS_DataMapOfShapeState(*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 TopOpeBRepDS_DataStructure(*args)

Bases: object

Return type

None

AddCurve()
  • Insert a new curve. Returns the index.
    param S

    type S

    TopOpeBRepDS_Curve

    rtype

    int

AddPoint()
  • Insert a new point. Returns the index.
    param PDS

    type PDS

    TopOpeBRepDS_Point

    rtype

    int

AddPointSS()
  • Insert a new point. Returns the index.
    param PDS

    type PDS

    TopOpeBRepDS_Point

    param S1

    type S1

    TopoDS_Shape

    param S2

    type S2

    TopoDS_Shape

    rtype

    int

AddSectionEdge()
Parameters

E

type E

TopoDS_Edge

rtype

int

AddShape()
  • Insert a shape S. Returns the index.
    param S

    type S

    TopoDS_Shape

    rtype

    int* Insert a shape S which ancestor is I = 1 or 2. Returns the index.

    param S

    type S

    TopoDS_Shape

    param I

    type I

    int

    rtype

    int

AddShapeInterference()
Parameters

S

type S

TopoDS_Shape

param I

type I

TopOpeBRepDS_Interference

rtype

None

AddShapeSameDomain()
Parameters

S

type S

TopoDS_Shape

param SSD

type SSD

TopoDS_Shape

rtype

None

AddSurface()
  • Insert a new surface. Returns the index.
    param S

    type S

    TopOpeBRepDS_Surface

    rtype

    int

AncestorRank()
Parameters

I

type I

int

rtype

int:param S:

type S

TopoDS_Shape

rtype

int:param I:

type I

int

param Ianc

type Ianc

int

rtype

None:param S:

type S

TopoDS_Shape

param Ianc

type Ianc

int

rtype

None

ChangeCurve()
  • Returns the Curve of index <I>.
    param I

    type I

    int

    rtype

    TopOpeBRepDS_Curve

ChangeCurveInterferences()
Parameters

I

type I

int

rtype

TopOpeBRepDS_ListOfInterference

ChangeKeepCurve()
Parameters

I

type I

int

param FindKeep

type FindKeep

bool

rtype

None:param C:

type C

TopOpeBRepDS_Curve

param FindKeep

type FindKeep

bool

rtype

None

ChangeKeepPoint()
Parameters

I

type I

int

param FindKeep

type FindKeep

bool

rtype

None:param P:

type P

TopOpeBRepDS_Point

param FindKeep

type FindKeep

bool

rtype

None

ChangeKeepShape()
Parameters

I

type I

int

param FindKeep

type FindKeep

bool

rtype

None:param S:

type S

TopoDS_Shape

param FindKeep

type FindKeep

bool

rtype

None

ChangeKeepSurface()
Parameters

I

type I

int

param FindKeep

type FindKeep

bool

rtype

None:param S:

type S

TopOpeBRepDS_Surface

param FindKeep

type FindKeep

bool

rtype

None

ChangeMapOfRejectedShapesObj()
Return type

TopTools_IndexedMapOfShape

ChangeMapOfRejectedShapesTool()
Return type

TopTools_IndexedMapOfShape

ChangeMapOfShapeWithState()
Parameters

aShape

type aShape

TopoDS_Shape

param aFlag

type aFlag

bool

rtype

TopOpeBRepDS_IndexedDataMapOfShapeWithState

ChangeMapOfShapeWithStateObj()
Return type

TopOpeBRepDS_IndexedDataMapOfShapeWithState

ChangeMapOfShapeWithStateTool()
Return type

TopOpeBRepDS_IndexedDataMapOfShapeWithState

ChangeNbCurves()
Parameters

N

type N

int

rtype

None

ChangePoint()
  • Returns the point of index <I>.
    param I

    type I

    int

    rtype

    TopOpeBRepDS_Point

ChangePointInterferences()
Parameters

I

type I

int

rtype

TopOpeBRepDS_ListOfInterference

ChangeShapeInterferences()
Parameters

S

type S

TopoDS_Shape

rtype

TopOpeBRepDS_ListOfInterference:param I:

type I

int

rtype

TopOpeBRepDS_ListOfInterference

ChangeShapeSameDomain()
Parameters

S

type S

TopoDS_Shape

rtype

TopTools_ListOfShape:param I:

type I

int

rtype

TopTools_ListOfShape

ChangeShapes()
Return type

TopOpeBRepDS_MapOfShapeData

ChangeSurface()
  • Returns the surface of index <I>.
    param I

    type I

    int

    rtype

    TopOpeBRepDS_Surface

ChangeSurfaceInterferences()
Parameters

I

type I

int

rtype

TopOpeBRepDS_ListOfInterference

Curve()
  • Returns the Curve of index <I>.
    param I

    type I

    int

    rtype

    TopOpeBRepDS_Curve

CurveInterferences()
Parameters

I

type I

int

rtype

TopOpeBRepDS_ListOfInterference

FillShapesSameDomain()
Parameters

S1

type S1

TopoDS_Shape

param S2

type S2

TopoDS_Shape

param refFirst

default value is Standard_True

type refFirst

bool

rtype

None:param S1:

type S1

TopoDS_Shape

param S2

type S2

TopoDS_Shape

param c1

type c1

TopOpeBRepDS_Config

param c2

type c2

TopOpeBRepDS_Config

param refFirst

default value is Standard_True

type refFirst

bool

rtype

None

GetShapeWithState()
Parameters

aShape

type aShape

TopoDS_Shape

rtype

TopOpeBRepDS_ShapeWithState

HasGeometry()
  • Returns True if <S> has new geometries, i.eTrue siHasShape(S) True S a une liste d’interferences non vide. S = SOLID, FACE, EDGEtrue/false S = SHELL, WIRE, VERTEXfalse.
    param S

    type S

    TopoDS_Shape

    rtype

    bool

HasNewSurface()
Parameters

F

type F

TopoDS_Shape

rtype

bool

HasShape()
  • Returns True if <S> est dans myShapes
    param S

    type S

    TopoDS_Shape

    param FindKeep

    default value is Standard_True

    type FindKeep

    bool

    rtype

    bool

Init()
  • reset the data structure
    rtype

    None

InitSectionEdges()
Return type

None

IsSectionEdge()
Parameters

E

type E

TopoDS_Edge

param FindKeep

default value is Standard_True

type FindKeep

bool

rtype

bool

Isfafa()
Parameters

isfafa

type isfafa

bool

rtype

None:rtype: bool

KeepCurve()
Parameters

I

type I

int

rtype

bool:param C:

type C

TopOpeBRepDS_Curve

rtype

bool

KeepPoint()
Parameters

I

type I

int

rtype

bool:param P:

type P

TopOpeBRepDS_Point

rtype

bool

KeepShape()
Parameters

I

type I

int

param FindKeep

default value is Standard_True

type FindKeep

bool

rtype

bool:param S:

type S

TopoDS_Shape

param FindKeep

default value is Standard_True

type FindKeep

bool

rtype

bool

KeepSurface()
Parameters

I

type I

int

rtype

bool:param S:

type S

TopOpeBRepDS_Surface

rtype

bool

NbCurves()
Return type

int

NbPoints()
Return type

int

NbSectionEdges()
Return type

int

NbShapes()
Return type

int

NbSurfaces()
Return type

int

NewSurface()
Parameters

F

type F

TopoDS_Shape

rtype

opencascade::handle<Geom_Surface>

Point()
  • Returns the point of index <I>.
    param I

    type I

    int

    rtype

    TopOpeBRepDS_Point

PointInterferences()
Parameters

I

type I

int

rtype

TopOpeBRepDS_ListOfInterference

RemoveCurve()
Parameters

I

type I

int

rtype

None

RemovePoint()
Parameters

I

type I

int

rtype

None

RemoveShapeInterference()
Parameters

S

type S

TopoDS_Shape

param I

type I

TopOpeBRepDS_Interference

rtype

None

RemoveShapeSameDomain()
Parameters

S

type S

TopoDS_Shape

param SSD

type SSD

TopoDS_Shape

rtype

None

RemoveSurface()
Parameters

I

type I

int

rtype

None

SameDomainInd()
Parameters

I

type I

int

rtype

int:param S:

type S

TopoDS_Shape

rtype

int:param I:

type I

int

param Ind

type Ind

int

rtype

None:param S:

type S

TopoDS_Shape

param Ind

type Ind

int

rtype

None

SameDomainOri()
Parameters

I

type I

int

rtype

TopOpeBRepDS_Config:param S:

type S

TopoDS_Shape

rtype

TopOpeBRepDS_Config:param I:

type I

int

param Ori

type Ori

TopOpeBRepDS_Config

rtype

None:param S:

type S

TopoDS_Shape

param Ori

type Ori

TopOpeBRepDS_Config

rtype

None

SameDomainRef()
Parameters

I

type I

int

rtype

int:param S:

type S

TopoDS_Shape

rtype

int:param I:

type I

int

param Ref

type Ref

int

rtype

None:param S:

type S

TopoDS_Shape

param Ref

type Ref

int

rtype

None

SectionEdge()
Parameters

I

type I

int

param FindKeep

default value is Standard_True

type FindKeep

bool

rtype

TopoDS_Edge:param E:

type E

TopoDS_Edge

param FindKeep

default value is Standard_True

type FindKeep

bool

rtype

int

SetNewSurface()
Parameters

F

type F

TopoDS_Shape

param S

type S

Geom_Surface

rtype

None

Shape()
  • returns the shape of index I stored in the map myShapes, accessing a list of interference.
    param I

    type I

    int

    param FindKeep

    default value is Standard_True

    type FindKeep

    bool

    rtype

    TopoDS_Shape* returns the index of shape <S> stored in the map myShapes, accessing a list of interference. returns 0 if <S> is not in the map.

    param S

    type S

    TopoDS_Shape

    param FindKeep

    default value is Standard_True

    type FindKeep

    bool

    rtype

    int

ShapeInterferences()
Parameters

S

type S

TopoDS_Shape

param FindKeep

default value is Standard_True

type FindKeep

bool

rtype

TopOpeBRepDS_ListOfInterference:param I:

type I

int

param FindKeep

default value is Standard_True

type FindKeep

bool

rtype

TopOpeBRepDS_ListOfInterference

ShapeSameDomain()
Parameters

S

type S

TopoDS_Shape

rtype

TopTools_ListOfShape:param I:

type I

int

rtype

TopTools_ListOfShape

Surface()
  • Returns the surface of index <I>.
    param I

    type I

    int

    rtype

    TopOpeBRepDS_Surface

SurfaceInterferences()
Parameters

I

type I

int

rtype

TopOpeBRepDS_ListOfInterference

UnfillShapesSameDomain()
Parameters

S1

type S1

TopoDS_Shape

param S2

type S2

TopoDS_Shape

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_DoubleMapOfIntegerShape(*args)

Bases: object

AreBound()
Assign()
Bind()
Clear()
Exchange()
Find1()
Find2()
IsBound1()
IsBound2()
ReSize()
Seek1()
Seek2()
Set()
Size()
UnBind1()
UnBind2()
property thisown

The membership flag

class TopOpeBRepDS_Dumper(*args)

Bases: object

Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

rtype

None

SDumpRefOri()
Parameters

K

type K

TopOpeBRepDS_Kind

param I

type I

int

rtype

TCollection_AsciiString:param S:

type S

TopoDS_Shape

rtype

TCollection_AsciiString

SPrintShape()
Parameters

I

type I

int

rtype

TCollection_AsciiString:param S:

type S

TopoDS_Shape

rtype

TCollection_AsciiString

SPrintShapeRefOri()
Parameters

S

type S

TopoDS_Shape

param B

default value is

type B

TCollection_AsciiString

rtype

TCollection_AsciiString:param L:

type L

TopTools_ListOfShape

param B

default value is

type B

TCollection_AsciiString

rtype

TCollection_AsciiString

property thisown

The membership flag

class TopOpeBRepDS_EIR(*args)

Bases: object

Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

rtype

None

ProcessEdgeInterferences()
Return type

None:param I: :type I: int :rtype: None

property thisown

The membership flag

class TopOpeBRepDS_Edge3dInterferenceTool(*args)

Bases: object

Return type

None

Add()
Parameters

Eref

type Eref

TopoDS_Shape

param E

type E

TopoDS_Shape

param F

type F

TopoDS_Shape

param I

type I

TopOpeBRepDS_Interference

rtype

None

Init()
Parameters

Eref

type Eref

TopoDS_Shape

param E

type E

TopoDS_Shape

param F

type F

TopoDS_Shape

param I

type I

TopOpeBRepDS_Interference

rtype

None

InitPointVertex()
Parameters

IsVertex

type IsVertex

int

param VonOO

type VonOO

TopoDS_Shape

rtype

None

Transition()
Parameters

I

type I

TopOpeBRepDS_Interference

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_EdgeInterferenceTool(*args)

Bases: object

Return type

None

Add()
Parameters

E

type E

TopoDS_Shape

param V

type V

TopoDS_Shape

param I

type I

TopOpeBRepDS_Interference

rtype

None:param E:

type E

TopoDS_Shape

param P

type P

TopOpeBRepDS_Point

param I

type I

TopOpeBRepDS_Interference

rtype

None

Init()
Parameters

E

type E

TopoDS_Shape

param I

type I

TopOpeBRepDS_Interference

rtype

None

Transition()
Parameters

I

type I

TopOpeBRepDS_Interference

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_EdgeVertexInterference(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_ShapeShapeInterference

  • Create an interference of VERTEX <G> on a crossed EDGE E. //! if support type <ST> == EDGE<S> is edge E FACE<S> is the face with bound E. <T> is the transition along the edge, crossing the crossed edge. E is the crossed edge. <GIsBound> indicates if <G> is a bound of the edge. <P> is the parameter of <G> on the edge. //! interference is stored in the list of interfs of the edge.
    param T

    type T

    TopOpeBRepDS_Transition

    param ST

    type ST

    TopOpeBRepDS_Kind

    param S

    type S

    int

    param G

    type G

    int

    param GIsBound

    type GIsBound

    bool

    param C

    type C

    TopOpeBRepDS_Config

    param P

    type P

    float

    rtype

    None* Create an interference of VERTEX <G> on crossed EDGE <S>. //! <T> is the transition along the edge, crossing the crossed edge. <S> is the crossed edge. <GIsBound> indicates if <G> is a bound of the edge. <C> indicates the geometric configuration between the edge and the crossed edge. <P> is the parameter of <G> on the edge. //! interference is stored in the list of interfs of the edge.

    param T

    type T

    TopOpeBRepDS_Transition

    param S

    type S

    int

    param G

    type G

    int

    param GIsBound

    type GIsBound

    bool

    param C

    type C

    TopOpeBRepDS_Config

    param P

    type P

    float

    rtype

    None

static DownCast(t)
Parameter()
Return type

float:param P: :type P: float :rtype: None

property thisown

The membership flag

class TopOpeBRepDS_Explorer(*args)

Bases: object

Return type

None:param HDS: :type HDS: TopOpeBRepDS_HDataStructure :param T: default value is TopAbs_SHAPE :type T: TopAbs_ShapeEnum :param findkeep: default value is Standard_True :type findkeep: bool :rtype: None

Current()
Return type

TopoDS_Shape

Edge()
Return type

TopoDS_Edge

Face()
Return type

TopoDS_Face

Index()
Return type

int

Init()
Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

param T

default value is TopAbs_SHAPE

type T

TopAbs_ShapeEnum

param findkeep

default value is Standard_True

type findkeep

bool

rtype

None

More()
Return type

bool

Next()
Return type

None

Type()
Return type

TopAbs_ShapeEnum

Vertex()
Return type

TopoDS_Vertex

property thisown

The membership flag

class TopOpeBRepDS_FIR(*args)

Bases: object

Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

rtype

None

ProcessFaceInterferences()
Parameters

M

type M

TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State

rtype

None:param I:

type I

int

param M

type M

TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_FaceEdgeInterference(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_ShapeShapeInterference

  • Create an interference of EDGE <G> on FACE <S>.
    param T

    type T

    TopOpeBRepDS_Transition

    param S

    type S

    int

    param G

    type G

    int

    param GIsBound

    type GIsBound

    bool

    param C

    type C

    TopOpeBRepDS_Config

    rtype

    None

static DownCast(t)
property thisown

The membership flag

class TopOpeBRepDS_FaceInterferenceTool(*args)

Bases: object

Parameters

P

type P

TopOpeBRepDS_PDataStructure

rtype

None

Add()
  • Eisnew = true if E is a new edge built on edge I->Geometry() false if E is shape <=> I->Geometry()
    param FI

    type FI

    TopoDS_Shape

    param F

    type F

    TopoDS_Shape

    param E

    type E

    TopoDS_Shape

    param Eisnew

    type Eisnew

    bool

    param I

    type I

    TopOpeBRepDS_Interference

    rtype

    None:param E:

    type E

    TopoDS_Shape

    param C

    type C

    TopOpeBRepDS_Curve

    param I

    type I

    TopOpeBRepDS_Interference

    rtype

    None

GetEdgePntPar()
Parameters

P

type P

gp_Pnt

param par

type par

float

rtype

None

Init()
  • Eisnew = true if E is a new edge built on edge I->Geometry() false if E is shape <=> I->Geometry()
    param FI

    type FI

    TopoDS_Shape

    param E

    type E

    TopoDS_Shape

    param Eisnew

    type Eisnew

    bool

    param I

    type I

    TopOpeBRepDS_Interference

    rtype

    None

IsEdgePntParDef()
Return type

bool

SetEdgePntPar()
Parameters

P

type P

gp_Pnt

param par

type par

float

rtype

None

Transition()
Parameters

I

type I

TopOpeBRepDS_Interference

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_Filter(*args)

Bases: object

Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

param pClassif

default value is 0

type pClassif

TopOpeBRepTool_PShapeClassifier

rtype

None

ProcessCurveInterferences()
Return type

None:param I: :type I: int :rtype: None

ProcessEdgeInterferences()
Return type

None:param I: :type I: int :rtype: None

ProcessFaceInterferences()
Parameters

MEsp

type MEsp

TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State

rtype

None:param I:

type I

int

param MEsp

type MEsp

TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State

rtype

None

ProcessInterferences()
Return type

None

property thisown

The membership flag

class TopOpeBRepDS_GapFiller(*args)

Bases: object

Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

rtype

None

AddPointsOnConnexShape()
  • Methodes pour reduire la liste des Points qui peuvent correspondre a une Point donne.
    param F

    type F

    TopoDS_Shape

    param LI

    type LI

    TopOpeBRepDS_ListOfInterference

    rtype

    None

AddPointsOnShape()
Parameters

S

type S

TopoDS_Shape

param LI

type LI

TopOpeBRepDS_ListOfInterference

rtype

None

BuildNewGeometries()
Return type

None

CheckConnexity()
  • Enchaine les sections via les points d’Interferences deja associe; Renvoit dans <L> les points extremites des Lignes. Methodes pour construire la liste des Points qui peuvent correspondre a une Point donne.
    param LI

    type LI

    TopOpeBRepDS_ListOfInterference

    rtype

    bool

FilterByEdge()
Parameters

E

type E

TopoDS_Edge

param LI

type LI

TopOpeBRepDS_ListOfInterference

rtype

None

FilterByFace()
Parameters

F

type F

TopoDS_Face

param LI

type LI

TopOpeBRepDS_ListOfInterference

rtype

None

FilterByIncidentDistance()
Parameters

F

type F

TopoDS_Face

param I

type I

TopOpeBRepDS_Interference

param LI

type LI

TopOpeBRepDS_ListOfInterference

rtype

None

FindAssociatedPoints()
  • Recherche parmi l’ensemble des points d’Interference la Liste <LI> des points qui correspondent au point d’indice <Index>
    param I

    type I

    TopOpeBRepDS_Interference

    param LI

    type LI

    TopOpeBRepDS_ListOfInterference

    rtype

    None

IsOnEdge()
  • Return True si I ou une de ses representaions a pour support <E>. Methodes de reconstructions des geometries des point et des courbes de section
    param I

    type I

    TopOpeBRepDS_Interference

    param E

    type E

    TopoDS_Edge

    rtype

    bool

IsOnFace()
  • Return True si I a ete obtenu par une intersection avec <F>.
    param I

    type I

    TopOpeBRepDS_Interference

    param F

    type F

    TopoDS_Face

    rtype

    bool

Perform()
Return type

None

ReBuildGeom()
Parameters

I1

type I1

TopOpeBRepDS_Interference

param Done

type Done

TColStd_MapOfInteger

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_GapTool(*args)

Bases: OCC.Core.Standard.Standard_Transient

Return type

None:param HDS: :type HDS: TopOpeBRepDS_HDataStructure :rtype: None

ChangeSameInterferences()
Parameters

I

type I

TopOpeBRepDS_Interference

rtype

TopOpeBRepDS_ListOfInterference

Curve()
Parameters

I

type I

TopOpeBRepDS_Interference

param C

type C

TopOpeBRepDS_Curve

rtype

bool

static DownCast(t)
EdgeSupport()
Parameters

I

type I

TopOpeBRepDS_Interference

param E

type E

TopoDS_Shape

rtype

bool

FacesSupport()
  • Return les faces qui ont genere la section origine de I
    param I

    type I

    TopOpeBRepDS_Interference

    param F1

    type F1

    TopoDS_Shape

    param F2

    type F2

    TopoDS_Shape

    rtype

    bool

Init()
Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

rtype

None

Interferences()
Parameters

IndexPoint

type IndexPoint

int

rtype

TopOpeBRepDS_ListOfInterference

ParameterOnEdge()
Parameters

I

type I

TopOpeBRepDS_Interference

param E

type E

TopoDS_Shape

param U

type U

float

rtype

bool

SameInterferences()
Parameters

I

type I

TopOpeBRepDS_Interference

rtype

TopOpeBRepDS_ListOfInterference

SetParameterOnEdge()
Parameters

I

type I

TopOpeBRepDS_Interference

param E

type E

TopoDS_Shape

param U

type U

float

rtype

None

SetPoint()
Parameters

I

type I

TopOpeBRepDS_Interference

param IndexPoint

type IndexPoint

int

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_GeometryData(*args)

Bases: object

Return type

None:param Other: :type Other: TopOpeBRepDS_GeometryData :rtype: None

AddInterference()
Parameters

I

type I

TopOpeBRepDS_Interference

rtype

None

Assign()
Parameters

Other

type Other

TopOpeBRepDS_GeometryData

rtype

None

ChangeInterferences()
Return type

TopOpeBRepDS_ListOfInterference

Interferences()
Return type

TopOpeBRepDS_ListOfInterference

Set()
Parameters

Other

type Other

TopOpeBRepDS_GeometryData

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_HArray1OfDataMapOfIntegerListOfInterference(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_Array1OfDataMapOfIntegerListOfInterference, OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

Array1()
ChangeArray1()
static DownCast(t)
property thisown

The membership flag

class TopOpeBRepDS_IndexedDataMapOfShapeWithState(*args)

Bases: object

Add()
Assign()
ChangeFromIndex()
ChangeFromKey()
ChangeSeek()
Clear()
Contains()
Exchange()
FindFromIndex()
FindFromKey()
FindIndex()
FindKey()
ReSize()
RemoveFromIndex()
RemoveKey()
RemoveLast()
Seek()
Set()
Size()
Substitute()
Swap()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepDS_IndexedDataMapOfVertexPoint(*args)

Bases: object

Add()
Assign()
ChangeFromIndex()
ChangeFromKey()
ChangeSeek()
Clear()
Contains()
Exchange()
FindFromIndex()
FindFromKey()
FindIndex()
FindKey()
ReSize()
RemoveFromIndex()
RemoveKey()
RemoveLast()
Seek()
Set()
Size()
Substitute()
Swap()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepDS_Interference(*args)

Bases: OCC.Core.Standard.Standard_Transient

Return type

None:param Transition: :type Transition: TopOpeBRepDS_Transition :param SupportType: :type SupportType: TopOpeBRepDS_Kind :param Support: :type Support: int :param GeometryType: :type GeometryType: TopOpeBRepDS_Kind :param Geometry: :type Geometry: int :rtype: None:param I: :type I: TopOpeBRepDS_Interference :rtype: None

ChangeTransition()
Return type

TopOpeBRepDS_Transition

static DownCast(t)
GKGSKS()
  • return GeometryType + Geometry + SupportType + Support
    param GK

    type GK

    TopOpeBRepDS_Kind

    param G

    type G

    int

    param SK

    type SK

    TopOpeBRepDS_Kind

    param S

    type S

    int

    rtype

    None

Geometry()
Return type

int:param G: :type G: int :rtype: None

GeometryType()
Return type

TopOpeBRepDS_Kind:param GT: :type GT: TopOpeBRepDS_Kind :rtype: None

HasSameGeometry()
Parameters

Other

type Other

TopOpeBRepDS_Interference

rtype

bool

HasSameSupport()
Parameters

Other

type Other

TopOpeBRepDS_Interference

rtype

bool

SetGeometry()
Parameters

GI

type GI

int

rtype

None

Support()
Return type

int:param S: :type S: int :rtype: None

SupportType()
Return type

TopOpeBRepDS_Kind:param ST: :type ST: TopOpeBRepDS_Kind :rtype: None

Transition()
Return type

TopOpeBRepDS_Transition:param T: :type T: TopOpeBRepDS_Transition :rtype: None

property thisown

The membership flag

class TopOpeBRepDS_InterferenceIterator(*args)

Bases: object

Return type

None* Creates an iterator on the Interference of list <L>. :param L: :type L: TopOpeBRepDS_ListOfInterference :rtype: None

ChangeIterator()
Return type

TopOpeBRepDS_ListIteratorOfListOfInterference

Geometry()
  • define a condition on interference iteration process. Interference must match the Geometry <G>
    param G

    type G

    int

    rtype

    None

GeometryKind()
  • define a condition on interference iteration process. Interference must match the Geometry Kind <ST>
    param GK

    type GK

    TopOpeBRepDS_Kind

    rtype

    None

Init()
  • re-initialize interference iteration process on the list of interference <L>. Conditions are not modified.
    param L

    type L

    TopOpeBRepDS_ListOfInterference

    rtype

    None

Match()
  • reach for an interference matching the conditions (if defined).
    rtype

    None

MatchInterference()
  • Returns True if the Interference <I> matches the conditions (if defined). If no conditions defined, returns True.
    param I

    type I

    TopOpeBRepDS_Interference

    rtype

    bool

More()
  • Returns True if there is a current Interference in the iteration.
    rtype

    bool

Next()
  • Move to the next Interference.
    rtype

    None

Support()
  • define a condition on interference iteration process. Interference must match the Support <S>
    param S

    type S

    int

    rtype

    None

SupportKind()
  • define a condition on interference iteration process. Interference must match the Support Kind <ST>
    param ST

    type ST

    TopOpeBRepDS_Kind

    rtype

    None

Value()
  • Returns the current Interference, matching the conditions (if defined).
    rtype

    opencascade::handle<TopOpeBRepDS_Interference>

property thisown

The membership flag

class TopOpeBRepDS_InterferenceTool

Bases: object

static DuplicateCurvePointInterference()
  • duplicate I in a new interference with Complement() transition.
    param I

    type I

    TopOpeBRepDS_Interference

    rtype

    opencascade::handle<TopOpeBRepDS_Interference>

static MakeCurveInterference()
Parameters

T

type T

TopOpeBRepDS_Transition

param SK

type SK

TopOpeBRepDS_Kind

param SI

type SI

int

param GK

type GK

TopOpeBRepDS_Kind

param GI

type GI

int

param P

type P

float

rtype

opencascade::handle<TopOpeBRepDS_Interference>

static MakeEdgeInterference()
Parameters

T

type T

TopOpeBRepDS_Transition

param SK

type SK

TopOpeBRepDS_Kind

param SI

type SI

int

param GK

type GK

TopOpeBRepDS_Kind

param GI

type GI

int

param P

type P

float

rtype

opencascade::handle<TopOpeBRepDS_Interference>

static MakeEdgeVertexInterference()
Parameters

Transition

type Transition

TopOpeBRepDS_Transition

param EdgeI

type EdgeI

int

param VertexI

type VertexI

int

param VertexIsBound

type VertexIsBound

bool

param Config

type Config

TopOpeBRepDS_Config

param param

type param

float

rtype

opencascade::handle<TopOpeBRepDS_Interference>

static MakeFaceCurveInterference()
Parameters

Transition

type Transition

TopOpeBRepDS_Transition

param FaceI

type FaceI

int

param CurveI

type CurveI

int

param PC

type PC

Geom2d_Curve

rtype

opencascade::handle<TopOpeBRepDS_Interference>

static MakeFaceEdgeInterference()
Parameters

Transition

type Transition

TopOpeBRepDS_Transition

param FaceI

type FaceI

int

param EdgeI

type EdgeI

int

param EdgeIsBound

type EdgeIsBound

bool

param Config

type Config

TopOpeBRepDS_Config

rtype

opencascade::handle<TopOpeBRepDS_Interference>

static MakeSolidSurfaceInterference()
Parameters

Transition

type Transition

TopOpeBRepDS_Transition

param SolidI

type SolidI

int

param SurfaceI

type SurfaceI

int

rtype

opencascade::handle<TopOpeBRepDS_Interference>

static Parameter()
Parameters

CPI

type CPI

TopOpeBRepDS_Interference

rtype

float:param CPI:

type CPI

TopOpeBRepDS_Interference

param Par

type Par

float

rtype

void

property thisown

The membership flag

class TopOpeBRepDS_ListIteratorOfListOfInterference(*args)

Bases: object

ChangeValue()
More()
Next()
Value()
property thisown

The membership flag

class TopOpeBRepDS_ListOfInterference(*args)

Bases: object

Append()
Assign()
Clear()
First()
InsertAfter()
InsertBefore()
Last()
Prepend()
Remove()
RemoveFirst()
Reverse()
Set()
Size()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepDS_ListOfShapeOn1State(*args)

Bases: object

Return type

None

ChangeListOnState()
Return type

TopTools_ListOfShape

Clear()
Return type

None

IsSplit()
Return type

bool

ListOnState()
Return type

TopTools_ListOfShape

Split()
Parameters

B – default value is Standard_True :type B: bool :rtype: None

property thisown

The membership flag

class TopOpeBRepDS_MapOfCurve(*args)

Bases: object

Assign()
Bind()
Bound()
ChangeFind()
ChangeSeek()
Clear()
Exchange()
Find()
IsBound()
Keys()
ReSize()
Seek()
Set()
Size()
UnBind()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepDS_MapOfIntegerShapeData(*args)

Bases: object

Assign()
Bind()
Bound()
ChangeFind()
ChangeSeek()
Clear()
Exchange()
Find()
IsBound()
Keys()
ReSize()
Seek()
Set()
Size()
UnBind()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepDS_MapOfPoint(*args)

Bases: object

Assign()
Bind()
Bound()
ChangeFind()
ChangeSeek()
Clear()
Exchange()
Find()
IsBound()
Keys()
ReSize()
Seek()
Set()
Size()
UnBind()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepDS_MapOfShapeData(*args)

Bases: object

Add()
Assign()
ChangeFromIndex()
ChangeFromKey()
ChangeSeek()
Clear()
Contains()
Exchange()
FindFromIndex()
FindFromKey()
FindIndex()
FindKey()
ReSize()
RemoveFromIndex()
RemoveKey()
RemoveLast()
Seek()
Set()
Size()
Substitute()
Swap()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepDS_MapOfSurface(*args)

Bases: object

Assign()
Bind()
Bound()
ChangeFind()
ChangeSeek()
Clear()
Exchange()
Find()
IsBound()
Keys()
ReSize()
Seek()
Set()
Size()
UnBind()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepDS_Marker(*args)

Bases: OCC.Core.Standard.Standard_Transient

Return type

None

Allocate()
Parameters

n

type n

int

rtype

None

static DownCast(t)
GetI()
Parameters

i

type i

int

rtype

bool

Reset()
Return type

None

Set()
Parameters

i

type i

int

param b

type b

bool

rtype

None:param b:

type b

bool

param n

type n

int

param a

type a

Standard_Address

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_Point(*args)

Bases: object

Return type

None:param P: :type P: gp_Pnt :param T: :type T: float :rtype: None:param S: :type S: TopoDS_Shape :rtype: None

ChangeKeep()
Parameters

B

type B

bool

rtype

None

ChangePoint()
Return type

gp_Pnt

IsEqual()
Parameters

other

type other

TopOpeBRepDS_Point

rtype

bool

Keep()
Return type

bool

Point()
Return type

gp_Pnt

Tolerance()
Return type

float:param Tol: :type Tol: float :rtype: None

property thisown

The membership flag

class TopOpeBRepDS_PointData(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_GeometryData

Return type

None:param P: :type P: TopOpeBRepDS_Point :rtype: None:param P: :type P: TopOpeBRepDS_Point :param I1: :type I1: int :param I2: :type I2: int :rtype: None

GetShapes()
Parameters

I1

type I1

int

param I2

type I2

int

rtype

None

SetShapes()
Parameters

I1

type I1

int

param I2

type I2

int

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_PointExplorer(*args)

Bases: object

Return type

None:param DS: :type DS: TopOpeBRepDS_DataStructure :param FindOnlyKeep: default value is Standard_True :type FindOnlyKeep: bool :rtype: None

Index()
Return type

int

Init()
Parameters

DS

type DS

TopOpeBRepDS_DataStructure

param FindOnlyKeep

default value is Standard_True

type FindOnlyKeep

bool

rtype

None

IsPoint()
Parameters

I

type I

int

rtype

bool

IsPointKeep()
Parameters

I

type I

int

rtype

bool

More()
Return type

bool

NbPoint()
Return type

int

Next()
Return type

None

Point()
Return type

TopOpeBRepDS_Point:param I: :type I: int :rtype: TopOpeBRepDS_Point

property thisown

The membership flag

class TopOpeBRepDS_PointIterator(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_InterferenceIterator

  • Creates an iterator on the points on curves described by the interferences in <L>.
    param L

    type L

    TopOpeBRepDS_ListOfInterference

    rtype

    None

Current()
  • Index of the point in the data structure.
    rtype

    int

DiffOriented()
Return type

bool

IsPoint()
Return type

bool

IsVertex()
Return type

bool

Orientation()
Parameters

S

type S

TopAbs_State

rtype

TopAbs_Orientation

Parameter()
Return type

float

SameOriented()
Return type

bool

Support()
Return type

int

property thisown

The membership flag

class TopOpeBRepDS_Reducer(*args)

Bases: object

Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

rtype

None

ProcessEdgeInterferences()
Return type

None

ProcessFaceInterferences()
Parameters

M

type M

TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_ShapeData(*args)

Bases: object

Return type

None

ChangeInterferences()
Return type

TopOpeBRepDS_ListOfInterference

ChangeKeep()
Parameters

B

type B

bool

rtype

None

Interferences()
Return type

TopOpeBRepDS_ListOfInterference

Keep()
Return type

bool

property thisown

The membership flag

class TopOpeBRepDS_ShapeShapeInterference(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_Interference

  • a shape interfers on shape <G> with shape <S>. examplescreate a ShapeShapeInterference describingvertex V of edge E1 found on edge E2ST,S,GT,G = TopOpeBRepDS_EDGE,E2,TopOpeBRepDS_VERTEX,V //! create a ShapeShapeInterference describing vertex V of edge E found on face FST,S,GT,G = TopOpeBRepDS_FACE,F,TopOpeBRepDS_VERTEX,V //! <GBound> indicates if shape <G> is a bound of shape <S>. //! <SCC>UNSH_GEOMETRY<S> and <Ancestor> have any types, <S> and <Ancestor> don’t share the same geometry SAME_ORIENTED<S> and <Ancestor> have identical types, <S> and <Ancestor> orientations are IDENTICAL. DIFF_ORIENTED<S> and <Ancestor> have identical types, <S> and <Ancestor> orientations are DIFFERENT.
    param T

    type T

    TopOpeBRepDS_Transition

    param ST

    type ST

    TopOpeBRepDS_Kind

    param S

    type S

    int

    param GT

    type GT

    TopOpeBRepDS_Kind

    param G

    type G

    int

    param GBound

    type GBound

    bool

    param C

    type C

    TopOpeBRepDS_Config

    rtype

    None

Config()
Return type

TopOpeBRepDS_Config

static DownCast(t)
GBound()
Return type

bool

SetGBound()
Parameters

b

type b

bool

rtype

None

property thisown

The membership flag

class TopOpeBRepDS_ShapeSurface(*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 TopOpeBRepDS_ShapeWithState(*args)

Bases: object

Return type

None

AddPart()
Parameters

aShape

type aShape

TopoDS_Shape

param aState

type aState

TopAbs_State

rtype

None

AddParts()
Parameters

aListOfShape

type aListOfShape

TopTools_ListOfShape

param aState

type aState

TopAbs_State

rtype

None

IsSplitted()
Return type

bool

Part()
Parameters

aState

type aState

TopAbs_State

rtype

TopTools_ListOfShape

SetIsSplitted()
Parameters

anIsSplitted

type anIsSplitted

bool

rtype

None

SetState()
Parameters

aState

type aState

TopAbs_State

rtype

None

State()
Return type

TopAbs_State

property thisown

The membership flag

class TopOpeBRepDS_SolidSurfaceInterference(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_Interference

Parameters

Transition

type Transition

TopOpeBRepDS_Transition

param SupportType

type SupportType

TopOpeBRepDS_Kind

param Support

type Support

int

param GeometryType

type GeometryType

TopOpeBRepDS_Kind

param Geometry

type Geometry

int

rtype

None

static DownCast(t)
property thisown

The membership flag

class TopOpeBRepDS_Surface(*args)

Bases: object

Return type

None:param P: :type P: Geom_Surface :param T: :type T: float :rtype: None:param Other: :type Other: TopOpeBRepDS_Surface :rtype: None

Assign()
Parameters

Other

type Other

TopOpeBRepDS_Surface

rtype

None

ChangeKeep()
Parameters

theToKeep

type theToKeep

bool

rtype

None

Keep()
Return type

bool

Set()
Parameters

Other

type Other

TopOpeBRepDS_Surface

rtype

None

Surface()
Return type

opencascade::handle<Geom_Surface>

Tolerance()
Return type

float* Update the tolerance :param theTol: :type theTol: float :rtype: None

property thisown

The membership flag

class TopOpeBRepDS_SurfaceCurveInterference(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_Interference

Return type

None:param Transition: :type Transition: TopOpeBRepDS_Transition :param SupportType: :type SupportType: TopOpeBRepDS_Kind :param Support: :type Support: int :param GeometryType: :type GeometryType: TopOpeBRepDS_Kind :param Geometry: :type Geometry: int :param PC: :type PC: Geom2d_Curve :rtype: None:param I: :type I: TopOpeBRepDS_Interference :rtype: None

static DownCast(t)
PCurve()
Return type

opencascade::handle<Geom2d_Curve>:param PC: :type PC: Geom2d_Curve :rtype: None

property thisown

The membership flag

class TopOpeBRepDS_SurfaceData(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_GeometryData

Return type

None:param S: :type S: TopOpeBRepDS_Surface :rtype: None

property thisown

The membership flag

class TopOpeBRepDS_SurfaceExplorer(*args)

Bases: object

Return type

None:param DS: :type DS: TopOpeBRepDS_DataStructure :param FindOnlyKeep: default value is Standard_True :type FindOnlyKeep: bool :rtype: None

Index()
Return type

int

Init()
Parameters

DS

type DS

TopOpeBRepDS_DataStructure

param FindOnlyKeep

default value is Standard_True

type FindOnlyKeep

bool

rtype

None

IsSurface()
Parameters

I

type I

int

rtype

bool

IsSurfaceKeep()
Parameters

I

type I

int

rtype

bool

More()
Return type

bool

NbSurface()
Return type

int

Next()
Return type

None

Surface()
Return type

TopOpeBRepDS_Surface:param I: :type I: int :rtype: TopOpeBRepDS_Surface

property thisown

The membership flag

class TopOpeBRepDS_SurfaceIterator(*args)

Bases: OCC.Core.TopOpeBRepDS.TopOpeBRepDS_InterferenceIterator

  • Creates an iterator on the Surfaces on solid described by the interferences in <L>.
    param L

    type L

    TopOpeBRepDS_ListOfInterference

    rtype

    None

Current()
  • Index of the surface in the data structure.
    rtype

    int

Orientation()
Parameters

S

type S

TopAbs_State

rtype

TopAbs_Orientation

property thisown

The membership flag

class TopOpeBRepDS_TKI(*args)

Bases: object

Return type

None

Add()
Parameters

K

type K

TopOpeBRepDS_Kind

param G

type G

int

rtype

None:param K:

type K

TopOpeBRepDS_Kind

param G

type G

int

param HI

type HI

TopOpeBRepDS_Interference

rtype

None

ChangeInterferences()
Parameters

K

type K

TopOpeBRepDS_Kind

param G

type G

int

rtype

TopOpeBRepDS_ListOfInterference

ChangeValue()
Parameters

K

type K

TopOpeBRepDS_Kind

param G

type G

int

rtype

TopOpeBRepDS_ListOfInterference

Clear()
Return type

None

DumpTKIIterator()
Parameters

s1 – default value is :type s1: TCollection_AsciiString :param s2: default value is :type s2: TCollection_AsciiString :rtype: None

FillOnGeometry()
Parameters

L

type L

TopOpeBRepDS_ListOfInterference

rtype

None

FillOnSupport()
Parameters

L

type L

TopOpeBRepDS_ListOfInterference

rtype

None

HasInterferences()
Parameters

K

type K

TopOpeBRepDS_Kind

param G

type G

int

rtype

bool

Init()
Return type

None

Interferences()
Parameters

K

type K

TopOpeBRepDS_Kind

param G

type G

int

rtype

TopOpeBRepDS_ListOfInterference

IsBound()
Parameters

K

type K

TopOpeBRepDS_Kind

param G

type G

int

rtype

bool

More()
Return type

bool

Next()
Return type

None

Value()
Parameters

K

type K

TopOpeBRepDS_Kind

param G

type G

int

rtype

TopOpeBRepDS_ListOfInterference

property thisown

The membership flag

class TopOpeBRepDS_TOOL

Bases: object

static EShareG()
Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

param E

type E

TopoDS_Edge

param lEsd

type lEsd

TopTools_ListOfShape

rtype

int

static GetConfig()
Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

param MEspON

type MEspON

TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State

param ie

type ie

int

param iesd

type iesd

int

param conf

type conf

int

rtype

bool

static GetEsd()
Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

param S

type S

TopoDS_Shape

param ie

type ie

int

param iesd

type iesd

int

rtype

bool

static ShareG()
Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

param is1

type is1

int

param is2

type is2

int

rtype

bool

static ShareSplitON()
Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

param MspON

type MspON

TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State

param i1

type i1

int

param i2

type i2

int

param spON

type spON

TopoDS_Shape

rtype

bool

property thisown

The membership flag

class TopOpeBRepDS_Transition(*args)

Bases: object

Return type

None:param StateBefore: :type StateBefore: TopAbs_State :param StateAfter: :type StateAfter: TopAbs_State :param ShapeBefore: default value is TopAbs_FACE :type ShapeBefore: TopAbs_ShapeEnum :param ShapeAfter: default value is TopAbs_FACE :type ShapeAfter: TopAbs_ShapeEnum :rtype: None:param O: :type O: TopAbs_Orientation :rtype: None

After()
Parameters

S

type S

TopAbs_State

param ShapeAfter

default value is TopAbs_FACE

type ShapeAfter

TopAbs_ShapeEnum

rtype

None:rtype: TopAbs_State

Before()
Parameters

S

type S

TopAbs_State

param ShapeBefore

default value is TopAbs_FACE

type ShapeBefore

TopAbs_ShapeEnum

rtype

None:rtype: TopAbs_State

Complement()
Return type

TopOpeBRepDS_Transition

Index()
Parameters

I

type I

int

rtype

None:rtype: int

IndexAfter()
Parameters

I

type I

int

rtype

None:rtype: int

IndexBefore()
Parameters

I

type I

int

rtype

None:rtype: int

IsUnknown()
  • returns True if both states are UNKNOWN
    rtype

    bool

ONAfter()
Return type

TopAbs_ShapeEnum

ONBefore()
Return type

TopAbs_ShapeEnum

Orientation()
  • returns the orientation corresponding to state <S> //! Before and After not equal TopAbs_ON————————————– Before After Computed orientation //! S not S REVERSED (we leave state S) not S S FORWARD (we enter state S) S S INTERNAL (we stay in state S) not S not S EXTERNAL (we stay outside state S)
    param S

    type S

    TopAbs_State

    param T

    default value is TopAbs_FACE

    type T

    TopAbs_ShapeEnum

    rtype

    TopAbs_Orientation

Set()
Parameters

StateBefore

type StateBefore

TopAbs_State

param StateAfter

type StateAfter

TopAbs_State

param ShapeBefore

default value is TopAbs_FACE

type ShapeBefore

TopAbs_ShapeEnum

param ShapeAfter

default value is TopAbs_FACE

type ShapeAfter

TopAbs_ShapeEnum

rtype

None* set the transition corresponding to orientation <O> //! O Before After //! FORWARD OUT IN REVERSED IN OUT INTERNAL IN IN EXTERNAL OUT OUT

param O

type O

TopAbs_Orientation

rtype

None

ShapeAfter()
Parameters

SE

type SE

TopAbs_ShapeEnum

rtype

None:rtype: TopAbs_ShapeEnum

ShapeBefore()
Parameters

SE

type SE

TopAbs_ShapeEnum

rtype

None:rtype: TopAbs_ShapeEnum

StateAfter()
Parameters

S

type S

TopAbs_State

rtype

None

StateBefore()
Parameters

S

type S

TopAbs_State

rtype

None

property thisown

The membership flag

class topopebrepds

Bases: object

static IsGeometry()
Parameters

K

type K

TopOpeBRepDS_Kind

rtype

bool

static IsTopology()
Parameters

K

type K

TopOpeBRepDS_Kind

rtype

bool

static KindToShape()
Parameters

K

type K

TopOpeBRepDS_Kind

rtype

TopAbs_ShapeEnum

static Print()
Parameters

S

type S

TopAbs_State

param OS

type OS

Standard_OStream

rtype

Standard_OStream:param K:

type K

TopOpeBRepDS_Kind

param S

type S

Standard_OStream

rtype

Standard_OStream:param K:

type K

TopOpeBRepDS_Kind

param I

type I

int

param S

type S

Standard_OStream

param B

default value is

type B

TCollection_AsciiString

param A

default value is

type A

TCollection_AsciiString

rtype

Standard_OStream:param T:

type T

TopAbs_ShapeEnum

param I

type I

int

param S

type S

Standard_OStream

rtype

Standard_OStream:param C:

type C

TopOpeBRepDS_Config

param S

type S

Standard_OStream

rtype

Standard_OStream

static SPrint()
  • IN OU ON UN
    param S

    type S

    TopAbs_State

    rtype

    TCollection_AsciiString* <K>

    param K

    type K

    TopOpeBRepDS_Kind

    rtype

    TCollection_AsciiString* S1(<K>,<I>)S2

    param K

    type K

    TopOpeBRepDS_Kind

    param I

    type I

    int

    param B

    default value is

    type B

    TCollection_AsciiString

    param A

    default value is

    type A

    TCollection_AsciiString

    rtype

    TCollection_AsciiString:param T:

    type T

    TopAbs_ShapeEnum

    rtype

    TCollection_AsciiString* (<T>,<I>)

    param T

    type T

    TopAbs_ShapeEnum

    param I

    type I

    int

    rtype

    TCollection_AsciiString:param O:

    type O

    TopAbs_Orientation

    rtype

    TCollection_AsciiString:param C:

    type C

    TopOpeBRepDS_Config

    rtype

    TCollection_AsciiString

static ShapeToKind()
Parameters

S

type S

TopAbs_ShapeEnum

rtype

TopOpeBRepDS_Kind

property thisown

The membership flag