OCC.HLRTopoBRep module¶
This Package provides some topologicalreconstruction services needed by the Hidden LineRemoval Algorithms using OutLine and IsoLinefacilities, applied to an object represented by aBRep data structure.
- 
class HLRTopoBRep_DSFiller¶
- Bases: - object- 
static Insert()¶
- Stores in <DS> the outlines of <S> using the current outliner and stores the isolines in <DS> using a Hatcher.
 - Parameters: - S (TopoDS_Shape &) –
- FO (Contap_Contour &) –
- DS (HLRTopoBRep_Data &) –
- MST (BRepTopAdaptor_MapOfShapeTool &) –
- nbIso (int) –
 - Return type: - void 
 - 
thisown¶
- The membership flag 
 
- 
static 
- 
HLRTopoBRep_DSFiller_Insert()¶
- Stores in <DS> the outlines of <S> using the current outliner and stores the isolines in <DS> using a Hatcher.
 - Parameters: - S (TopoDS_Shape &) –
- FO (Contap_Contour &) –
- DS (HLRTopoBRep_Data &) –
- MST (BRepTopAdaptor_MapOfShapeTool &) –
- nbIso (int) –
 - Return type: - void 
- 
class HLRTopoBRep_Data(*args)¶
- Bases: - object- Return type: - None - 
AddIntL()¶
- Parameters: - F (TopoDS_Face &) – - Return type: - TopTools_ListOfShape 
 - 
AddIsoL()¶
- Parameters: - F (TopoDS_Face &) – - Return type: - TopTools_ListOfShape 
 - 
AddOutL()¶
- Parameters: - F (TopoDS_Face &) – - Return type: - TopTools_ListOfShape 
 - 
AddSplE()¶
- Parameters: - E (TopoDS_Edge &) – - Return type: - TopTools_ListOfShape 
 - 
Edge()¶
- Return type: - TopoDS_Edge 
 - 
EdgeSplE()¶
- Returns the list of the edges.
 - Parameters: - E (TopoDS_Edge &) – - Return type: - TopTools_ListOfShape 
 - 
FaceHasIntL()¶
- Returns True if the Face has internal outline.
 - Parameters: - F (TopoDS_Face &) – - Return type: - bool 
 - 
FaceHasIsoL()¶
- Returns True if the Face has isolines.
 - Parameters: - F (TopoDS_Face &) – - Return type: - bool 
 - 
FaceHasOutL()¶
- Returns True if the Face has outlines on restriction.
 - Parameters: - F (TopoDS_Face &) – - Return type: - bool 
 - 
FaceIntL()¶
- Returns the list of the internal OutLines.
 - Parameters: - F (TopoDS_Face &) – - Return type: - TopTools_ListOfShape 
 - 
FaceIsoL()¶
- Returns the list of the IsoLines.
 - Parameters: - F (TopoDS_Face &) – - Return type: - TopTools_ListOfShape 
 - 
FaceOutL()¶
- Returns the list of the OutLines on restriction.
 - Parameters: - F (TopoDS_Face &) – - Return type: - TopTools_ListOfShape 
 - 
InitVertex()¶
- Start an iteration on the vertices of E.
 - Parameters: - E (TopoDS_Edge &) – - Return type: - None 
 - 
InsertBefore()¶
- Insert before the current position.
 - Parameters: - V (TopoDS_Vertex &) –
- P (float) –
 - Return type: 
 - 
IsIntV()¶
- Returns True if V is an internal outline vertex.
 - Parameters: - V (TopoDS_Vertex &) – - Return type: - bool 
 - 
IsOutV()¶
- Returns True if V is an outline vertex on a restriction.
 - Parameters: - V (TopoDS_Vertex &) – - Return type: - bool 
 - 
NewSOldS()¶
- Parameters: - New (TopoDS_Shape &) – - Return type: - TopoDS_Shape 
 - 
Vertex()¶
- Return type: - TopoDS_Vertex 
 - 
thisown¶
- The membership flag 
 
- 
- 
class HLRTopoBRep_DataMapIteratorOfDataMapOfShapeFaceData(*args)¶
- Bases: - OCC.TCollection.TCollection_BasicMapIterator- Return type: - None - Parameters: - aMap (HLRTopoBRep_DataMapOfShapeFaceData &) – - Return type: - None - 
Key()¶
- Return type: - TopoDS_Shape 
 - 
Value()¶
- Return type: - HLRTopoBRep_FaceData 
 - 
thisown¶
- The membership flag 
 
- 
- 
class HLRTopoBRep_DataMapIteratorOfMapOfShapeListOfVData(*args)¶
- Bases: - OCC.TCollection.TCollection_BasicMapIterator- Return type: - None - Parameters: - aMap (HLRTopoBRep_MapOfShapeListOfVData &) – - Return type: - None - 
Key()¶
- Return type: - TopoDS_Shape 
 - 
Value()¶
- Return type: - HLRTopoBRep_ListOfVData 
 - 
thisown¶
- The membership flag 
 
- 
- 
class HLRTopoBRep_DataMapNodeOfDataMapOfShapeFaceData(*args)¶
- Bases: - OCC.TCollection.TCollection_MapNode- Parameters: - K (TopoDS_Shape &) –
- I (HLRTopoBRep_FaceData &) –
- n (TCollection_MapNodePtr &) –
 - Return type: - 
GetHandle()¶
 - 
Key()¶
- Return type: - TopoDS_Shape 
 - 
Value()¶
- Return type: - HLRTopoBRep_FaceData 
 - 
thisown¶
- The membership flag 
 
- 
class HLRTopoBRep_DataMapNodeOfMapOfShapeListOfVData(*args)¶
- Bases: - OCC.TCollection.TCollection_MapNode- Parameters: - K (TopoDS_Shape &) –
- I (HLRTopoBRep_ListOfVData &) –
- n (TCollection_MapNodePtr &) –
 - Return type: - 
GetHandle()¶
 - 
Key()¶
- Return type: - TopoDS_Shape 
 - 
Value()¶
- Return type: - HLRTopoBRep_ListOfVData 
 - 
thisown¶
- The membership flag 
 
- 
class HLRTopoBRep_DataMapOfShapeFaceData(*args)¶
- Bases: - OCC.TCollection.TCollection_BasicMap- Parameters: - NbBuckets (int) – default value is 1 - Return type: - None - 
Assign()¶
- Parameters: - Other (HLRTopoBRep_DataMapOfShapeFaceData &) – - Return type: - HLRTopoBRep_DataMapOfShapeFaceData 
 - 
ChangeFind()¶
- Parameters: - K (TopoDS_Shape &) – - Return type: - HLRTopoBRep_FaceData 
 - 
ChangeFind1()¶
- Parameters: - K (TopoDS_Shape &) – - Return type: - Standard_Address 
 - 
Find()¶
- Parameters: - K (TopoDS_Shape &) – - Return type: - HLRTopoBRep_FaceData 
 - 
Find1()¶
- Parameters: - K (TopoDS_Shape &) – - Return type: - Standard_Address 
 - 
Set()¶
- Parameters: - Other (HLRTopoBRep_DataMapOfShapeFaceData &) – - Return type: - HLRTopoBRep_DataMapOfShapeFaceData 
 - 
thisown¶
- The membership flag 
 
- 
- 
class HLRTopoBRep_FaceData(*args)¶
- Bases: - object- Return type: - None - 
AddIntL()¶
- Return type: - TopTools_ListOfShape 
 - 
AddIsoL()¶
- Return type: - TopTools_ListOfShape 
 - 
AddOutL()¶
- Return type: - TopTools_ListOfShape 
 - 
FaceIntL()¶
- Return type: - TopTools_ListOfShape 
 - 
FaceIsoL()¶
- Return type: - TopTools_ListOfShape 
 - 
FaceOutL()¶
- Return type: - TopTools_ListOfShape 
 - 
thisown¶
- The membership flag 
 
- 
- 
class HLRTopoBRep_FaceIsoLiner¶
- Bases: - object- 
static MakeIsoLine()¶
- Parameters: - Return type: - void 
 - 
static MakeVertex()¶
- Parameters: - Return type: 
 - 
static Perform()¶
- Parameters: - Return type: - void 
 - 
thisown¶
- The membership flag 
 
- 
static 
- 
HLRTopoBRep_FaceIsoLiner_MakeIsoLine()¶
- Parameters: - Return type: - void 
- 
HLRTopoBRep_FaceIsoLiner_MakeVertex()¶
- Parameters: - Return type: 
- 
HLRTopoBRep_FaceIsoLiner_Perform()¶
- Parameters: - Return type: - void 
- 
class HLRTopoBRep_ListIteratorOfListOfVData(*args)¶
- Bases: - object- Return type: - None - Parameters: - L (HLRTopoBRep_ListOfVData &) – - Return type: - None - 
Value()¶
- Return type: - HLRTopoBRep_VData 
 - 
thisown¶
- The membership flag 
 
- 
- 
class HLRTopoBRep_ListNodeOfListOfVData(*args)¶
- Bases: - OCC.TCollection.TCollection_MapNode- Parameters: - I (HLRTopoBRep_VData &) –
- n (TCollection_MapNodePtr &) –
 - Return type: - 
GetHandle()¶
 - 
Value()¶
- Return type: - HLRTopoBRep_VData 
 - 
thisown¶
- The membership flag 
 
- 
class HLRTopoBRep_ListOfVData(*args)¶
- Bases: - object- Return type: - None - Parameters: - Other (HLRTopoBRep_ListOfVData &) – - Return type: - None - 
Append()¶
- Parameters: - I (HLRTopoBRep_VData &) –
- I –
- theIt (HLRTopoBRep_ListIteratorOfListOfVData &) –
- Other (HLRTopoBRep_ListOfVData &) –
 - Return type: - Return type: - Return type: 
 - 
First()¶
- Return type: - HLRTopoBRep_VData 
 - 
InsertAfter()¶
- Parameters: - I (HLRTopoBRep_VData &) –
- It (HLRTopoBRep_ListIteratorOfListOfVData &) –
- Other (HLRTopoBRep_ListOfVData &) –
- It –
 - Return type: - Return type: 
 - 
InsertBefore()¶
- Parameters: - I (HLRTopoBRep_VData &) –
- It (HLRTopoBRep_ListIteratorOfListOfVData &) –
- Other (HLRTopoBRep_ListOfVData &) –
- It –
 - Return type: - Return type: 
 - 
Last()¶
- Return type: - HLRTopoBRep_VData 
 - 
Prepend()¶
- Parameters: - I (HLRTopoBRep_VData &) –
- I –
- theIt (HLRTopoBRep_ListIteratorOfListOfVData &) –
- Other (HLRTopoBRep_ListOfVData &) –
 - Return type: - Return type: - Return type: 
 - 
thisown¶
- The membership flag 
 
- 
- 
class HLRTopoBRep_MapOfShapeListOfVData(*args)¶
- Bases: - OCC.TCollection.TCollection_BasicMap- Parameters: - NbBuckets (int) – default value is 1 - Return type: - None - 
Assign()¶
- Parameters: - Other (HLRTopoBRep_MapOfShapeListOfVData &) – - Return type: - HLRTopoBRep_MapOfShapeListOfVData 
 - 
ChangeFind()¶
- Parameters: - K (TopoDS_Shape &) – - Return type: - HLRTopoBRep_ListOfVData 
 - 
ChangeFind1()¶
- Parameters: - K (TopoDS_Shape &) – - Return type: - Standard_Address 
 - 
Find()¶
- Parameters: - K (TopoDS_Shape &) – - Return type: - HLRTopoBRep_ListOfVData 
 - 
Find1()¶
- Parameters: - K (TopoDS_Shape &) – - Return type: - Standard_Address 
 - 
Set()¶
- Parameters: - Other (HLRTopoBRep_MapOfShapeListOfVData &) – - Return type: - HLRTopoBRep_MapOfShapeListOfVData 
 - 
thisown¶
- The membership flag 
 
- 
- 
class HLRTopoBRep_OutLiner(*args)¶
- Bases: - OCC.MMgt.MMgt_TShared- Return type: - Parameters: - OriSh (TopoDS_Shape &) –
- OriS (TopoDS_Shape &) –
- OutS (TopoDS_Shape &) –
 - Return type: - Return type: - 
DataStructure()¶
- Return type: - HLRTopoBRep_Data 
 - 
Fill()¶
- Parameters: - P (HLRAlgo_Projector &) –
- MST (BRepTopAdaptor_MapOfShapeTool &) –
- nbIso (int) –
 - Return type: 
 - 
GetHandle()¶
 - 
OriginalShape()¶
- Parameters: - OriS (TopoDS_Shape &) – - Return type: - None - Return type: - TopoDS_Shape 
 - 
OutLinedShape()¶
- Parameters: - OutS (TopoDS_Shape &) – - Return type: - None - Return type: - TopoDS_Shape 
 - 
thisown¶
- The membership flag 
 
- 
class HLRTopoBRep_VData(*args)¶
- Bases: - object- Return type: - Parameters: - P (float) –
- V (TopoDS_Shape &) –
 - Return type: - 
Vertex()¶
- Return type: - TopoDS_Shape 
 - 
thisown¶
- The membership flag 
 
- 
class Handle_HLRTopoBRep_DataMapNodeOfDataMapOfShapeFaceData(*args)¶
- Bases: - OCC.TCollection.Handle_TCollection_MapNode- 
static DownCast()¶
 - 
GetObject()¶
 - 
IsNull()¶
 - 
Nullify()¶
 - 
thisown¶
- The membership flag 
 
- 
static 
- 
class Handle_HLRTopoBRep_DataMapNodeOfMapOfShapeListOfVData(*args)¶
- Bases: - OCC.TCollection.Handle_TCollection_MapNode- 
static DownCast()¶
 - 
GetObject()¶
 - 
IsNull()¶
 - 
Nullify()¶
 - 
thisown¶
- The membership flag 
 
- 
static 
- 
class Handle_HLRTopoBRep_ListNodeOfListOfVData(*args)¶
- Bases: - OCC.TCollection.Handle_TCollection_MapNode- 
static DownCast()¶
 - 
GetObject()¶
 - 
IsNull()¶
 - 
Nullify()¶
 - 
thisown¶
- The membership flag 
 
- 
static 
- 
class Handle_HLRTopoBRep_OutLiner(*args)¶
- Bases: - OCC.MMgt.Handle_MMgt_TShared- 
static DownCast()¶
 - 
GetObject()¶
 - 
IsNull()¶
 - 
Nullify()¶
 - 
thisown¶
- The membership flag 
 
- 
static 
- 
class SwigPyIterator(*args, **kwargs)¶
- Bases: - object- 
advance()¶
 - 
copy()¶
 - 
decr()¶
 - 
distance()¶
 - 
equal()¶
 - 
incr()¶
 - 
next()¶
 - 
previous()¶
 - 
thisown¶
- The membership flag 
 - 
value()¶
 
- 
- 
new_instancemethod(func, inst, cls)¶
- 
register_handle(handle, base_object)¶
- Inserts the handle into the base object to prevent memory corruption in certain cases