OCC.TopOpeBRep module

class OCC.TopOpeBRep.Handle_TopOpeBRep_DataMapNodeOfDataMapOfTopolTool(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopOpeBRep.Handle_TopOpeBRep_FFDumper(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.TopOpeBRep.Handle_TopOpeBRep_HArray1OfLineInter(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.TopOpeBRep.Handle_TopOpeBRep_HArray1OfVPointInter(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.TopOpeBRep.Handle_TopOpeBRep_Hctxee2d(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.TopOpeBRep.Handle_TopOpeBRep_Hctxff2d(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.TopOpeBRep.Handle_TopOpeBRep_ListNodeOfListOfBipoint(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopOpeBRep.Handle_TopOpeBRep_SequenceNodeOfSequenceOfPoint2d(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

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

Bases: object

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

The membership flag

value()
class OCC.TopOpeBRep.TopOpeBRep_Array1OfLineInter(*args)

Bases: object

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

None

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

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_Array1OfVPointInter(*args)

Bases: object

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

None

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

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_Bipoint(*args)

Bases: object

I1()
Return type:int
I2()
Return type:int
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_DSFiller

Bases: object

ChangeEdgesFiller()
Return type:TopOpeBRep_EdgesFiller
ChangeFaceEdgeFiller()
Return type:TopOpeBRep_FaceEdgeFiller
ChangeFacesFiller()
Return type:TopOpeBRep_FacesFiller
ChangeShapeIntersector()
Return type:TopOpeBRep_ShapeIntersector
ChangeShapeIntersector2d()
Return type:TopOpeBRep_ShapeIntersector2d
Checker()
Parameters:HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:None
Complete()
Parameters:HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:None
CompleteDS()
  • Update the data structure with relevant informations deduced from the intersections. Shells containing an intersected face. Wires containing an intersected edge.
Parameters:HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:None
CompleteDS2d()
  • Update the data structure with relevant informations deduced from the intersections 2d. Shells containing an intersected face. Wires containing an intersected edge. search for interference identity using edge connexity //NYI
Parameters:HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:None
Destroy()
Return type:None
Filter()
Parameters:HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:None
GapFiller()
Parameters:HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:None
Insert()
  • Stores in <DS> the intersections of <S1> and <S2>. if orientFORWARD = True S FORWARD,REVERSED –> FORWARD S EXTERNAL,INTERNAL –> EXTERNAL,INTERNAL
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
  • orientFORWARD (bool) – default value is Standard_True
Return type:

None

  • Stores in <DS> the intersections of <S1> and <S2>. if orientFORWARD = True S FORWARD,REVERSED –> FORWARD S EXTERNAL,INTERNAL –> EXTERNAL,INTERNAL
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
  • orientFORWARD (bool) – default value is Standard_True
Return type:

None

Insert1d()
  • Stores in <DS> the intersections of <S1> and <S2>. S1 and S2 are edges or wires. S1 edges have a 2d representation in face F1 S2 edges have a 2d representation in face F2 F1 is the face which surface is taken as reference for 2d description of S1 and S2 edges. if orientFORWARD = True S FORWARD,REVERSED –> FORWARD S EXTERNAL,INTERNAL –> EXTERNAL,INTERNAL
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
  • orientFORWARD (bool) – default value is Standard_False
Return type:

None

  • Stores in <DS> the intersections of <S1> and <S2>. S1 and S2 are edges or wires. S1 edges have a 2d representation in face F1 S2 edges have a 2d representation in face F2 F1 is the face which surface is taken as reference for 2d description of S1 and S2 edges. if orientFORWARD = True S FORWARD,REVERSED –> FORWARD S EXTERNAL,INTERNAL –> EXTERNAL,INTERNAL
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
  • orientFORWARD (bool) – default value is Standard_False
Return type:

None

Insert2d()
  • Stores in <DS> the intersections of <S1> and <S2>. S1 et S2 contain only SameDomain Face
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:

None

InsertIntersection()
  • Stores in <DS> the intersections of <S1> and <S2>. if orientFORWARD = True S FORWAR,REVERSED –> FORWARD S EXTERNAL,INTERNAL –> EXTERNAL,INTERNAL
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
  • orientFORWARD (bool) – default value is Standard_True
Return type:

None

  • Stores in <DS> the intersections of <S1> and <S2>. if orientFORWARD = True S FORWAR,REVERSED –> FORWARD S EXTERNAL,INTERNAL –> EXTERNAL,INTERNAL
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
  • orientFORWARD (bool) – default value is Standard_True
Return type:

None

InsertIntersection2d()
  • S1, S2 set of tangent face lance les intersections 2d pour coder correctement les faces SameDomain.
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:

None

IsContext1d()
Parameters:S (TopoDS_Shape &) –
Return type:bool
IsMadeOf1d()
Parameters:S (TopoDS_Shape &) –
Return type:bool
PShapeClassifier()
  • return field myPShapeClassifier. set field myPShapeClassifier.
Return type:TopOpeBRepTool_PShapeClassifier
Reducer()
Parameters:HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:None
RemoveUnsharedGeometry()
Parameters:HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:None
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_DataMapIteratorOfDataMapOfTopolTool(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_DataMapNodeOfDataMapOfTopolTool(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopOpeBRep_DataMapNodeOfDataMapOfTopolTool_GetHandle(TopOpeBRep_DataMapNodeOfDataMapOfTopolTool self) -> Handle_TopOpeBRep_DataMapNodeOfDataMapOfTopolTool

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

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_DataMapOfTopolTool(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

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

bool

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

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_EdgesFiller

Bases: object

Face()
Parameters:
  • I (Standard_Integer) –
  • F (TopoDS_Shape &) –
  • I
Return type:

None

Return type:

TopoDS_Shape

Insert()
Parameters:
  • E1 (TopoDS_Shape &) –
  • E2 (TopoDS_Shape &) –
  • EI (TopOpeBRep_EdgesIntersector &) –
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:

None

thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_EdgesIntersector

Bases: object

Curve()
Parameters:Index (Standard_Integer) –
Return type:Geom2dAdaptor_Curve
Delete()
Return type:void
Dimension()
Parameters:D (Standard_Integer) –
Return type:None
  • set working space dimension D = 1 for E &|| W, 2 for E in F
Return type:int
Dump()
Parameters:
  • str (TCollection_AsciiString &) –
  • ie1 (Standard_Integer) – default value is 0
  • ie2 (Standard_Integer) – default value is 0
  • str
  • ie1 – default value is 0
  • ie2 – default value is 0
  • str
  • ie1 – default value is 0
  • ie2 – default value is 0
Return type:

None

Return type:

None

Return type:

None

Edge()
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
Face()
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
FacesSameOriented()
Return type:bool
ForceTolerances()
Parameters:
  • Tol1 (float) –
  • Tol2 (float) –
Return type:

None

HasSegment()
  • true if at least one intersection segment.
Return type:bool
InitPoint()
Parameters:
  • selectkeep (bool) – default value is Standard_True
  • selectkeep – default value is Standard_True
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
MorePoint()
Return type:bool
NbPoints()
Return type:int
NbSegments()
Return type:int
NextPoint()
Return type:None
Perform()
Parameters:
  • E1 (TopoDS_Shape &) –
  • E2 (TopoDS_Shape &) –
  • ReduceSegments (bool) – default value is Standard_True
  • E1
  • E2
  • ReduceSegments – default value is Standard_True
Return type:

None

Return type:

None

Point()
Return type:TopOpeBRep_Point2d
Parameters:I (Standard_Integer) –
Return type:TopOpeBRep_Point2d
Points()
Return type:TopOpeBRep_SequenceOfPoint2d
ReduceSegment()
Parameters:
  • P1 (TopOpeBRep_Point2d &) –
  • P2 (TopOpeBRep_Point2d &) –
  • Pn (TopOpeBRep_Point2d &) –
Return type:

bool

SameDomain()
  • = mySameDomain.
Return type:bool
SetFaces()
Parameters:
  • F1 (TopoDS_Shape &) –
  • F2 (TopoDS_Shape &) –
  • F1
  • F2
  • B1 (Bnd_Box &) –
  • B2 (Bnd_Box &) –
Return type:

None

Return type:

None

Status1()
Return type:TopOpeBRep_P2Dstatus
Surface()
Parameters:Index (Standard_Integer) –
Return type:BRepAdaptor_Surface
SurfacesSameOriented()
Return type:bool
ToleranceMax()
Return type:float
Tolerances()
Parameters:
  • tol1 (float &) –
  • tol2 (float &) –
Return type:

None

thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_FFDumper(*args)

Bases: OCC.MMgt.MMgt_TShared

DumpDSP()
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • GK (TopOpeBRepDS_Kind) –
  • G (Standard_Integer) –
  • newinDS (bool) –
Return type:

None

DumpLine()
Parameters:
  • I (Standard_Integer) –
  • L (TopOpeBRep_LineInter &) –
Return type:

None

Return type:

None

DumpVP()
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • VP
  • ISI (Standard_Integer) –
Return type:

None

Return type:

None

ExploreIndex()
Parameters:
  • S (TopoDS_Shape &) –
  • ISI (Standard_Integer) –
Return type:

int

GetHandle()

TopOpeBRep_FFDumper_GetHandle(TopOpeBRep_FFDumper self) -> Handle_TopOpeBRep_FFDumper

Init()
Parameters:PFF (TopOpeBRep_PFacesFiller &) –
Return type:None
PFacesFillerDummy()
Return type:TopOpeBRep_PFacesFiller
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_FFTransitionTool(*args, **kwargs)

Bases: object

static ProcessEdgeONTransition(*args)
  • compute transition on ‘IntPatch_Restriction line’ edge <R> when crossing edge <E> of face <F> at point <VP>. VP is given on edge <E> of face <F> of index <Index> (1 or 2). <VP> has been classified by FacesFiller as TopAbs_ON an edge <R> of the other face than <F> of current (face/face) intersection. Transition depends on the orientation of E in F. This method should be provided by IntPatch_Line (NYI)
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • Index (Standard_Integer) –
  • R (TopoDS_Shape &) –
  • E (TopoDS_Shape &) –
  • F (TopoDS_Shape &) –
Return type:

TopOpeBRepDS_Transition

static ProcessEdgeTransition(*args)
Parameters:
  • P (TopOpeBRep_VPointInter &) –
  • Index (Standard_Integer) –
  • LineOrientation (TopAbs_Orientation) –
Return type:

TopOpeBRepDS_Transition

static ProcessFaceTransition(*args)
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • Index (Standard_Integer) –
  • FaceOrientation (TopAbs_Orientation) –
Return type:

TopOpeBRepDS_Transition

static ProcessLineTransition(*args)
Parameters:
  • P (TopOpeBRep_VPointInter &) –
  • Index (Standard_Integer) –
  • EdgeOrientation (TopAbs_Orientation) –
  • P
  • L (TopOpeBRep_LineInter &) –
Return type:

TopOpeBRepDS_Transition

Return type:

TopOpeBRepDS_Transition

thisown

The membership flag

OCC.TopOpeBRep.TopOpeBRep_FFTransitionTool_ProcessEdgeONTransition(*args)
  • compute transition on ‘IntPatch_Restriction line’ edge <R> when crossing edge <E> of face <F> at point <VP>. VP is given on edge <E> of face <F> of index <Index> (1 or 2). <VP> has been classified by FacesFiller as TopAbs_ON an edge <R> of the other face than <F> of current (face/face) intersection. Transition depends on the orientation of E in F. This method should be provided by IntPatch_Line (NYI)
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • Index (Standard_Integer) –
  • R (TopoDS_Shape &) –
  • E (TopoDS_Shape &) –
  • F (TopoDS_Shape &) –
Return type:

TopOpeBRepDS_Transition

OCC.TopOpeBRep.TopOpeBRep_FFTransitionTool_ProcessEdgeTransition(*args)
Parameters:
  • P (TopOpeBRep_VPointInter &) –
  • Index (Standard_Integer) –
  • LineOrientation (TopAbs_Orientation) –
Return type:

TopOpeBRepDS_Transition

OCC.TopOpeBRep.TopOpeBRep_FFTransitionTool_ProcessFaceTransition(*args)
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • Index (Standard_Integer) –
  • FaceOrientation (TopAbs_Orientation) –
Return type:

TopOpeBRepDS_Transition

OCC.TopOpeBRep.TopOpeBRep_FFTransitionTool_ProcessLineTransition(*args)
Parameters:
  • P (TopOpeBRep_VPointInter &) –
  • Index (Standard_Integer) –
  • EdgeOrientation (TopAbs_Orientation) –
  • P
  • L (TopOpeBRep_LineInter &) –
Return type:

TopOpeBRepDS_Transition

Return type:

TopOpeBRepDS_Transition

class OCC.TopOpeBRep.TopOpeBRep_FaceEdgeFiller

Bases: object

Insert()
Parameters:
  • F (TopoDS_Shape &) –
  • E (TopoDS_Shape &) –
  • FEINT (TopOpeBRep_FaceEdgeIntersector &) –
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:

None

thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_FaceEdgeIntersector

Bases: object

ForceTolerance()
  • Force the tolerance values used by the next Perform(S1,S2) call.
Parameters:tol (float) –
Return type:None
Index()
  • trace only
Return type:int
InitPoint()
Return type:None
IsEmpty()
Return type:bool
IsVertex()
Parameters:
  • S (TopoDS_Shape &) –
  • P (gp_Pnt) –
  • Tol (float) –
  • V (TopoDS_Vertex &) –
  • I (Standard_Integer) –
  • V
Return type:

bool

Return type:

bool

MorePoint()
Return type:bool
NbPoints()
Return type:int
NextPoint()
Return type:None
Parameter()
  • parametre de Value() sur l’arete
Return type:float
Perform()
Parameters:
  • F (TopoDS_Shape &) –
  • E (TopoDS_Shape &) –
Return type:

None

Shape()
  • returns intersected face or edge according to value of <Index> = 1 or 2
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
State()
  • IN ou ON / a la face. Les points OUT ne sont pas retournes.
Return type:TopAbs_State
Tolerance()
  • Return the tolerance value used in the last Perform() call If ForceTolerance() has been called, return the given value. If not, return value extracted from shapes.
Return type:float
Transition()
  • Index = 1 transition par rapport a la face, en cheminant sur l’arete
Parameters:
  • Index (Standard_Integer) –
  • FaceOrientation (TopAbs_Orientation) –
Return type:

TopOpeBRepDS_Transition

UVPoint()
  • parametre de Value() sur la face
Parameters:P (gp_Pnt2d) –
Return type:None
Value()
  • return the 3D point of the current intersection point.
Return type:gp_Pnt
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_FacesFiller

Bases: object

AddShapesLine()
  • compute 3d curve, pcurves and face/curve interferences for current NDSC. Add them to the DS.
Return type:None
ChangeDataStructure()
Return type:TopOpeBRepDS_DataStructure
ChangeFacesIntersector()
Return type:TopOpeBRep_FacesIntersector
ChangePointClassifier()
Return type:TopOpeBRep_PointClassifier
CheckLine()
Parameters:L (TopOpeBRep_LineInter &) –
Return type:bool
static EqualpPonR(*args)
Parameters:
  • Lrest (TopOpeBRep_LineInter &) –
  • VP1 (TopOpeBRep_VPointInter &) –
  • VP2 (TopOpeBRep_VPointInter &) –
Return type:

bool

Face()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Face
FaceFaceTransition()
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • I (Standard_Integer) –
  • I
Return type:

TopOpeBRepDS_Transition

Return type:

TopOpeBRepDS_Transition

FillLine()
Return type:None
FillLineVPonR()
  • VP processing for restriction line and line sharing same domain with section edges : - if restriction : Adds restriction edges as section edges and compute face/edge interference. - if same domain : If line share same domain with section edges, compute parts of line IN/IN the two faces, and compute curve/point interference for VP boundaries.
Return type:None
GetESL()
  • Get map <mapES > of restriction edges having parts IN one of the 2 faces.
Parameters:LES (TopTools_ListOfShape &) –
Return type:None
GetFFGeometry()
  • search for G = geometry of Point which is identical to <DSP> among the DS Points created in the CURRENT face/face intersection ( current Insert() call).
Parameters:
  • DSP (TopOpeBRepDS_Point &) –
  • K (TopOpeBRepDS_Kind &) –
  • G (Standard_Integer &) –
Return type:

bool

  • search for G = geometry of Point which is identical to <VP> among the DS Points created in the CURRENT face/face intersection ( current Insert() call).
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • K (TopOpeBRepDS_Kind &) –
  • G (Standard_Integer &) –
Return type:

bool

GetGeometry()
  • Get the geometry of a DS point <DSP>. Search for it with ScanInterfList (previous method). if found, set <G> to the geometry of the interference found. else, add the point <DSP> in the <DS> and set <G> to the value of the new geometry such created. returns the value of ScanInterfList().
Parameters:
  • IT (TopOpeBRepDS_ListIteratorOfListOfInterference &) –
  • VP (TopOpeBRep_VPointInter &) –
  • G (Standard_Integer &) –
  • K (TopOpeBRepDS_Kind &) –
Return type:

bool

GetTraceIndex()
Parameters:
  • exF1 (Standard_Integer &) –
  • exF2 (Standard_Integer &) –
Return type:

None

HDataStructure()
Return type:Handle_TopOpeBRepDS_HDataStructure
Insert()
  • Stores in <DS> the intersections of <S1> and <S2>.
Parameters:
  • F1 (TopoDS_Shape &) –
  • F2 (TopoDS_Shape &) –
  • FACINT (TopOpeBRep_FacesIntersector &) –
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:

None

static IsVPtransLok(*args)
  • Computes the transition <T> of the VPoint <iVP> on the edge of <SI12>. Returns <False> if the status is unknown.
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • iVP (Standard_Integer) –
  • SI12 (Standard_Integer) –
  • T (TopOpeBRepDS_Transition &) –
Return type:

bool

static LSameDomainERL(*args)
  • Returns <True> if <L> shares a same geometric domain with at least one of the section edges of <ERL>.
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • ERL (TopTools_ListOfShape &) –
Return type:

bool

static Lminmax(*args)
  • Computes <pmin> and <pmax> the upper and lower bounds of <L> enclosing all vpoints.
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • pmin (float &) –
  • pmax (float &) –
Return type:

void

LoadLine()
Parameters:L (TopOpeBRep_LineInter &) –
Return type:None
MakeGeometry()
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • ShapeIndex (Standard_Integer) –
  • K (TopOpeBRepDS_Kind &) –
Return type:

int

PDataStructureDummy()
Return type:TopOpeBRepDS_PDataStructure
PFacesIntersectorDummy()
Return type:TopOpeBRep_PFacesIntersector
PLineInterDummy()
Return type:TopOpeBRep_PLineInter
PShapeClassifier()
  • return field myPShapeClassifier.
Return type:TopOpeBRepTool_PShapeClassifier
ProcessLine()
  • Process current intersection line (set by LoadLine)
Return type:None
ProcessRLine()
  • Process current restriction line, adding restriction edge and computing face/edge interference.
Return type:None
ProcessSectionEdges()
Return type:None
ProcessVPInotonR()
  • processing ProcessVPnotonR for VPI.
Parameters:VPI (TopOpeBRep_VPointInterIterator &) –
Return type:None
ProcessVPIonR()
  • processing ProcessVPonR for VPI.
Parameters:
  • VPI (TopOpeBRep_VPointInterIterator &) –
  • trans1 (TopOpeBRepDS_Transition &) –
  • F1 (TopoDS_Shape &) –
  • ShapeIndex (Standard_Integer) –
Return type:

None

ProcessVPR()
  • calling the followings ProcessVPIonR and ProcessVPonR.
Parameters:
  • FF (TopOpeBRep_FacesFiller &) –
  • VP (TopOpeBRep_VPointInter &) –
Return type:

None

ProcessVPnotonR()
  • adds <VP>’s geometrical point to the DS (if not stored) and computes curve point interference.
Parameters:VP (TopOpeBRep_VPointInter &) –
Return type:None
ProcessVPonR()
  • adds <VP>’s geometric point (if not stored) and computes (curve or edge)/(point or vertex) interference.
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • trans1 (TopOpeBRepDS_Transition &) –
  • F1 (TopoDS_Shape &) –
  • ShapeIndex (Standard_Integer) –
Return type:

None

ProcessVPonclosingR()
  • VP processing on closing arc.
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • F1 (TopoDS_Shape &) –
  • ShapeIndex (Standard_Integer) –
  • transEdge (TopOpeBRepDS_Transition &) –
  • PVKind (TopOpeBRepDS_Kind) –
  • PVIndex (Standard_Integer) –
  • EPIfound (bool) –
  • IEPI (Handle_TopOpeBRepDS_Interference &) –
Return type:

None

ProcessVPondgE()
  • VP processing on degenerated arc.
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • ShapeIndex (Standard_Integer) –
  • PVKind (TopOpeBRepDS_Kind &) –
  • PVIndex (Standard_Integer &) –
  • EPIfound (bool) –
  • IEPI (Handle_TopOpeBRepDS_Interference &) –
  • CPIfound (bool) –
  • ICPI (Handle_TopOpeBRepDS_Interference &) –
Return type:

bool

ResetDSC()
Return type:None
SetPShapeClassifier()
  • set field myPShapeClassifier.
Parameters:PSC (TopOpeBRepTool_PShapeClassifier &) –
Return type:None
SetTraceIndex()
Parameters:
  • exF1 (Standard_Integer) –
  • exF2 (Standard_Integer) –
Return type:

None

StoreCurveInterference()
  • Add interference <I> to list myDSCIL. on a given line, at first call, add a new DS curve.
Parameters:I (Handle_TopOpeBRepDS_Interference &) –
Return type:None
static TransvpOK(*args)
  • Computes transition on line for VP<iVP> on edge restriction of <SI>. If <isINOUT> : returns <true> if transition computed is IN/OUT else : returns <true> if transition computed is OUT/IN.
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • iVP (Standard_Integer) –
  • SI (Standard_Integer) –
  • isINOUT (bool) –
Return type:

bool

static VPParamOnER(*args)
  • Returns parameter u of vp on the restriction edge.
Parameters:
  • vp (TopOpeBRep_VPointInter &) –
  • Lrest (TopOpeBRep_LineInter &) –
Return type:

float

VP_Position()
  • compute position of VPoints of lines
Parameters:FACINT (TopOpeBRep_FacesIntersector &) –
Return type:None
  • compute position of VPoints of line L
Parameters:L (TopOpeBRep_LineInter &) –
Return type:None
  • compute position of VP with current faces, according to VP.ShapeIndex() .
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • VPC (TopOpeBRep_VPointInterClassifier &) –
Return type:

None

VP_PositionOnL()
  • compute position of VPoints of non-restriction line L.
Parameters:L (TopOpeBRep_LineInter &) –
Return type:None
VP_PositionOnR()
  • compute position of VPoints of restriction line L.
Parameters:L (TopOpeBRep_LineInter &) –
Return type:None
thisown

The membership flag

OCC.TopOpeBRep.TopOpeBRep_FacesFiller_EqualpPonR(*args)
Parameters:
  • Lrest (TopOpeBRep_LineInter &) –
  • VP1 (TopOpeBRep_VPointInter &) –
  • VP2 (TopOpeBRep_VPointInter &) –
Return type:

bool

OCC.TopOpeBRep.TopOpeBRep_FacesFiller_IsVPtransLok(*args)
  • Computes the transition <T> of the VPoint <iVP> on the edge of <SI12>. Returns <False> if the status is unknown.
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • iVP (Standard_Integer) –
  • SI12 (Standard_Integer) –
  • T (TopOpeBRepDS_Transition &) –
Return type:

bool

OCC.TopOpeBRep.TopOpeBRep_FacesFiller_LSameDomainERL(*args)
  • Returns <True> if <L> shares a same geometric domain with at least one of the section edges of <ERL>.
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • ERL (TopTools_ListOfShape &) –
Return type:

bool

OCC.TopOpeBRep.TopOpeBRep_FacesFiller_Lminmax(*args)
  • Computes <pmin> and <pmax> the upper and lower bounds of <L> enclosing all vpoints.
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • pmin (float &) –
  • pmax (float &) –
Return type:

void

OCC.TopOpeBRep.TopOpeBRep_FacesFiller_TransvpOK(*args)
  • Computes transition on line for VP<iVP> on edge restriction of <SI>. If <isINOUT> : returns <true> if transition computed is IN/OUT else : returns <true> if transition computed is OUT/IN.
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • iVP (Standard_Integer) –
  • SI (Standard_Integer) –
  • isINOUT (bool) –
Return type:

bool

OCC.TopOpeBRep.TopOpeBRep_FacesFiller_VPParamOnER(*args)
  • Returns parameter u of vp on the restriction edge.
Parameters:
  • vp (TopOpeBRep_VPointInter &) –
  • Lrest (TopOpeBRep_LineInter &) –
Return type:

float

class OCC.TopOpeBRep.TopOpeBRep_FacesIntersector

Bases: object

ChangeLine()
Parameters:IL (Standard_Integer) –
Return type:TopOpeBRep_LineInter
CurrentLine()
Return type:TopOpeBRep_LineInter
CurrentLineIndex()
Return type:int
Face()
  • returns first or second intersected face.
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
ForceTolerances()
  • Force the tolerance values used by the next Perform(S1,S2) call.
Parameters:
  • tolarc (float) –
  • toltang (float) –
Return type:

None

GetTolerances()
  • Return the tolerance values used in the last Perform() call If ForceTolerances() has been called, return the given values. If not, return values extracted from shapes.
Parameters:
  • tolarc (float &) –
  • toltang (float &) –
Return type:

None

InitLine()
Return type:None
IsDone()
Return type:bool
IsEmpty()
Return type:bool
IsRestriction()
  • returns true if edge <E> is found as same as the edge associated with a RESTRICTION line.
Parameters:E (TopoDS_Shape &) –
Return type:bool
Lines()
Return type:Handle_TopOpeBRep_HArray1OfLineInter
MoreLine()
Return type:bool
NbLines()
Return type:int
NextLine()
Return type:None
Perform()
  • Computes the intersection of faces S1 and S2.
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
Return type:

None

  • Computes the intersection of faces S1 and S2.
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • B1 (Bnd_Box &) –
  • B2 (Bnd_Box &) –
Return type:

None

PrepareLines()
Return type:None
Restrictions()
  • returns the map of edges found as TopeBRepBRep_RESTRICTION
Return type:TopTools_IndexedMapOfShape
SameDomain()
  • Returns True if Perform() arguments are two faces with the same surface.
Return type:bool
SurfacesSameOriented()
  • Returns True if Perform() arguments are two faces SameDomain() and normals on both side. Raise if SameDomain is False
Return type:bool
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_GeomTool(*args, **kwargs)

Bases: object

static MakeBSpline1fromWALKING2d(*args)
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • SI (Standard_Integer) –
Return type:

Handle_Geom2d_Curve

static MakeBSpline1fromWALKING3d(*args)
Parameters:L (TopOpeBRep_LineInter &) –
Return type:Handle_Geom_Curve
static MakeCurve(*args)
Parameters:
  • min (float) –
  • max (float) –
  • L (TopOpeBRep_LineInter &) –
  • C (Handle_Geom_Curve &) –
Return type:

void

static MakeCurves(*args)
  • Make the DS curve <C> and the pcurves <PC1,PC2> from intersection line <L> lying on shapes <S1,S2>. <min,max> = <L> bounds
Parameters:
  • min (float) –
  • max (float) –
  • L (TopOpeBRep_LineInter &) –
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • C (TopOpeBRepDS_Curve &) –
  • PC1 (Handle_Geom2d_Curve &) –
  • PC2 (Handle_Geom2d_Curve &) –
Return type:

void

thisown

The membership flag

OCC.TopOpeBRep.TopOpeBRep_GeomTool_MakeBSpline1fromWALKING2d(*args)
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • SI (Standard_Integer) –
Return type:

Handle_Geom2d_Curve

OCC.TopOpeBRep.TopOpeBRep_GeomTool_MakeBSpline1fromWALKING3d(*args)
Parameters:L (TopOpeBRep_LineInter &) –
Return type:Handle_Geom_Curve
OCC.TopOpeBRep.TopOpeBRep_GeomTool_MakeCurve(*args)
Parameters:
  • min (float) –
  • max (float) –
  • L (TopOpeBRep_LineInter &) –
  • C (Handle_Geom_Curve &) –
Return type:

void

OCC.TopOpeBRep.TopOpeBRep_GeomTool_MakeCurves(*args)
  • Make the DS curve <C> and the pcurves <PC1,PC2> from intersection line <L> lying on shapes <S1,S2>. <min,max> = <L> bounds
Parameters:
  • min (float) –
  • max (float) –
  • L (TopOpeBRep_LineInter &) –
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • C (TopOpeBRepDS_Curve &) –
  • PC1 (Handle_Geom2d_Curve &) –
  • PC2 (Handle_Geom2d_Curve &) –
Return type:

void

class OCC.TopOpeBRep.TopOpeBRep_HArray1OfLineInter(*args)

Bases: OCC.MMgt.MMgt_TShared

Array1()
Return type:TopOpeBRep_Array1OfLineInter
ChangeArray1()
Return type:TopOpeBRep_Array1OfLineInter
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:TopOpeBRep_LineInter
GetHandle()

TopOpeBRep_HArray1OfLineInter_GetHandle(TopOpeBRep_HArray1OfLineInter self) -> Handle_TopOpeBRep_HArray1OfLineInter

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

None

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

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_HArray1OfVPointInter(*args)

Bases: OCC.MMgt.MMgt_TShared

Array1()
Return type:TopOpeBRep_Array1OfVPointInter
ChangeArray1()
Return type:TopOpeBRep_Array1OfVPointInter
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:TopOpeBRep_VPointInter
GetHandle()

TopOpeBRep_HArray1OfVPointInter_GetHandle(TopOpeBRep_HArray1OfVPointInter self) -> Handle_TopOpeBRep_HArray1OfVPointInter

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

None

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

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_Hctxee2d

Bases: OCC.MMgt.MMgt_TShared

Curve()
Parameters:I (Standard_Integer) –
Return type:Geom2dAdaptor_Curve
Domain()
Parameters:I (Standard_Integer) –
Return type:IntRes2d_Domain
Edge()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
GetHandle()

TopOpeBRep_Hctxee2d_GetHandle(TopOpeBRep_Hctxee2d self) -> Handle_TopOpeBRep_Hctxee2d

SetEdges()
Parameters:
  • E1 (TopoDS_Edge &) –
  • E2 (TopoDS_Edge &) –
  • BAS1 (BRepAdaptor_Surface &) –
  • BAS2 (BRepAdaptor_Surface &) –
Return type:

None

thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_Hctxff2d

Bases: OCC.MMgt.MMgt_TShared

Face()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Face
FaceSameOrientedWithRef()
Parameters:I (Standard_Integer) –
Return type:bool
FacesSameOriented()
Return type:bool
GetHandle()

TopOpeBRep_Hctxff2d_GetHandle(TopOpeBRep_Hctxff2d self) -> Handle_TopOpeBRep_Hctxff2d

GetMaxTolerance()
Return type:float
GetTolerances()
Parameters:
  • Tol1 (float &) –
  • Tol2 (float &) –
Return type:

None

HSurface()
Parameters:I (Standard_Integer) –
Return type:Handle_BRepAdaptor_HSurface
SetFaces()
Parameters:
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
Return type:

None

SetHSurfaces()
Parameters:
  • S1 (Handle_BRepAdaptor_HSurface &) –
  • S2 (Handle_BRepAdaptor_HSurface &) –
Return type:

None

SetTolerances()
Parameters:
  • Tol1 (float) –
  • Tol2 (float) –
Return type:

None

SurfacesSameOriented()
Return type:bool
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_LineInter

Bases: object

Arc()
  • returns the edge of a RESTRICTION line (or a null edge).
Return type:TopoDS_Shape
ArcIsEdge()
  • returns true if Arc() edge (of a RESTRICTION line) is an edge of the original face <Index> (1 or 2).
Parameters:I (Standard_Integer) –
Return type:bool
Bounds()
Parameters:
  • f (float &) –
  • l (float &) –
Return type:

None

ChangeVPoint()
Parameters:I (Standard_Integer) –
Return type:TopOpeBRep_VPointInter
ComputeFaceFaceTransition()
Return type:None
Curve()
Return type:

Handle_Geom_Curve

Parameters:
  • parmin (float) –
  • parmax (float) –
Return type:

Handle_Geom_Curve

DumpBipoint()
Parameters:
  • B (TopOpeBRep_Bipoint &) –
  • s1 (TCollection_AsciiString &) –
  • s2 (TCollection_AsciiString &) –
Return type:

None

DumpLineTransitionsToString()

TopOpeBRep_LineInter_DumpLineTransitionsToString(TopOpeBRep_LineInter self) -> std::string

DumpType()
Return type:None
DumpVPoint()
Parameters:
  • I (Standard_Integer) –
  • s1 (TCollection_AsciiString &) –
  • s2 (TCollection_AsciiString &) –
Return type:

None

FaceFaceTransition()
Parameters:I (Standard_Integer) –
Return type:TopOpeBRepDS_Transition
GetTraceIndex()
Parameters:
  • exF1 (Standard_Integer &) –
  • exF2 (Standard_Integer &) –
Return type:

None

HasFirstPoint()
Return type:bool
HasLastPoint()
Return type:bool
HasVInternal()
Return type:bool
HasVPonR()
Return type:bool
INL()
Return type:bool
Index()
Parameters:I (Standard_Integer) –
Return type:None
Return type:int
IsPeriodic()
Return type:bool
IsVClosed()
Return type:bool
LineG()
Return type:Handle_IntPatch_GLine
LineR()
Return type:Handle_IntPatch_RLine
LineW()
Return type:Handle_IntPatch_WLine
NbVPoint()
Return type:int
NbWPoint()
Return type:int
OK()
Return type:bool
Period()
Return type:float
SetFaces()
Parameters:
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
Return type:

None

SetHasVPonR()
Return type:None
SetINL()
Return type:None
SetIsVClosed()
Return type:None
SetLine()
Parameters:
  • L (Handle_IntPatch_Line &) –
  • S1 (BRepAdaptor_Surface &) –
  • S2 (BRepAdaptor_Surface &) –
Return type:

None

SetOK()
Parameters:B (bool) –
Return type:None
SetTraceIndex()
Parameters:
  • exF1 (Standard_Integer) –
  • exF2 (Standard_Integer) –
Return type:

None

SetVPBounds()
Return type:None
SituationS1()
Return type:IntSurf_Situation
SituationS2()
Return type:IntSurf_Situation
TransitionOnS1()
Return type:IntSurf_TypeTrans
TransitionOnS2()
Return type:IntSurf_TypeTrans
TypeLineCurve()
Return type:TopOpeBRep_TypeLineCurve
VPBounds()
Parameters:
  • f (Standard_Integer &) –
  • l (Standard_Integer &) –
  • n (Standard_Integer &) –
Return type:

None

VPoint()
Parameters:I (Standard_Integer) –
Return type:TopOpeBRep_VPointInter
WPoint()
Parameters:I (Standard_Integer) –
Return type:TopOpeBRep_WPointInter
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_ListIteratorOfListOfBipoint(*args)

Bases: object

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

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_ListNodeOfListOfBipoint(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopOpeBRep_ListNodeOfListOfBipoint_GetHandle(TopOpeBRep_ListNodeOfListOfBipoint self) -> Handle_TopOpeBRep_ListNodeOfListOfBipoint

Value()
Return type:TopOpeBRep_Bipoint
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_ListOfBipoint

Bases: object

Append()
Parameters:
  • I (TopOpeBRep_Bipoint &) –
  • I
  • theIt (TopOpeBRep_ListIteratorOfListOfBipoint &) –
  • Other (TopOpeBRep_ListOfBipoint &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (TopOpeBRep_ListOfBipoint &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:TopOpeBRep_Bipoint
InsertAfter()
Parameters:
  • I (TopOpeBRep_Bipoint &) –
  • It (TopOpeBRep_ListIteratorOfListOfBipoint &) –
  • Other (TopOpeBRep_ListOfBipoint &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (TopOpeBRep_Bipoint &) –
  • It (TopOpeBRep_ListIteratorOfListOfBipoint &) –
  • Other (TopOpeBRep_ListOfBipoint &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:TopOpeBRep_Bipoint
Prepend()
Parameters:
  • I (TopOpeBRep_Bipoint &) –
  • I
  • theIt (TopOpeBRep_ListIteratorOfListOfBipoint &) –
  • Other (TopOpeBRep_ListOfBipoint &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (TopOpeBRep_ListIteratorOfListOfBipoint &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (TopOpeBRep_ListOfBipoint &) –
Return type:None
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_Point2d

Bases: object

ChangeTransition()
Parameters:I (Standard_Integer) –
Return type:TopOpeBRepDS_Transition
Dump()
Parameters:
  • ie1 (Standard_Integer) – default value is 0
  • ie2 (Standard_Integer) – default value is 0
  • ie1 – default value is 0
  • ie2 – default value is 0
  • ie1 – default value is 0
  • ie2 – default value is 0
Return type:

None

Return type:

None

Return type:

None

EdgesConfig()
Return type:TopOpeBRepDS_Config
HasPint()
Return type:bool
Hctxee2d()
Return type:Handle_TopOpeBRep_Hctxee2d
Hctxff2d()
Return type:Handle_TopOpeBRep_Hctxff2d
Index()
Return type:int
IsPointOfSegment()
Return type:bool
IsVertex()
Parameters:I (Standard_Integer) –
Return type:bool
Keep()
Return type:bool
Parameter()
Parameters:I (Standard_Integer) –
Return type:float
Pint()
Return type:IntRes2d_IntersectionPoint
SegmentAncestors()
Parameters:
  • IP1 (Standard_Integer &) –
  • IP2 (Standard_Integer &) –
Return type:

bool

SetEdgesConfig()
Parameters:C (TopOpeBRepDS_Config) –
Return type:None
SetHctxee2d()
Parameters:ee2d (Handle_TopOpeBRep_Hctxee2d &) –
Return type:None
SetHctxff2d()
Parameters:ff2d (Handle_TopOpeBRep_Hctxff2d &) –
Return type:None
SetIndex()
Parameters:X (Standard_Integer) –
Return type:None
SetIsPointOfSegment()
Parameters:B (bool) –
Return type:None
SetIsVertex()
Parameters:
  • I (Standard_Integer) –
  • B (bool) –
Return type:

None

SetKeep()
Parameters:B (bool) –
Return type:None
SetParameter()
Parameters:
  • I (Standard_Integer) –
  • P (float) –
Return type:

None

SetPint()
Parameters:P (IntRes2d_IntersectionPoint &) –
Return type:None
SetSegmentAncestors()
Parameters:
  • IP1 (Standard_Integer) –
  • IP2 (Standard_Integer) –
Return type:

None

SetStatus()
Parameters:S (TopOpeBRep_P2Dstatus) –
Return type:None
SetTolerance()
Parameters:T (float) –
Return type:None
SetTransition()
Parameters:
  • I (Standard_Integer) –
  • T (TopOpeBRepDS_Transition &) –
Return type:

None

SetValue()
Parameters:P (gp_Pnt) –
Return type:None
SetValue2d()
Parameters:P (gp_Pnt2d) –
Return type:None
SetVertex()
Parameters:
  • I (Standard_Integer) –
  • V (TopoDS_Vertex &) –
Return type:

None

Status()
Return type:TopOpeBRep_P2Dstatus
Tolerance()
Return type:float
Transition()
Parameters:I (Standard_Integer) –
Return type:TopOpeBRepDS_Transition
Value()
Return type:gp_Pnt
Value2d()
Return type:gp_Pnt2d
Vertex()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Vertex
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_PointClassifier

Bases: object

Classify()
  • compute position of point <P> regarding with the face <F>.
Parameters:
  • F (TopoDS_Face &) –
  • P (gp_Pnt2d) –
  • Tol (float) –
Return type:

TopAbs_State

Init()
Return type:None
Load()
Parameters:F (TopoDS_Face &) –
Return type:None
State()
Return type:TopAbs_State
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_PointGeomTool(*args, **kwargs)

Bases: object

static IsEqual(*args)
Parameters:
  • DSP1 (TopOpeBRepDS_Point &) –
  • DSP2 (TopOpeBRepDS_Point &) –
Return type:

bool

static MakePoint(*args)
Parameters:
  • IP (TopOpeBRep_VPointInter &) –
  • P2D (TopOpeBRep_Point2d &) –
  • FEI (TopOpeBRep_FaceEdgeIntersector &) –
  • S (TopoDS_Shape &) –
Return type:

TopOpeBRepDS_Point

Return type:

TopOpeBRepDS_Point

Return type:

TopOpeBRepDS_Point

Return type:

TopOpeBRepDS_Point

thisown

The membership flag

OCC.TopOpeBRep.TopOpeBRep_PointGeomTool_IsEqual(*args)
Parameters:
  • DSP1 (TopOpeBRepDS_Point &) –
  • DSP2 (TopOpeBRepDS_Point &) –
Return type:

bool

OCC.TopOpeBRep.TopOpeBRep_PointGeomTool_MakePoint(*args)
Parameters:
  • IP (TopOpeBRep_VPointInter &) –
  • P2D (TopOpeBRep_Point2d &) –
  • FEI (TopOpeBRep_FaceEdgeIntersector &) –
  • S (TopoDS_Shape &) –
Return type:

TopOpeBRepDS_Point

Return type:

TopOpeBRepDS_Point

Return type:

TopOpeBRepDS_Point

Return type:

TopOpeBRepDS_Point

class OCC.TopOpeBRep.TopOpeBRep_SequenceNodeOfSequenceOfPoint2d(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

TopOpeBRep_SequenceNodeOfSequenceOfPoint2d_GetHandle(TopOpeBRep_SequenceNodeOfSequenceOfPoint2d self) -> Handle_TopOpeBRep_SequenceNodeOfSequenceOfPoint2d

Value()
Return type:TopOpeBRep_Point2d
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_SequenceOfPoint2d

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (TopOpeBRep_Point2d &) –
  • S (TopOpeBRep_SequenceOfPoint2d &) –
Return type:

None

Return type:

None

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

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (TopOpeBRep_Point2d &) –
  • Index
  • S (TopOpeBRep_SequenceOfPoint2d &) –
Return type:

None

Return type:

None

Last()
Return type:TopOpeBRep_Point2d
Prepend()
Parameters:
  • T (TopOpeBRep_Point2d &) –
  • S (TopOpeBRep_SequenceOfPoint2d &) –
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 (TopOpeBRep_SequenceOfPoint2d &) –
Return type:TopOpeBRep_SequenceOfPoint2d
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (TopOpeBRep_Point2d &) –
Return type:

None

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

None

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

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_ShapeIntersector

Bases: object

ChangeEdgesIntersector()
  • return the current intersection of two Edges.
Return type:TopOpeBRep_EdgesIntersector
ChangeFaceEdgeIntersector()
  • return the current intersection of a Face and an Edge.
Return type:TopOpeBRep_FaceEdgeIntersector
ChangeFacesIntersector()
  • return the current intersection of two Faces.
Return type:TopOpeBRep_FacesIntersector
CurrentGeomShape()
  • return geometric shape <Index> ( = 1 or 2 ) of current intersection.
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
DumpCurrent()
Parameters:K (Standard_Integer) –
Return type:None
GetTolerances()
  • return MAX of intersection tolerances with which FacesIntersector from TopOpeBRep was working.
Parameters:
  • tol1 (float &) –
  • tol2 (float &) –
Return type:

None

Index()
Parameters:K (Standard_Integer) –
Return type:int
InitIntersection()
  • Initialize the intersection of shapes S1,S2.
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
Return type:

None

  • Initialize the intersection of shapes S1,S2.
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
Return type:

None

MoreIntersection()
  • returns True if there are more intersection between two the shapes.
Return type:bool
NextIntersection()
  • search for the next intersection between the two shapes.
Return type:None
RejectedFaces()
Parameters:
  • anObj (TopoDS_Shape &) –
  • aReference (TopoDS_Shape &) –
  • aListOfShape (TopTools_ListOfShape &) –
Return type:

None

Shape()
  • return the shape <Index> ( = 1 or 2) given to InitIntersection(). Index = 1 will return S1, Index = 2 will return S2.
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_ShapeIntersector2d

Bases: object

ChangeEdgesIntersector()
  • return the current intersection of two Edges.
Return type:TopOpeBRep_EdgesIntersector
CurrentGeomShape()
  • return geometric shape <Index> ( = 1 or 2 ) of current intersection.
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
DumpCurrent()
Parameters:K (Standard_Integer) –
Return type:None
Index()
Parameters:K (Standard_Integer) –
Return type:int
InitIntersection()
  • Initialize the intersection of shapes S1,S2.
Parameters:
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
Return type:

None

MoreIntersection()
  • returns True if there are more intersection between two the shapes.
Return type:bool
NextIntersection()
  • search for the next intersection between the two shapes.
Return type:None
Shape()
  • return the shape <Index> ( = 1 or 2) given to InitIntersection(). Index = 1 will return S1, Index = 2 will return S2.
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_ShapeScanner

Bases: object

AddBoxesMakeCOB()
Parameters:
  • S (TopoDS_Shape &) –
  • TS (TopAbs_ShapeEnum) –
  • TA (TopAbs_ShapeEnum) – default value is TopAbs_SHAPE
  • S
  • TS
  • TA – default value is TopAbs_SHAPE
Return type:

None

Return type:

None

BoxSort()
Return type:TopOpeBRepTool_BoxSort
ChangeBoxSort()
Return type:TopOpeBRepTool_BoxSort
Clear()
Return type:None
Current()
Return type:TopoDS_Shape
DumpCurrentToString()

TopOpeBRep_ShapeScanner_DumpCurrentToString(TopOpeBRep_ShapeScanner self) -> std::string

Index()
Return type:int
Init()
Parameters:
  • E (TopoDS_Shape &) –
  • X (TopOpeBRepTool_ShapeExplorer &) –
Return type:

None

Return type:

None

More()
Return type:bool
Next()
Return type:None
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_VPointInter

Bases: object

ArcOnS1()
Return type:TopoDS_Shape
ArcOnS2()
Return type:TopoDS_Shape
ChangeKeep()
  • updates VPointInter flag ‘keep’ with <keep>.
Parameters:keep (bool) –
Return type:None
Dump()
Parameters:
  • I (Standard_Integer) –
  • F (TopoDS_Face &) –
  • OS (Standard_OStream &) –
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
  • OS
Return type:

Standard_OStream

Return type:

Standard_OStream

Edge()
  • get the edge of shape I (1,2) containing the point. Returned shape is null if the VPoint is not on an edge of shape I (1,2).
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
EdgeON()
  • set the shape Eon of shape I (1,2) containing the point, and parameter <Par> of point on <Eon>.
Parameters:
  • Eon (TopoDS_Shape &) –
  • Par (float) –
  • I (Standard_Integer) –
Return type:

None

  • get the edge of shape I (1,2) containing the point.
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
EdgeONParameter()
  • get the parameter on edge of shape I (1,2) containing the point.
Parameters:I (Standard_Integer) –
Return type:float
EdgeParameter()
  • get the parameter on edge of shape I (1,2) containing the point
Parameters:I (Standard_Integer) –
Return type:float
EqualpP()
  • returns <True> if the 3d points and the parameters of the VPoints are same
Parameters:VP (TopOpeBRep_VPointInter &) –
Return type:bool
GetShapes()
Parameters:
  • I1 (Standard_Integer &) –
  • I2 (Standard_Integer &) –
Return type:

None

Index()
Parameters:I (Standard_Integer) –
Return type:None
Return type:int
IsInternal()
Return type:bool
IsMultiple()
  • Returns True if the point belongs to several intersection lines.
Return type:bool
IsOnDomS1()
Return type:bool
IsOnDomS2()
Return type:bool
IsVertex()
Parameters:I (Standard_Integer) –
Return type:bool
IsVertexOnS1()
  • Returns True if the point is a vertex on the initial restriction facet of the first surface.
Return type:bool
IsVertexOnS2()
  • Returns True if the point is a vertex on the initial restriction facet of the second surface.
Return type:bool
Keep()
  • Returns value of myKeep (does not evaluate states) False at creation of VPoint. Updated by State(State from TopAbs,Integer from Standard)
Return type:bool
PThePointOfIntersectionDummy()
Return type:TopOpeBRep_PThePointOfIntersection
ParameterOnArc1()
Return type:float
ParameterOnArc2()
Return type:float
ParameterOnLine()
Return type:float
ParametersOnS1()
Parameters:
  • u (float &) –
  • v (float &) –
Return type:

None

ParametersOnS2()
Parameters:
  • u (float &) –
  • v (float &) –
Return type:

None

ParonE()
  • returns <false> if the vpoint is not given on arc <E>, else returns <par> parameter on <E>
Parameters:
  • E (TopoDS_Edge &) –
  • par (float &) –
Return type:

bool

SetPoint()
Parameters:P (IntPatch_Point &) –
Return type:None
SetShapes()
Parameters:
  • I1 (Standard_Integer) –
  • I2 (Standard_Integer) –
Return type:

None

ShapeIndex()
  • returns value of filed myShapeIndex = 0,1,2,3 0 means the VPoint is on no restriction 1 means the VPoint is on the restriction 1 2 means the VPoint is on the restriction 2 3 means the VPoint is on the restrictions 1 and 2
Return type:int
  • set value of shape supporting me (0,1,2,3).
Parameters:I (Standard_Integer) –
Return type:None
State()
  • get state of VPoint within the domain of geometric shape domain <I> (= 1 or 2).
Parameters:I (Standard_Integer) –
Return type:TopAbs_State
  • Set the state of VPoint within the domain of the geometric shape <I> (= 1 or 2).
Parameters:
  • S (TopAbs_State) –
  • I (Standard_Integer) –
Return type:

None

SurfaceParameters()
  • get the parameter on surface of shape I (1,2) containing the point
Parameters:I (Standard_Integer) –
Return type:gp_Pnt2d
Tolerance()
Return type:float
TransitionLineArc1()
Return type:IntSurf_Transition
TransitionLineArc2()
Return type:IntSurf_Transition
TransitionOnS1()
Return type:IntSurf_Transition
TransitionOnS2()
Return type:IntSurf_Transition
UpdateKeep()
  • set myKeep value according to current states.
Return type:None
Value()
Return type:gp_Pnt
Vertex()
Parameters:I (Standard_Integer) –
Return type:TopoDS_Shape
VertexOnS1()
  • Returns the information about the point when it is on the domain of the first patch, i-e when the function IsVertexOnS1 returns True. Otherwise, an exception is raised.
Return type:TopoDS_Shape
VertexOnS2()
  • Returns the information about the point when it is on the domain of the second patch, i-e when the function IsVertexOnS2 returns True. Otherwise, an exception is raised.
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_VPointInterClassifier

Bases: object

Edge()
  • returns the edge containing the VPoint <VP> used in the last VPointPosition() call. Edge is defined if the state previously computed is ON, else Edge is a null shape.
Return type:TopoDS_Shape
EdgeParameter()
  • returns the parameter of the VPoint <VP> on Edge()
Return type:float
VPointPosition()
  • compute position of VPoint <VP> regarding with face <F>. <ShapeIndex> (= 1,2) indicates which (u,v) point of <VP> is used. when state is ON, set VP.EdgeON() with the edge containing <VP> and associated parameter. returns state of VP on ShapeIndex.
Parameters:
  • F (TopoDS_Shape &) –
  • VP (TopOpeBRep_VPointInter &) –
  • ShapeIndex (Standard_Integer) –
  • PC (TopOpeBRep_PointClassifier &) –
  • AssumeINON (bool) –
  • Tol (float) –
Return type:

TopAbs_State

thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_VPointInterIterator(*args)

Bases: object

ChangeCurrentVP()
Return type:TopOpeBRep_VPointInter
CurrentVP()
Return type:TopOpeBRep_VPointInter
CurrentVPIndex()
Return type:int
Init()
Parameters:
  • LI (TopOpeBRep_LineInter &) –
  • checkkeep (bool) – default value is Standard_False
  • LI
  • checkkeep – default value is Standard_False
Return type:

None

Return type:

None

Return type:

None

More()
Return type:bool
Next()
Return type:None
PLineInterDummy()
Return type:TopOpeBRep_PLineInter
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_WPointInter

Bases: object

PPntOn2SDummy()
Return type:TopOpeBRep_PPntOn2S
Parameters()
Parameters:
  • U1 (float &) –
  • V1 (float &) –
  • U2 (float &) –
  • V2 (float &) –
Return type:

None

ParametersOnS1()
Parameters:
  • U (float &) –
  • V (float &) –
Return type:

None

ParametersOnS2()
Parameters:
  • U (float &) –
  • V (float &) –
Return type:

None

Set()
Parameters:P (IntSurf_PntOn2S &) –
Return type:None
Value()
Return type:gp_Pnt
ValueOnS1()
Return type:gp_Pnt2d
ValueOnS2()
Return type:gp_Pnt2d
thisown

The membership flag

class OCC.TopOpeBRep.TopOpeBRep_WPointInterIterator(*args)

Bases: object

CurrentWP()
Return type:TopOpeBRep_WPointInter
Init()
Parameters:LI (TopOpeBRep_LineInter &) –
Return type:None
Return type:None
More()
Return type:bool
Next()
Return type:None
PLineInterDummy()
Return type:TopOpeBRep_PLineInter
thisown

The membership flag

class OCC.TopOpeBRep.topopebrep(*args, **kwargs)

Bases: object

static Print(*args)
  • Prints the name of <TLC> as a String on the Stream <S> and returns <S>.
Parameters:
  • TLC (TopOpeBRep_TypeLineCurve) –
  • OS (Standard_OStream &) –
Return type:

Standard_OStream

thisown

The membership flag

OCC.TopOpeBRep.topopebrep_Print(*args)
  • Prints the name of <TLC> as a String on the Stream <S> and returns <S>.
Parameters:
  • TLC (TopOpeBRep_TypeLineCurve) –
  • OS (Standard_OStream &) –
Return type:

Standard_OStream