OCC.TopOpeBRep module

class Handle_TopOpeBRep_DataMapNodeOfDataMapOfTopolTool(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_TopOpeBRep_FFDumper(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_TopOpeBRep_HArray1OfLineInter(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_TopOpeBRep_HArray1OfVPointInter(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_TopOpeBRep_Hctxee2d(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_TopOpeBRep_Hctxff2d(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_TopOpeBRep_ListNodeOfListOfBipoint(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_TopOpeBRep_SequenceNodeOfSequenceOfPoint2d(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class TopOpeBRep_Array1OfLineInter(*args)

Bases: object

Parameters:
  • Low (int) –
  • Up (int) –
  • Item (TopOpeBRep_LineInter &) –
  • Low
  • Up
Return type:

None

Return type:

None

Assign()
Parameters:Other (TopOpeBRep_Array1OfLineInter &) –
Return type:TopOpeBRep_Array1OfLineInter
ChangeValue()
Parameters:Index (int) –
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 (int) –
  • Value (TopOpeBRep_LineInter &) –
Return type:

None

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

The membership flag

class TopOpeBRep_Array1OfVPointInter(*args)

Bases: object

Parameters:
  • Low (int) –
  • Up (int) –
  • Item (TopOpeBRep_VPointInter &) –
  • Low
  • Up
Return type:

None

Return type:

None

Assign()
Parameters:Other (TopOpeBRep_Array1OfVPointInter &) –
Return type:TopOpeBRep_Array1OfVPointInter
ChangeValue()
Parameters:Index (int) –
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 (int) –
  • Value (TopOpeBRep_VPointInter &) –
Return type:

None

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

The membership flag

class TopOpeBRep_Bipoint(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

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

The membership flag

class TopOpeBRep_DSFiller(*args)

Bases: object

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

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

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

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 TopOpeBRep_DataMapIteratorOfDataMapOfTopolTool(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class TopOpeBRep_DataMapNodeOfDataMapOfTopolTool(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (TopoDS_Shape &) –
  • I (Handle_BRepTopAdaptor_TopolTool &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

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

The membership flag

class TopOpeBRep_DataMapOfTopolTool(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
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 (int) –
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 TopOpeBRep_EdgesFiller(*args)

Bases: object

Return type:None
Face()
Parameters:
  • I (int) –
  • 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 TopOpeBRep_EdgesIntersector(*args)

Bases: object

Return type:None
Curve()
Parameters:Index (int) –
Return type:Geom2dAdaptor_Curve
Delete()
Return type:void
Dimension()
Parameters:D (int) –
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 (int) – default value is 0
  • ie2 (int) – default value is 0
Return type:

None

Edge()
Parameters:Index (int) –
Return type:TopoDS_Shape
Face()
Parameters:Index (int) –
Return type:TopoDS_Shape
FacesSameOriented()
Return type:bool
ForceTolerances()
Parameters:
Return type:

None

HasSegment()
  • true if at least one intersection segment.
Return type:bool
InitPoint()
Parameters:selectkeep (bool) – default value is Standard_True
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
Return type:

None

Point()
Return type:TopOpeBRep_Point2d
Parameters:I (int) –
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 (int) –
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 TopOpeBRep_FFDumper(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:PFF (TopOpeBRep_PFacesFiller &) –
Return type:None
DumpDSP()
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • GK (TopOpeBRepDS_Kind) –
  • G (int) –
  • newinDS (bool) –
Return type:

None

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

None

Return type:

None

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

None

Return type:

None

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

int

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

The membership flag

class TopOpeBRep_FFTransitionTool

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 (int) –
  • R (TopoDS_Shape &) –
  • E (TopoDS_Shape &) –
  • F (TopoDS_Shape &) –
Return type:

TopOpeBRepDS_Transition

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

TopOpeBRepDS_Transition

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

TopOpeBRepDS_Transition

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

TopOpeBRepDS_Transition

Return type:

TopOpeBRepDS_Transition

thisown

The membership flag

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 (int) –
  • R (TopoDS_Shape &) –
  • E (TopoDS_Shape &) –
  • F (TopoDS_Shape &) –
Return type:

TopOpeBRepDS_Transition

TopOpeBRep_FFTransitionTool_ProcessEdgeTransition(*args)
Parameters:
  • P (TopOpeBRep_VPointInter &) –
  • Index (int) –
  • LineOrientation (TopAbs_Orientation) –
Return type:

TopOpeBRepDS_Transition

TopOpeBRep_FFTransitionTool_ProcessFaceTransition(*args)
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • Index (int) –
  • FaceOrientation (TopAbs_Orientation) –
Return type:

TopOpeBRepDS_Transition

TopOpeBRep_FFTransitionTool_ProcessLineTransition(*args)
Parameters:
  • P (TopOpeBRep_VPointInter &) –
  • Index (int) –
  • EdgeOrientation (TopAbs_Orientation) –
  • P
  • L (TopOpeBRep_LineInter &) –
Return type:

TopOpeBRepDS_Transition

Return type:

TopOpeBRepDS_Transition

class TopOpeBRep_FaceEdgeFiller(*args)

Bases: object

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

None

thisown

The membership flag

class TopOpeBRep_FaceEdgeIntersector(*args)

Bases: object

Return type:None
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 (int) –
  • 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 (int) –
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 (int) –
  • 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 TopOpeBRep_FacesFiller(*args)

Bases: object

Return type:None
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 (int) –
Return type:TopoDS_Face
FaceFaceTransition()
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • I (int) –
  • 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 (int &) –
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 (int &) –
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 (int &) –
  • K (TopOpeBRepDS_Kind &) –
Return type:

bool

GetTraceIndex()
Parameters:
  • exF1 (int &) –
  • exF2 (int &) –
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 (int) –
  • SI12 (int) –
  • 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 (int) –
  • 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 (int) –
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 (int) –
Return type:

None

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

None

ProcessVPondgE()
  • VP processing on degenerated arc.
Parameters:
  • VP (TopOpeBRep_VPointInter &) –
  • ShapeIndex (int) –
  • PVKind (TopOpeBRepDS_Kind &) –
  • PVIndex (int &) –
  • 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 (int) –
  • exF2 (int) –
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 (int) –
  • SI (int) –
  • 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

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

bool

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 (int) –
  • SI12 (int) –
  • T (TopOpeBRepDS_Transition &) –
Return type:

bool

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

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

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 (int) –
  • SI (int) –
  • isINOUT (bool) –
Return type:

bool

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

float

class TopOpeBRep_FacesIntersector(*args)

Bases: object

Return type:None
ChangeLine()
Parameters:IL (int) –
Return type:TopOpeBRep_LineInter
CurrentLine()
Return type:TopOpeBRep_LineInter
CurrentLineIndex()
Return type:int
Face()
  • returns first or second intersected face.
Parameters:Index (int) –
Return type:TopoDS_Shape
ForceTolerances()
  • Force the tolerance values used by the next Perform(S1,S2) call.
Parameters:
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 TopOpeBRep_GeomTool

Bases: object

static MakeBSpline1fromWALKING2d(*args)
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • SI (int) –
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

TopOpeBRep_GeomTool_MakeBSpline1fromWALKING2d(*args)
Parameters:
  • L (TopOpeBRep_LineInter &) –
  • SI (int) –
Return type:

Handle_Geom2d_Curve

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

void

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 TopOpeBRep_HArray1OfLineInter(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • Low (int) –
  • Up (int) –
  • Low
  • Up
  • V (TopOpeBRep_LineInter &) –
Return type:

None

Return type:

None

Array1()
Return type:TopOpeBRep_Array1OfLineInter
ChangeArray1()
Return type:TopOpeBRep_Array1OfLineInter
ChangeValue()
Parameters:Index (int) –
Return type:TopOpeBRep_LineInter
GetHandle()
Init()
Parameters:V (TopOpeBRep_LineInter &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (int) –
  • Value (TopOpeBRep_LineInter &) –
Return type:

None

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

The membership flag

class TopOpeBRep_HArray1OfVPointInter(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • Low (int) –
  • Up (int) –
  • Low
  • Up
  • V (TopOpeBRep_VPointInter &) –
Return type:

None

Return type:

None

Array1()
Return type:TopOpeBRep_Array1OfVPointInter
ChangeArray1()
Return type:TopOpeBRep_Array1OfVPointInter
ChangeValue()
Parameters:Index (int) –
Return type:TopOpeBRep_VPointInter
GetHandle()
Init()
Parameters:V (TopOpeBRep_VPointInter &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (int) –
  • Value (TopOpeBRep_VPointInter &) –
Return type:

None

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

The membership flag

class TopOpeBRep_Hctxee2d(*args)

Bases: OCC.MMgt.MMgt_TShared

Return type:None
Curve()
Parameters:I (int) –
Return type:Geom2dAdaptor_Curve
Domain()
Parameters:I (int) –
Return type:IntRes2d_Domain
Edge()
Parameters:I (int) –
Return type:TopoDS_Shape
GetHandle()
SetEdges()
Parameters:
  • E1 (TopoDS_Edge &) –
  • E2 (TopoDS_Edge &) –
  • BAS1 (BRepAdaptor_Surface &) –
  • BAS2 (BRepAdaptor_Surface &) –
Return type:

None

thisown

The membership flag

class TopOpeBRep_Hctxff2d(*args)

Bases: OCC.MMgt.MMgt_TShared

Return type:None
Face()
Parameters:I (int) –
Return type:TopoDS_Face
FaceSameOrientedWithRef()
Parameters:I (int) –
Return type:bool
FacesSameOriented()
Return type:bool
GetHandle()
GetMaxTolerance()
Return type:float
GetTolerances()
Parameters:
  • Tol1 (float &) –
  • Tol2 (float &) –
Return type:

None

HSurface()
Parameters:I (int) –
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:
Return type:

None

SurfacesSameOriented()
Return type:bool
thisown

The membership flag

class TopOpeBRep_LineInter(*args)

Bases: object

Return type:None
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 (int) –
Return type:bool
Bounds()
Parameters:
  • f (float &) –
  • l (float &) –
Return type:

None

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

Handle_Geom_Curve

Parameters:
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 (int) –
  • s1 (TCollection_AsciiString &) –
  • s2 (TCollection_AsciiString &) –
Return type:

None

FaceFaceTransition()
Parameters:I (int) –
Return type:TopOpeBRepDS_Transition
GetTraceIndex()
Parameters:
  • exF1 (int &) –
  • exF2 (int &) –
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 (int) –
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 (int) –
  • exF2 (int) –
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 (int &) –
  • l (int &) –
  • n (int &) –
Return type:

None

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

The membership flag

class TopOpeBRep_ListIteratorOfListOfBipoint(*args)

Bases: object

Return type:None
Parameters:L (TopOpeBRep_ListOfBipoint &) –
Return type:None
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 TopOpeBRep_ListNodeOfListOfBipoint(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (TopOpeBRep_Bipoint &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:TopOpeBRep_Bipoint
thisown

The membership flag

class TopOpeBRep_ListOfBipoint(*args)

Bases: object

Return type:None
Parameters:Other (TopOpeBRep_ListOfBipoint &) –
Return type:None
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 TopOpeBRep_Point2d(*args)

Bases: object

Return type:None
ChangeTransition()
Parameters:I (int) –
Return type:TopOpeBRepDS_Transition
Dump()
Parameters:
  • ie1 (int) – default value is 0
  • ie2 (int) – default value is 0
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 (int) –
Return type:bool
Keep()
Return type:bool
Parameter()
Parameters:I (int) –
Return type:float
Pint()
Return type:IntRes2d_IntersectionPoint
SegmentAncestors()
Parameters:
  • IP1 (int &) –
  • IP2 (int &) –
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 (int) –
Return type:None
SetIsPointOfSegment()
Parameters:B (bool) –
Return type:None
SetIsVertex()
Parameters:
Return type:

None

SetKeep()
Parameters:B (bool) –
Return type:None
SetParameter()
Parameters:
Return type:

None

SetPint()
Parameters:P (IntRes2d_IntersectionPoint &) –
Return type:None
SetSegmentAncestors()
Parameters:
Return type:

None

SetStatus()
Parameters:S (TopOpeBRep_P2Dstatus) –
Return type:None
SetTolerance()
Parameters:T (float) –
Return type:None
SetTransition()
Parameters:
  • I (int) –
  • 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 (int) –
  • V (TopoDS_Vertex &) –
Return type:

None

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

The membership flag

class TopOpeBRep_PointClassifier(*args)

Bases: object

Return type:None
Classify()
  • compute position of point <P> regarding with the face <F>.
Parameters:
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 TopOpeBRep_PointGeomTool

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

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

bool

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 TopOpeBRep_SequenceNodeOfSequenceOfPoint2d(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (TopOpeBRep_Point2d &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:TopOpeBRep_Point2d
thisown

The membership flag

class TopOpeBRep_SequenceOfPoint2d(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (TopOpeBRep_SequenceOfPoint2d &) –
Return type:None
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 (int) –
Return type:TopOpeBRep_Point2d
Clear()
Return type:None
First()
Return type:TopOpeBRep_Point2d
InsertAfter()
Parameters:
  • Index (int) –
  • T (TopOpeBRep_Point2d &) –
  • Index
  • S (TopOpeBRep_SequenceOfPoint2d &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • 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 (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (TopOpeBRep_SequenceOfPoint2d &) –
Return type:TopOpeBRep_SequenceOfPoint2d
SetValue()
Parameters:
  • Index (int) –
  • I (TopOpeBRep_Point2d &) –
Return type:

None

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

None

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

The membership flag

class TopOpeBRep_ShapeIntersector(*args)

Bases: object

Return type:None
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 (int) –
Return type:TopoDS_Shape
DumpCurrent()
Parameters:K (int) –
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 (int) –
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 (int) –
Return type:TopoDS_Shape
thisown

The membership flag

class TopOpeBRep_ShapeIntersector2d(*args)

Bases: object

Return type:None
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 (int) –
Return type:TopoDS_Shape
DumpCurrent()
Parameters:K (int) –
Return type:None
Index()
Parameters:K (int) –
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 (int) –
Return type:TopoDS_Shape
thisown

The membership flag

class TopOpeBRep_ShapeScanner(*args)

Bases: object

Return type:None
AddBoxesMakeCOB()
Parameters:
  • S (TopoDS_Shape &) –
  • TS (TopAbs_ShapeEnum) –
  • TA (TopAbs_ShapeEnum) – default value is TopAbs_SHAPE
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 TopOpeBRep_VPointInter(*args)

Bases: object

Return type:None
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 (int) –
  • 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 (int) –
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 (int) –
Return type:

None

  • get the edge of shape I (1,2) containing the point.
Parameters:I (int) –
Return type:TopoDS_Shape
EdgeONParameter()
  • get the parameter on edge of shape I (1,2) containing the point.
Parameters:I (int) –
Return type:float
EdgeParameter()
  • get the parameter on edge of shape I (1,2) containing the point
Parameters:I (int) –
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 (int &) –
  • I2 (int &) –
Return type:

None

Index()
Parameters:I (int) –
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 (int) –
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:
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 (int) –
Return type:None
State()
  • get state of VPoint within the domain of geometric shape domain <I> (= 1 or 2).
Parameters:I (int) –
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 (int) –
Return type:

None

SurfaceParameters()
  • get the parameter on surface of shape I (1,2) containing the point
Parameters:I (int) –
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 (int) –
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 TopOpeBRep_VPointInterClassifier(*args)

Bases: object

Return type:None
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 (int) –
  • PC (TopOpeBRep_PointClassifier &) –
  • AssumeINON (bool) –
  • Tol (float) –
Return type:

TopAbs_State

thisown

The membership flag

class TopOpeBRep_VPointInterIterator(*args)

Bases: object

Return type:None
Parameters:LI (TopOpeBRep_LineInter &) –
Return type:None
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
Return type:

None

Return type:

None

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

The membership flag

class TopOpeBRep_WPointInter(*args)

Bases: object

Return type:None
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 TopOpeBRep_WPointInterIterator(*args)

Bases: object

Return type:None
Parameters:LI (TopOpeBRep_LineInter &) –
Return type:None
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

register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases

class topopebrep

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

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