OCC.HLRTopoBRep module

class OCC.HLRTopoBRep.HLRTopoBRep_DSFiller(*args, **kwargs)

Bases: object

static Insert(*args)
  • 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 (Standard_Integer) –
Return type:

void

thisown

The membership flag

OCC.HLRTopoBRep.HLRTopoBRep_DSFiller_Insert(*args)
  • 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 (Standard_Integer) –
Return type:

void

class OCC.HLRTopoBRep.HLRTopoBRep_Data

Bases: object

AddIntL()
Parameters:F (TopoDS_Face &) –
Return type:TopTools_ListOfShape
AddIntV()
Parameters:V (TopoDS_Vertex &) –
Return type:None
AddIsoL()
Parameters:F (TopoDS_Face &) –
Return type:TopTools_ListOfShape
AddOldS()
Parameters:
  • NewS (TopoDS_Shape &) –
  • OldS (TopoDS_Shape &) –
Return type:

None

AddOutL()
Parameters:F (TopoDS_Face &) –
Return type:TopTools_ListOfShape
AddOutV()
Parameters:V (TopoDS_Vertex &) –
Return type:None
AddSplE()
Parameters:E (TopoDS_Edge &) –
Return type:TopTools_ListOfShape
Append()
Parameters:
  • V (TopoDS_Vertex &) –
  • P (float) –
Return type:

None

Clean()
  • Clear of all the data not needed during and after the hiding process.
Return type:None
Clear()
  • Clear of all the maps.
Return type:None
Edge()
Return type:TopoDS_Edge
EdgeHasSplE()
  • Returns True if the Edge is split.
Parameters:E (TopoDS_Edge &) –
Return type:bool
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
InitEdge()
Return type:None
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:

None

IsIntLFaceEdge()
Parameters:
  • F (TopoDS_Face &) –
  • E (TopoDS_Edge &) –
Return type:

bool

IsIntV()
  • Returns True if V is an internal outline vertex.
Parameters:V (TopoDS_Vertex &) –
Return type:bool
IsIsoLFaceEdge()
Parameters:
  • F (TopoDS_Face &) –
  • E (TopoDS_Edge &) –
Return type:

bool

IsOutLFaceEdge()
Parameters:
  • F (TopoDS_Face &) –
  • E (TopoDS_Edge &) –
Return type:

bool

IsOutV()
  • Returns True if V is an outline vertex on a restriction.
Parameters:V (TopoDS_Vertex &) –
Return type:bool
IsSplEEdgeEdge()
Parameters:
  • E1 (TopoDS_Edge &) –
  • E2 (TopoDS_Edge &) –
Return type:

bool

MoreEdge()
Return type:bool
MoreVertex()
Return type:bool
NewSOldS()
Parameters:New (TopoDS_Shape &) –
Return type:TopoDS_Shape
NextEdge()
Return type:None
NextVertex()
Return type:None
Parameter()
Return type:float
Vertex()
Return type:TopoDS_Vertex
thisown

The membership flag

class OCC.HLRTopoBRep.HLRTopoBRep_DataMapIteratorOfDataMapOfShapeFaceData(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.HLRTopoBRep.HLRTopoBRep_DataMapIteratorOfMapOfShapeListOfVData(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.HLRTopoBRep.HLRTopoBRep_DataMapNodeOfDataMapOfShapeFaceData(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

HLRTopoBRep_DataMapNodeOfDataMapOfShapeFaceData_GetHandle(HLRTopoBRep_DataMapNodeOfDataMapOfShapeFaceData self) -> Handle_HLRTopoBRep_DataMapNodeOfDataMapOfShapeFaceData

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

The membership flag

class OCC.HLRTopoBRep.HLRTopoBRep_DataMapNodeOfMapOfShapeListOfVData(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

HLRTopoBRep_DataMapNodeOfMapOfShapeListOfVData_GetHandle(HLRTopoBRep_DataMapNodeOfMapOfShapeListOfVData self) -> Handle_HLRTopoBRep_DataMapNodeOfMapOfShapeListOfVData

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

The membership flag

class OCC.HLRTopoBRep.HLRTopoBRep_DataMapOfShapeFaceData(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

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

bool

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

The membership flag

class OCC.HLRTopoBRep.HLRTopoBRep_FaceData

Bases: object

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 OCC.HLRTopoBRep.HLRTopoBRep_FaceIsoLiner(*args, **kwargs)

Bases: object

static MakeIsoLine(*args)
Parameters:
  • F (TopoDS_Face &) –
  • Iso (Handle_Geom2d_Line &) –
  • V1 (TopoDS_Vertex &) –
  • V2 (TopoDS_Vertex &) –
  • U1 (float) –
  • U2 (float) –
  • Tol (float) –
  • DS (HLRTopoBRep_Data &) –
Return type:

void

static MakeVertex(*args)
Parameters:
  • E (TopoDS_Edge &) –
  • P (gp_Pnt) –
  • Par (float) –
  • Tol (float) –
  • DS (HLRTopoBRep_Data &) –
Return type:

TopoDS_Vertex

static Perform(*args)
Parameters:
  • FI (Standard_Integer) –
  • F (TopoDS_Face &) –
  • DS (HLRTopoBRep_Data &) –
  • nbIsos (Standard_Integer) –
Return type:

void

thisown

The membership flag

OCC.HLRTopoBRep.HLRTopoBRep_FaceIsoLiner_MakeIsoLine(*args)
Parameters:
  • F (TopoDS_Face &) –
  • Iso (Handle_Geom2d_Line &) –
  • V1 (TopoDS_Vertex &) –
  • V2 (TopoDS_Vertex &) –
  • U1 (float) –
  • U2 (float) –
  • Tol (float) –
  • DS (HLRTopoBRep_Data &) –
Return type:

void

OCC.HLRTopoBRep.HLRTopoBRep_FaceIsoLiner_MakeVertex(*args)
Parameters:
  • E (TopoDS_Edge &) –
  • P (gp_Pnt) –
  • Par (float) –
  • Tol (float) –
  • DS (HLRTopoBRep_Data &) –
Return type:

TopoDS_Vertex

OCC.HLRTopoBRep.HLRTopoBRep_FaceIsoLiner_Perform(*args)
Parameters:
  • FI (Standard_Integer) –
  • F (TopoDS_Face &) –
  • DS (HLRTopoBRep_Data &) –
  • nbIsos (Standard_Integer) –
Return type:

void

class OCC.HLRTopoBRep.HLRTopoBRep_ListIteratorOfListOfVData(*args)

Bases: object

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

The membership flag

class OCC.HLRTopoBRep.HLRTopoBRep_ListNodeOfListOfVData(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

HLRTopoBRep_ListNodeOfListOfVData_GetHandle(HLRTopoBRep_ListNodeOfListOfVData self) -> Handle_HLRTopoBRep_ListNodeOfListOfVData

Value()
Return type:HLRTopoBRep_VData
thisown

The membership flag

class OCC.HLRTopoBRep.HLRTopoBRep_ListOfVData

Bases: object

Append()
Parameters:
  • I (HLRTopoBRep_VData &) –
  • I
  • theIt (HLRTopoBRep_ListIteratorOfListOfVData &) –
  • Other (HLRTopoBRep_ListOfVData &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (HLRTopoBRep_ListOfVData &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:HLRTopoBRep_VData
InsertAfter()
Parameters:
  • I (HLRTopoBRep_VData &) –
  • It (HLRTopoBRep_ListIteratorOfListOfVData &) –
  • Other (HLRTopoBRep_ListOfVData &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (HLRTopoBRep_VData &) –
  • It (HLRTopoBRep_ListIteratorOfListOfVData &) –
  • Other (HLRTopoBRep_ListOfVData &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:HLRTopoBRep_VData
Prepend()
Parameters:
  • I (HLRTopoBRep_VData &) –
  • I
  • theIt (HLRTopoBRep_ListIteratorOfListOfVData &) –
  • Other (HLRTopoBRep_ListOfVData &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (HLRTopoBRep_ListIteratorOfListOfVData &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (HLRTopoBRep_ListOfVData &) –
Return type:None
thisown

The membership flag

class OCC.HLRTopoBRep.HLRTopoBRep_MapOfShapeListOfVData(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

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

bool

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

The membership flag

class OCC.HLRTopoBRep.HLRTopoBRep_OutLiner(*args)

Bases: OCC.MMgt.MMgt_TShared

DataStructure()
Return type:HLRTopoBRep_Data
Fill()
Parameters:
  • P (HLRAlgo_Projector &) –
  • MST (BRepTopAdaptor_MapOfShapeTool &) –
  • nbIso (Standard_Integer) –
Return type:

None

GetHandle()

HLRTopoBRep_OutLiner_GetHandle(HLRTopoBRep_OutLiner self) -> Handle_HLRTopoBRep_OutLiner

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 OCC.HLRTopoBRep.HLRTopoBRep_VData(*args)

Bases: object

Parameter()
Return type:float
Vertex()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.HLRTopoBRep.Handle_HLRTopoBRep_DataMapNodeOfDataMapOfShapeFaceData(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.HLRTopoBRep.Handle_HLRTopoBRep_DataMapNodeOfMapOfShapeListOfVData(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.HLRTopoBRep.Handle_HLRTopoBRep_ListNodeOfListOfVData(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.HLRTopoBRep.Handle_HLRTopoBRep_OutLiner(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

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

Bases: object

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

The membership flag

value()