OCC.Core.BOPDS module¶
BOPDS module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopds.html
-
class
BOPDS_CommonBlock
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Empty contructor
- rtype
None* Contructor <theAllocator> - the allocator to manage the memory
- param theAllocator
- type theAllocator
NCollection_BaseAllocator
- rtype
None
-
AddFace
()¶ - Modifier Adds the index of the face <aF> to the list of indices of faces of the common block
- param aF
- type aF
int
- rtype
None
-
AddPaveBlock
()¶ - Modifier Adds the pave block <aPB> to the list of pave blocks of the common block
- param aPB
- type aPB
BOPDS_PaveBlock
- rtype
None
-
AppendFaces
()¶ - Modifier Appends the list of indices of faces <aLF> to the list of indices of faces of the common block (the input list is emptied)
- param aLF
- type aLF
TColStd_ListOfInteger
- rtype
None
-
Contains
()¶ - Query Returns true if the common block contains a pave block that is equal to <thePB>
- param thePB
- type thePB
BOPDS_PaveBlock
- rtype
bool* Query Returns true if the common block contains the face with index equal to <theF>
- param theF
- type theF
int
- rtype
bool
-
static
DownCast
(t)¶
-
Edge
()¶ - Selector Returns the index of the edge of all pave blocks of the common block
- rtype
int
-
Faces
()¶ - Selector Returns the list of indices of faces of the common block
- rtype
TColStd_ListOfInteger
-
IsPaveBlockOnEdge
()¶ - Query Returns true if the common block contains a pave block that belongs to the edge with index <theIx>
- param theIndex
- type theIndex
int
- rtype
bool
-
IsPaveBlockOnFace
()¶ - Query Returns true if the common block contains a pave block that belongs to the face with index <theIx>
- param theIndex
- type theIndex
int
- rtype
bool
-
PaveBlock1
()¶ - Selector Returns the first pave block of the common block
- rtype
opencascade::handle<BOPDS_PaveBlock>
-
PaveBlockOnEdge
()¶ - Selector Returns the pave block that belongs to the edge with index <theIx>
- param theIndex
- type theIndex
int
- rtype
opencascade::handle<BOPDS_PaveBlock>
-
PaveBlocks
()¶ - Selector Returns the list of pave blocks of the common block
- rtype
BOPDS_ListOfPaveBlock
-
SetEdge
()¶ - Modifier Assign the index <theEdge> as the edge index to all pave blocks of the common block
- param theEdge
- type theEdge
int
- rtype
None
-
SetFaces
()¶ - Modifier Sets the list of indices of faces <aLF> of the common block
- param aLF
- type aLF
TColStd_ListOfInteger
- rtype
None
-
SetPaveBlocks
()¶ - Modifier Sets the list of pave blocks for the common block
- param aLPB
- type aLPB
BOPDS_ListOfPaveBlock
- rtype
None
-
SetRealPaveBlock
()¶ - Moves the pave blocks in the list to make the given pave block to be the first. It will be representative for the whole group.
- param thePB
- type thePB
BOPDS_PaveBlock
- rtype
None
-
SetTolerance
()¶ - Sets the tolerance for the common block
- param theTol
- type theTol
float
- rtype
None
-
Tolerance
()¶ - Return the tolerance of common block
- rtype
float
-
property
thisown
¶ The membership flag
-
class
BOPDS_CoupleOfPaveBlocks
(*args)¶ Bases:
object
-
IndexInterf
()¶ - /** * Returns the index of an interference * returns * index of an interference */
- rtype
int
-
PaveBlock1
()¶ - /** * Returns the first pave block * returns * the first pave block */
- rtype
opencascade::handle<BOPDS_PaveBlock>
-
PaveBlock2
()¶ - /** * Returns the second pave block * returns * the second pave block */
- rtype
opencascade::handle<BOPDS_PaveBlock>
-
PaveBlocks
()¶ - /** * Returns pave blocks * @param thePB1 * the first pave block * @param thePB2 * the second pave block */
- param thePB1
- type thePB1
BOPDS_PaveBlock
- param thePB2
- type thePB2
BOPDS_PaveBlock
- rtype
None
-
SetIndex
()¶ - /** * Sets an index * @param theIndex * index */
- param theIndex
- type theIndex
int
- rtype
None
-
SetIndexInterf
()¶ - /** * Sets an index of an interference * @param theIndex * index of an interference */
- param theIndex
- type theIndex
int
- rtype
None
-
SetPaveBlock1
()¶ - /** * Sets the first pave block * @param thePB * the first pave block */
- param thePB
- type thePB
BOPDS_PaveBlock
- rtype
None
-
SetPaveBlock2
()¶ - /** * Sets the second pave block * @param thePB * the second pave block */
- param thePB
- type thePB
BOPDS_PaveBlock
- rtype
None
-
SetPaveBlocks
()¶ - /** * Sets pave blocks * @param thePB1 * first pave block * @param thePB2 * secondt pave block */
- param thePB1
- type thePB1
BOPDS_PaveBlock
- param thePB2
- type thePB2
BOPDS_PaveBlock
- rtype
None
-
SetTolerance
()¶ - /** * Sets the tolerance associated with this couple */
- param theTol
- type theTol
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_Curve
(*args)¶ Bases:
object
- Empty contructor
- rtype
None* Contructor <theAllocator> - the allocator to manage the memory
- param theAllocator
- type theAllocator
NCollection_BaseAllocator
- rtype
None
-
Box
()¶ - Selector Returns the bounding box of the curve
- rtype
Bnd_Box
-
ChangeBox
()¶ - Selector/Modifier Returns the bounding box of the curve
- rtype
Bnd_Box
-
ChangePaveBlock1
()¶ - Selector/Modifier Returns initial pave block of the curve
- rtype
opencascade::handle<BOPDS_PaveBlock>
-
ChangePaveBlocks
()¶ - Selector/Modifier Returns the list of pave blocks of the curve
- rtype
BOPDS_ListOfPaveBlock
-
ChangeTechnoVertices
()¶ - Selector/Modifier Returns list of indices of technologic vertices of the curve
- rtype
TColStd_ListOfInteger
-
Curve
()¶ - Selector Returns the curve
- rtype
IntTools_Curve
-
HasEdge
()¶ - Query Returns true if at least one pave block of the curve has edge
- rtype
bool
-
InitPaveBlock1
()¶ - Creates initial pave block of the curve
- rtype
None
-
PaveBlocks
()¶ - Selector Returns the list of pave blocks of the curve
- rtype
BOPDS_ListOfPaveBlock
-
SetBox
()¶ - Modifier Sets the bounding box <theBox> of the curve
- param theBox
- type theBox
Bnd_Box
- rtype
None
-
SetCurve
()¶ - Modifier Sets the curve <theC>
- param theC
- type theC
IntTools_Curve
- rtype
None
-
SetPaveBlocks
()¶ - Parameters
theLPB –
- type theLPB
BOPDS_ListOfPaveBlock
- rtype
None
-
SetTolerance
()¶ - Sets the tolerance for the curve.
- param theTol
- type theTol
float
- rtype
None
-
TangentialTolerance
()¶ - Returns the tangential tolerance of the curve
- rtype
float
-
TechnoVertices
()¶ - Selector Returns list of indices of technologic vertices of the curve
- rtype
TColStd_ListOfInteger
-
Tolerance
()¶ - Returns the tolerance of the curve
- rtype
float
-
property
thisown
¶ The membership flag
-
class
BOPDS_DS
(*args)¶ Bases:
object
- Empty contructor
- rtype
None* Contructor theAllocator - the allocator to manage the memory
- param theAllocator
- type theAllocator
NCollection_BaseAllocator
- rtype
None
-
AddInterf
()¶ - Modifier Adds the information about an interference between shapes with indices theI1, theI2 to the summary table of interferences
- param theI1
- type theI1
int
- param theI2
- type theI2
int
- rtype
bool
-
AddShapeSD
()¶ - Modifier Adds the information about same domain shapes with indices theIndex, theIndexSD
- param theIndex
- type theIndex
int
- param theIndexSD
- type theIndexSD
int
- rtype
None
-
Allocator
()¶ - Selector
- rtype
opencascade::handle<NCollection_BaseAllocator>
-
AloneVertices
()¶ - Selector Returns the indices of alone vertices for the face with index theIndex
- param theF
- type theF
int
- param theLI
- type theLI
TColStd_ListOfInteger
- rtype
None
-
Append
()¶ - Modifier Appends the information about the shape [theSI] to the data structure Returns the index of theSI in the data structure
- param theSI
- type theSI
BOPDS_ShapeInfo
- rtype
int* Modifier Appends the default information about the shape [theS] to the data structure Returns the index of theS in the data structure
- param theS
- type theS
TopoDS_Shape
- rtype
int
-
Arguments
()¶ - Selector Returns the arguments of an operation
- rtype
TopTools_ListOfShape
-
BuildBndBoxSolid
()¶ - Computes bounding box <theBox> for the solid with DS-index <theIndex>. The flag <theCheckInverted> enables/disables the check of the solid for inverted status. By default the solids will be checked.
- param theIndex
- type theIndex
int
- param theBox
- type theBox
Bnd_Box
- param theCheckInverted
default value is Standard_True
- type theCheckInverted
bool
- rtype
None
-
ChangeFaceInfo
()¶ - Selector/Modifier Returns the state of face with index theIndex
- param theIndex
- type theIndex
int
- rtype
BOPDS_FaceInfo
-
ChangePaveBlocks
()¶ - Selector/Modifier Returns the pave blocks for the shape with index theIndex
- param theIndex
- type theIndex
int
- rtype
BOPDS_ListOfPaveBlock
-
ChangePaveBlocksPool
()¶ - Selector/Modifier Returns the information about pave blocks on source edges
- rtype
BOPDS_VectorOfListOfPaveBlock
-
ChangeShapeInfo
()¶ - Selector/Modifier Returns the information about the shape with index theIndex
- param theIndex
- type theIndex
int
- rtype
BOPDS_ShapeInfo
-
Clear
()¶ - Clears the contents
- rtype
None
-
CommonBlock
()¶ - Selector Returns the common block
- param thePB
- type thePB
BOPDS_PaveBlock
- rtype
opencascade::handle<BOPDS_CommonBlock>
-
FaceInfo
()¶ - Selector Returns the state of face with index theIndex
- param theIndex
- type theIndex
int
- rtype
BOPDS_FaceInfo
-
FaceInfoIn
()¶ - Selector Returns the state In [theMPB,theMVP] of face with index theIndex
- param theIndex
- type theIndex
int
- param theMPB
- type theMPB
BOPDS_IndexedMapOfPaveBlock
- param theMVP
- type theMVP
TColStd_MapOfInteger
- rtype
None
-
FaceInfoOn
()¶ - Selector Returns the state On [theMPB,theMVP] of face with index theIndex
- param theIndex
- type theIndex
int
- param theMPB
- type theMPB
BOPDS_IndexedMapOfPaveBlock
- param theMVP
- type theMVP
TColStd_MapOfInteger
- rtype
None
-
FaceInfoPool
()¶ - Selector Returns the information about state of faces
- rtype
BOPDS_VectorOfFaceInfo
-
HasFaceInfo
()¶ - Query Returns true if the shape with index theIndex has the information about state of face
- param theIndex
- type theIndex
int
- rtype
bool
-
HasInterf
()¶ - Query Returns true if the shape with index theI is interferred
- param theI
- type theI
int
- rtype
bool* Query Returns true if the shapes with indices theI1, theI2 are interferred
- param theI1
- type theI1
int
- param theI2
- type theI2
int
- rtype
bool
-
HasInterfShapeSubShapes
()¶ - Query Returns true if the shape with index theI1 is interfered with any sub-shape of the shape with index theI2 (theFlag=true) all sub-shapes of the shape with index theI2 (theFlag=false)
- param theI1
- type theI1
int
- param theI2
- type theI2
int
- param theFlag
default value is Standard_True
- type theFlag
bool
- rtype
bool
-
HasInterfSubShapes
()¶ - Query Returns true if the shapes with indices theI1, theI2 have interferred sub-shapes
- param theI1
- type theI1
int
- param theI2
- type theI2
int
- rtype
bool
-
HasPaveBlocks
()¶ - Query Returns true if the shape with index theIndex has the information about pave blocks
- param theIndex
- type theIndex
int
- rtype
bool
-
HasShapeSD
()¶ - Query Returns true if the shape with index theIndex has the same domain shape. In this case theIndexSD will contain the index of same domain shape found //! interferences
- param theIndex
- type theIndex
int
- param theIndexSD
- type theIndexSD
int
- rtype
bool
-
Index
()¶ - Selector Returns the index of the shape theS
- param theS
- type theS
TopoDS_Shape
- rtype
int
-
Init
()¶ - Initializes the data structure for the arguments
- param theFuzz
default value is Precision::Confusion()
- type theFuzz
float
- rtype
None
-
InitPaveBlocksForVertex
()¶ - Parameters
theNV –
- type theNV
int
- rtype
None
-
InterfEE
()¶ - Selector/Modifier Returns the collection of interferences Edge/Edge
- rtype
BOPDS_VectorOfInterfEE
-
InterfEF
()¶ - Selector/Modifier Returns the collection of interferences Edge/Face
- rtype
BOPDS_VectorOfInterfEF
-
InterfEZ
()¶ - Selector/Modifier Returns the collection of interferences Edge/Solid
- rtype
BOPDS_VectorOfInterfEZ
-
InterfFF
()¶ - Selector/Modifier Returns the collection of interferences Face/Face
- rtype
BOPDS_VectorOfInterfFF
-
InterfFZ
()¶ - Selector/Modifier Returns the collection of interferences Face/Solid
- rtype
BOPDS_VectorOfInterfFZ
-
InterfVE
()¶ - Selector/Modifier Returns the collection of interferences Vertex/Edge
- rtype
BOPDS_VectorOfInterfVE
-
InterfVF
()¶ - Selector/Modifier Returns the collection of interferences Vertex/Face
- rtype
BOPDS_VectorOfInterfVF
-
InterfVV
()¶ - Selector/Modifier Returns the collection of interferences Vertex/Vertex
- rtype
BOPDS_VectorOfInterfVV
-
InterfVZ
()¶ - Selector/Modifier Returns the collection of interferences Vertex/Solid
- rtype
BOPDS_VectorOfInterfVZ
-
InterfZZ
()¶ - Selector/Modifier Returns the collection of interferences Solid/Solid
- rtype
BOPDS_VectorOfInterfZZ
-
Interferences
()¶ - Selector Returns the table of interferences //! debug
- rtype
BOPDS_MapOfPair
-
IsCommonBlock
()¶ - Query Returns true if the pave block is common block
- param thePB
- type thePB
BOPDS_PaveBlock
- rtype
bool
-
IsCommonBlockOnEdge
()¶ - Query Returns true if common block contains more then one pave block
- param thePB
- type thePB
BOPDS_PaveBlock
- rtype
bool
-
IsNewShape
()¶ - Returns true if the shape of index ‘i’ is not the source shape/sub-shape
- param theIndex
- type theIndex
int
- rtype
bool
-
IsSubShape
()¶ - Parameters
theI1 –
- type theI1
int
- param theI2
- type theI2
int
- rtype
bool
-
IsValidShrunkData
()¶ - Checks if the existing shrunk data of the pave block is still valid. The shrunk data may become invalid if e.g. the vertices of the pave block have been replaced with the new one with bigger tolerances, or the tolerances of the existing vertices have been increased.
- param thePB
- type thePB
BOPDS_PaveBlock
- rtype
bool
-
static
NbInterfTypes
()¶ - Returns the number of types of the interferences
- rtype
int
-
NbRanges
()¶ - Selector Returns the number of index ranges
- rtype
int
-
NbShapes
()¶ - Selector Returns the total number of shapes stored
- rtype
int
-
NbSourceShapes
()¶ - Selector Returns the total number of source shapes stored
- rtype
int
-
PaveBlocks
()¶ - Selector Returns the pave blocks for the shape with index theIndex
- param theIndex
- type theIndex
int
- rtype
BOPDS_ListOfPaveBlock
-
PaveBlocksPool
()¶ - Selector Returns the information about pave blocks on source edges
- rtype
BOPDS_VectorOfListOfPaveBlock
-
Paves
()¶ - Fills theLP with sorted paves of the shape with index theIndex
- param theIndex
- type theIndex
int
- param theLP
- type theLP
BOPDS_ListOfPave
- rtype
None
-
Range
()¶ - Selector Returns the index range ‘i’
- param theIndex
- type theIndex
int
- rtype
BOPDS_IndexRange
-
Rank
()¶ - Selector Returns the rank of the shape of index ‘i’
- param theIndex
- type theIndex
int
- rtype
int
-
RealPaveBlock
()¶ - Selector Returns the real first pave block
- param thePB
- type thePB
BOPDS_PaveBlock
- rtype
opencascade::handle<BOPDS_PaveBlock>
-
RefineFaceInfoIn
()¶ - Removes any pave block from list of having IN state if it has also the state ON.
- rtype
None
-
RefineFaceInfoOn
()¶ - Refine the state On for the all faces having state information //! ++
- rtype
None
-
ReleasePaveBlocks
()¶ - Clears information about PaveBlocks for the untouched edges
- rtype
None
-
SetArguments
()¶ - Modifier Sets the arguments [theLS] of an operation
- param theLS
- type theLS
TopTools_ListOfShape
- rtype
None
-
SetCommonBlock
()¶ - Modifier Sets the common block <theCB>
- param thePB
- type thePB
BOPDS_PaveBlock
- param theCB
- type theCB
BOPDS_CommonBlock
- rtype
None
-
Shape
()¶ - Selector Returns the shape with index theIndex
- param theIndex
- type theIndex
int
- rtype
TopoDS_Shape
-
ShapeInfo
()¶ - Selector Returns the information about the shape with index theIndex
- param theIndex
- type theIndex
int
- rtype
BOPDS_ShapeInfo
-
ShapesSD
()¶ - Selector Returns the collection same domain shapes
- rtype
TColStd_DataMapOfIntegerInteger
- Returns the indices of edges that are shared for the faces with indices theF1, theF2 //! same domain shapes
- param theF1
- type theF1
int
- param theF2
- type theF2
int
- param theLI
- type theLI
TColStd_ListOfInteger
- param theAllocator
- type theAllocator
NCollection_BaseAllocator
- rtype
None
-
SubShapesOnIn
()¶ - Returns information about ON/IN sub-shapes of the given faces. @param theMVOnIn the indices of ON/IN vertices from both faces @param theMVCommon the indices of common vertices for both faces @param thePBOnIn all On/In pave blocks from both faces @param theCommonPB the common pave blocks (that are shared by both faces).
- param theNF1
- type theNF1
int
- param theNF2
- type theNF2
int
- param theMVOnIn
- type theMVOnIn
TColStd_MapOfInteger
- param theMVCommon
- type theMVCommon
TColStd_MapOfInteger
- param thePBOnIn
- type thePBOnIn
BOPDS_IndexedMapOfPaveBlock
- param theCommonPB
- type theCommonPB
BOPDS_MapOfPaveBlock
- rtype
None
-
UpdateCommonBlock
()¶ - Update the common block theCB
- param theCB
- type theCB
BOPDS_CommonBlock
- param theFuzz
- type theFuzz
float
- rtype
None
-
UpdateCommonBlockWithSDVertices
()¶ - Update the pave block of the common block for all shapes in data structure
- param theCB
- type theCB
BOPDS_CommonBlock
- rtype
None
-
UpdateFaceInfoIn
()¶ - Update the state In of face with index theIndex
- param theIndex
- type theIndex
int
- rtype
None* Update the state IN for all faces in the given map
- param theFaces
- type theFaces
TColStd_MapOfInteger
- rtype
None
-
UpdateFaceInfoOn
()¶ - Update the state On of face with index theIndex
- param theIndex
- type theIndex
int
- rtype
None* Update the state ON for all faces in the given map
- param theFaces
- type theFaces
TColStd_MapOfInteger
- rtype
None
-
UpdatePaveBlock
()¶ - Update the pave block thePB
- param thePB
- type thePB
BOPDS_PaveBlock
- rtype
None
-
UpdatePaveBlockWithSDVertices
()¶ - Update the pave block for all shapes in data structure
- param thePB
- type thePB
BOPDS_PaveBlock
- rtype
None
-
UpdatePaveBlocks
()¶ - Update the pave blocks for the all shapes in data structure
- rtype
None
-
UpdatePaveBlocksWithSDVertices
()¶ - Update the pave blocks for all shapes in data structure
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_DataMapOfIntegerListOfPaveBlock
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
Keys
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_DataMapOfPaveBlockListOfInteger
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_DataMapOfPaveBlockListOfPaveBlock
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_DataMapOfShapeCoupleOfPaveBlocks
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_FaceInfo
(*args)¶ Bases:
object
- Empty contructor
- rtype
None* Contructor theAllocator - the allocator to manage the memory
- param theAllocator
- type theAllocator
NCollection_BaseAllocator
- rtype
None
-
ChangePaveBlocksIn
()¶ - Selector/Modifier Returns the pave blocks of the face that have state In
- rtype
BOPDS_IndexedMapOfPaveBlock
-
ChangePaveBlocksOn
()¶ - Selector/Modifier Returns the pave blocks of the face that have state On
- rtype
BOPDS_IndexedMapOfPaveBlock
-
ChangePaveBlocksSc
()¶ - Return type
-
ChangeVerticesIn
()¶ - Selector/Modifier Returns the list of indices for vertices of the face that have state In //! On
- rtype
TColStd_MapOfInteger
-
ChangeVerticesOn
()¶ - Selector/Modifier Returns the list of indices for vertices of the face that have state On //! Sections
- rtype
TColStd_MapOfInteger
-
ChangeVerticesSc
()¶ - Selector/Modifier Returns the list of indices for section vertices of the face //! Others
- rtype
TColStd_MapOfInteger
-
Clear
()¶ - Clears the contents
- rtype
None
-
Index
()¶ - Selector Returns the index of the face //! In
- rtype
int
-
PaveBlocksIn
()¶ - Selector Returns the pave blocks of the face that have state In
- rtype
BOPDS_IndexedMapOfPaveBlock
-
PaveBlocksOn
()¶ - Selector Returns the pave blocks of the face that have state On
- rtype
BOPDS_IndexedMapOfPaveBlock
-
PaveBlocksSc
()¶ - Selector Returns the pave blocks of the face that are pave blocks of section edges
- rtype
BOPDS_IndexedMapOfPaveBlock
-
SetIndex
()¶ - Modifier Sets the index of the face <theI>
- param theI
- type theI
int
- rtype
None
-
VerticesIn
()¶ - Selector Returns the list of indices for vertices of the face that have state In
- rtype
TColStd_MapOfInteger
-
VerticesOn
()¶ - Selector Returns the list of indices for vertices of the face that have state On
- rtype
TColStd_MapOfInteger
-
VerticesSc
()¶ - Selector Returns the list of indices for section vertices of the face
- rtype
TColStd_MapOfInteger
-
property
thisown
¶ The membership flag
-
class
BOPDS_IndexRange
(*args)¶ Bases:
object
- Empty contructor
- rtype
None
-
Contains
()¶ - Query Returns true if the range contains <theIndex>
- param theIndex
- type theIndex
int
- rtype
bool
-
First
()¶ - Selector Returns the first index of the range
- rtype
int
-
Indices
()¶ - Selector Returns the first index of the range <theI1> Returns the second index of the range <theI2>
- param theI1
- type theI1
int
- param theI2
- type theI2
int
- rtype
None
-
Last
()¶ - Selector Returns the second index of the range
- rtype
int
-
SetFirst
()¶ - Modifier Sets the first index <theI1> of the range
- param theI1
- type theI1
int
- rtype
None
-
SetIndices
()¶ - Modifier Sets the first index of the range <theI1> Sets the second index of the range <theI2>
- param theI1
- type theI1
int
- param theI2
- type theI2
int
- rtype
None
-
SetLast
()¶ - Modifier Sets the second index <theI2> of the range
- param theI2
- type theI2
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_IndexedDataMapOfPaveBlockListOfInteger
(*args)¶ Bases:
object
-
Add
()¶
-
Assign
()¶
-
ChangeFromIndex
()¶
-
ChangeFromKey
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Contains
()¶
-
Exchange
()¶
-
FindFromIndex
()¶
-
FindFromKey
()¶
-
FindIndex
()¶
-
FindKey
()¶
-
ReSize
()¶
-
RemoveFromIndex
()¶
-
RemoveKey
()¶
-
RemoveLast
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
Substitute
()¶
-
Swap
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock
(*args)¶ Bases:
object
-
Add
()¶
-
Assign
()¶
-
ChangeFromIndex
()¶
-
ChangeFromKey
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Contains
()¶
-
Exchange
()¶
-
FindFromIndex
()¶
-
FindFromKey
()¶
-
FindIndex
()¶
-
FindKey
()¶
-
ReSize
()¶
-
RemoveFromIndex
()¶
-
RemoveKey
()¶
-
RemoveLast
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
Substitute
()¶
-
Swap
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks
(*args)¶ Bases:
object
-
Add
()¶
-
Assign
()¶
-
ChangeFromIndex
()¶
-
ChangeFromKey
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Contains
()¶
-
Exchange
()¶
-
FindFromIndex
()¶
-
FindFromKey
()¶
-
FindIndex
()¶
-
FindKey
()¶
-
ReSize
()¶
-
RemoveFromIndex
()¶
-
RemoveKey
()¶
-
RemoveLast
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
Substitute
()¶
-
Swap
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_IndexedMapOfPaveBlock
(*args)¶ Bases:
object
-
Add
()¶
-
Assign
()¶
-
Clear
()¶
-
Contains
()¶
-
Exchange
()¶
-
FindIndex
()¶
-
FindKey
()¶
-
ReSize
()¶
-
RemoveFromIndex
()¶
-
RemoveKey
()¶
-
RemoveLast
()¶
-
Set
()¶
-
Size
()¶
-
Substitute
()¶
-
Swap
()¶
-
cbegin
()¶
-
cend
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_InterfEE
(*args)¶ Bases:
object
-
CommonPart
()¶ - /** * Selector * Returns the info of common part * returns * common part */
- rtype
IntTools_CommonPrt
-
SetCommonPart
()¶ - /** * Modifier * Sets the info of common part * @param theCP * common part */
- param theCP
- type theCP
IntTools_CommonPrt
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_InterfEF
(*args)¶ Bases:
object
-
CommonPart
()¶ - /** * Selector * Returns the info of common part * returns * common part */
- rtype
IntTools_CommonPrt
-
SetCommonPart
()¶ - /** * Modifier * Sets the info of common part * @param theCP * common part */
- param theCP
- type theCP
IntTools_CommonPrt
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_InterfFF
(*args)¶ Bases:
object
- /** * Constructor */
- rtype
None
-
ChangeCurves
()¶ - /** * Selector/Modifier * Returns the intersection curves * returns * intersection curves */
- rtype
BOPDS_VectorOfCurve
-
ChangePoints
()¶ - /** * Selector/Modifier * Returns the intersection points * returns * intersection points */
- rtype
BOPDS_VectorOfPoint
-
Curves
()¶ - /** * Selector * Returns the intersection curves * returns * intersection curves */
- rtype
BOPDS_VectorOfCurve
-
Init
()¶ - /** * Initializer * @param theNbCurves * number of intersection curves * @param theNbPoints * number of intersection points */
- param theNbCurves
- type theNbCurves
int
- param theNbPoints
- type theNbPoints
int
- rtype
None
-
Points
()¶ - /** * Selector * Returns the intersection points * returns * intersection points */
- rtype
BOPDS_VectorOfPoint
-
SetTangentFaces
()¶ - /** * Modifier * Sets the flag of whether the faces are tangent * @param theFlag * the flag */
- param theFlag
- type theFlag
bool
- rtype
None
-
TangentFaces
()¶ - /** * Selector * Returns the flag whether the faces are tangent * returns * the flag */
- rtype
bool
-
property
thisown
¶ The membership flag
-
class
BOPDS_InterfVE
(*args)¶ Bases:
object
-
Parameter
()¶ - /** * Selector * Returrns the value of parameter * of the point of the vertex * on the curve of the edge * returns * value of parameter */
- rtype
float
-
SetParameter
()¶ - /** * Modifier * Sets the value of parameter * of the point of the vertex * on the curve of the edge * @param theT * value of parameter */
- param theT
- type theT
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_InterfVF
(*args)¶ Bases:
object
-
SetUV
()¶ - /** * Modifier * Sets the value of parameters * of the point of the vertex * on the surface of of the face * @param theU * value of U parameter * @param theV * value of U parameter */
- param theU
- type theU
float
- param theV
- type theV
float
- rtype
None
-
UV
()¶ - /** * Selector * Returns the value of parameters * of the point of the vertex * on the surface of of the face * @param theU * value of U parameter * @param theV * value of U parameter */
- param theU
- type theU
float
- param theV
- type theV
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_Iterator
(*args)¶ Bases:
object
- Empty contructor
- rtype
None* Contructor theAllocator - the allocator to manage the memory
- param theAllocator
- type theAllocator
NCollection_BaseAllocator
- rtype
None
-
BlockLength
()¶ - Returns the block length
- rtype
int
-
DS
()¶ - Selector Returns the data structure
- rtype
BOPDS_DS
-
ExpectedLength
()¶ - Returns the number of intersections founded
- rtype
int
-
Initialize
()¶ - Initializes the iterator theType1 - the first type of shape theType2 - the second type of shape
- param theType1
- type theType1
TopAbs_ShapeEnum
- param theType2
- type theType2
TopAbs_ShapeEnum
- rtype
None
-
IntersectExt
()¶ - Updates the tree of Bounding Boxes with increased boxes and intersects such elements with the tree.
- param theIndicies
- type theIndicies
TColStd_MapOfInteger
- rtype
None
-
More
()¶ - Returns true if still there are pairs of intersected shapes
- rtype
bool
-
static
NbExtInterfs
()¶ - @name Number of extra interfering types
- rtype
int
-
Next
()¶ - Moves iterations ahead
- rtype
None
-
Prepare
()¶ - Perform the intersection algorithm and prepare the results to be used
- param theCtx
default value is opencascade::handle<IntTools_Context>()
- type theCtx
IntTools_Context
- param theCheckOBB
default value is Standard_False
- type theCheckOBB
bool
- param theFuzzyValue
default value is Precision::Confusion()
- type theFuzzyValue
float
- rtype
void
-
RunParallel
()¶ - Returns the flag of parallel processing
- rtype
bool
-
SetDS
()¶ - Modifier Sets the data structure <pDS> to process
- param pDS
- type pDS
BOPDS_PDS
- rtype
None
-
SetRunParallel
()¶ - Set the flag of parallel processing if <theFlag> is true the parallel processing is switched on if <theFlag> is false the parallel processing is switched off
- param theFlag
- type theFlag
bool
- rtype
None
-
Value
()¶ - Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape
- param theIndex1
- type theIndex1
int
- param theIndex2
- type theIndex2
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_IteratorSI
(*args)¶ Bases:
OCC.Core.BOPDS.BOPDS_Iterator
- Empty contructor
- rtype
None* Contructor theAllocator - the allocator to manage the memory
- param theAllocator
- type theAllocator
NCollection_BaseAllocator
- rtype
None
-
UpdateByLevelOfCheck
()¶ - Updates the lists of possible intersections according to the value of <theLevel>. It defines which interferferences will be checked: 0 - only V/V; 1 - V/V and V/E; 2 - V/V, V/E and E/E; 3 - V/V, V/E, E/E and V/F; 4 - V/V, V/E, E/E, V/F and E/F; other - all interferences.
- param theLevel
- type theLevel
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_ListOfPave
(*args)¶ Bases:
object
-
Append
()¶
-
Assign
()¶
-
Clear
()¶
-
First
()¶
-
InsertAfter
()¶
-
InsertBefore
()¶
-
Last
()¶
-
Prepend
()¶
-
Remove
()¶
-
RemoveFirst
()¶
-
Reverse
()¶
-
Set
()¶
-
Size
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_ListOfPaveBlock
(*args)¶ Bases:
object
-
Append
()¶
-
Assign
()¶
-
Clear
()¶
-
First
()¶
-
InsertAfter
()¶
-
InsertBefore
()¶
-
Last
()¶
-
Prepend
()¶
-
Remove
()¶
-
RemoveFirst
()¶
-
Reverse
()¶
-
Set
()¶
-
Size
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_MapOfCommonBlock
(*args)¶ Bases:
object
-
Add
()¶
-
Added
()¶
-
Assign
()¶
-
Clear
()¶
-
Contains
()¶
-
Differ
()¶
-
Difference
()¶
-
Exchange
()¶
-
HasIntersection
()¶
-
Intersect
()¶
-
Intersection
()¶
-
IsEqual
()¶
-
ReSize
()¶
-
Remove
()¶
-
Set
()¶
-
Size
()¶
-
Subtract
()¶
-
Subtraction
()¶
-
Union
()¶
-
Unite
()¶
-
cbegin
()¶
-
cend
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_MapOfPair
(*args)¶ Bases:
object
-
Add
()¶
-
Added
()¶
-
Assign
()¶
-
Clear
()¶
-
Contains
()¶
-
Differ
()¶
-
Difference
()¶
-
Exchange
()¶
-
HasIntersection
()¶
-
Intersect
()¶
-
Intersection
()¶
-
IsEqual
()¶
-
ReSize
()¶
-
Remove
()¶
-
Set
()¶
-
Size
()¶
-
Subtract
()¶
-
Subtraction
()¶
-
Union
()¶
-
Unite
()¶
-
cbegin
()¶
-
cend
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_MapOfPave
(*args)¶ Bases:
object
-
Add
()¶
-
Added
()¶
-
Assign
()¶
-
Clear
()¶
-
Contains
()¶
-
Differ
()¶
-
Difference
()¶
-
Exchange
()¶
-
HasIntersection
()¶
-
Intersect
()¶
-
Intersection
()¶
-
IsEqual
()¶
-
ReSize
()¶
-
Remove
()¶
-
Set
()¶
-
Size
()¶
-
Subtract
()¶
-
Subtraction
()¶
-
Union
()¶
-
Unite
()¶
-
cbegin
()¶
-
cend
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_MapOfPaveBlock
(*args)¶ Bases:
object
-
Add
()¶
-
Added
()¶
-
Assign
()¶
-
Clear
()¶
-
Contains
()¶
-
Differ
()¶
-
Difference
()¶
-
Exchange
()¶
-
HasIntersection
()¶
-
Intersect
()¶
-
Intersection
()¶
-
IsEqual
()¶
-
ReSize
()¶
-
Remove
()¶
-
Set
()¶
-
Size
()¶
-
Subtract
()¶
-
Subtraction
()¶
-
Union
()¶
-
Unite
()¶
-
cbegin
()¶
-
cend
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_Pair
(*args)¶ Bases:
object
- Return type
None:param theIndex1: :type theIndex1: int :param theIndex2: :type theIndex2: int :rtype: None
-
HashCode
()¶ - Computes a hash code for this pair, in the range [1, theUpperBound] @param theUpperBound the upper bound of the range a computing hash code must be within returns a computed hash code, in the range [1, theUpperBound]
- param theUpperBound
- type theUpperBound
int
- rtype
int
-
Indices
()¶ - Gets the indices
- param theIndex1
- type theIndex1
int
- param theIndex2
- type theIndex2
int
- rtype
None
-
IsEqual
()¶ - Returns true if the Pair is equal to <the theOther>
- param theOther
- type theOther
BOPDS_Pair
- rtype
bool
-
SetIndices
()¶ - Sets the indices
- param theIndex1
- type theIndex1
int
- param theIndex2
- type theIndex2
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_PairMapHasher
¶ Bases:
object
-
static
HashCode
()¶ - Computes a hash code for the given pair, in the range [1, theUpperBound] @param thePair the pair which hash code is to be computed @param theUpperBound the upper bound of the range a computing hash code must be within returns a computed hash code, in the range [1, theUpperBound]
- param thePair
- type thePair
BOPDS_Pair
- param theUpperBound
- type theUpperBound
int
- rtype
int
-
static
IsEqual
()¶ - Parameters
thePair1 –
- type thePair1
BOPDS_Pair
- param thePair2
- type thePair2
BOPDS_Pair
- rtype
bool
-
property
thisown
¶ The membership flag
-
static
-
class
BOPDS_Pave
(*args)¶ Bases:
object
- Empty contructor
- rtype
None
-
Contents
()¶ - Selector Returns the index of vertex <theIndex> Returns the parameter of vertex <theParameter>
- param theIndex
- type theIndex
int
- param theParameter
- type theParameter
float
- rtype
None
-
Index
()¶ - Selector Returns the index of vertex
- rtype
int
-
IsEqual
()¶ - Query Returns true if thr parameter od this is equal to the parameter of <theOther>
- param theOther
- type theOther
BOPDS_Pave
- rtype
bool
-
IsLess
()¶ - Query Returns true if thr parameter od this is less than the parameter of <theOther>
- param theOther
- type theOther
BOPDS_Pave
- rtype
bool
-
Parameter
()¶ - Selector Returns the parameter of vertex
- rtype
float
-
SetIndex
()¶ - Modifier Sets the index of vertex <theIndex>
- param theIndex
- type theIndex
int
- rtype
None
-
SetParameter
()¶ - Modifier Sets the parameter of vertex <theParameter>
- param theParameter
- type theParameter
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_PaveBlock
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Empty contructor
- rtype
None* Contructor <theAllocator> - the allocator to manage the memory
- param theAllocator
- type theAllocator
NCollection_BaseAllocator
- rtype
None
-
AppendExtPave
()¶ - Modifier Appends extra paves <thePave>
- param thePave
- type thePave
BOPDS_Pave
- rtype
None
-
AppendExtPave1
()¶ - Modifier Appends extra pave <thePave>
- param thePave
- type thePave
BOPDS_Pave
- rtype
None
-
ChangeExtPaves
()¶ - Selector / Modifier Returns the extra paves
- rtype
BOPDS_ListOfPave
-
ContainsParameter
()¶ - Query Returns true if the extra paves contain the pave with given value of the parameter <thePrm> <theTol> - the value of the tolerance to compare <theInd> - index of the found pave
- param thePrm
- type thePrm
float
- param theTol
- type theTol
float
- param theInd
- type theInd
int
- rtype
bool
-
static
DownCast
(t)¶
-
Edge
()¶ - Selector Returns the index of edge of pave block
- rtype
int
-
ExtPaves
()¶ - Selector Returns the extra paves
- rtype
BOPDS_ListOfPave
-
HasEdge
()¶ - Query Returns true if the pave block has edge
- rtype
bool* Query Returns true if the pave block has edge Returns the index of edge <theEdge>
- param theEdge
- type theEdge
int
- rtype
bool
-
HasSameBounds
()¶ - Query Returns true if the pave block has pave indices that equal to the pave indices of the pave block <theOther>
- param theOther
- type theOther
BOPDS_PaveBlock
- rtype
bool
-
HasShrunkData
()¶ - Query Returns true if the pave block contains the shrunk data
- rtype
bool
-
Indices
()¶ - Selector Returns the pave indices <theIndex1,theIndex2> of the pave block
- param theIndex1
- type theIndex1
int
- param theIndex2
- type theIndex2
int
- rtype
None
-
IsSplitEdge
()¶ - Query Returns true if the edge is equal to the original edge of the pave block
- rtype
bool
-
IsSplittable
()¶ - Query Returns False if the pave block has a too short shrunk range and cannot be split, otherwise returns True
- rtype
bool
-
IsToUpdate
()¶ - Query Returns true if the pave block contains extra paves
- rtype
bool
-
OriginalEdge
()¶ - Selector Returns the index of original edge of pave block
- rtype
int
-
Pave1
()¶ - Selector Returns the first pave
- rtype
BOPDS_Pave
-
Pave2
()¶ - Selector Returns the second pave
- rtype
BOPDS_Pave
-
Range
()¶ - Selector Returns the parametric range <theT1,theT2> of the pave block
- param theT1
- type theT1
float
- param theT2
- type theT2
float
- rtype
None
-
RemoveExtPave
()¶ - Modifier Removes a pave with the given vertex number from extra paves
- param theVertNum
- type theVertNum
int
- rtype
None
-
SetEdge
()¶ - Modifier Sets the index of edge of pave block <theEdge>
- param theEdge
- type theEdge
int
- rtype
None
-
SetOriginalEdge
()¶ - Modifier Sets the index of original edge of the pave block <theEdge>
- param theEdge
- type theEdge
int
- rtype
None
-
SetPave1
()¶ - Modifier Sets the first pave <thePave>
- param thePave
- type thePave
BOPDS_Pave
- rtype
None
-
SetPave2
()¶ - Modifier Sets the second pave <thePave>
- param thePave
- type thePave
BOPDS_Pave
- rtype
None
-
SetShrunkData
()¶ - Modifier Sets the shrunk data for the pave block <theTS1>, <theTS2> - shrunk range <theBox> - the bounding box <theIsSplittable> - defines whether the edge can be split
- param theTS1
- type theTS1
float
- param theTS2
- type theTS2
float
- param theBox
- type theBox
Bnd_Box
- param theIsSplittable
- type theIsSplittable
bool
- rtype
None
-
ShrunkData
()¶ - Selector Returns the shrunk data for the pave block <theTS1>, <theTS2> - shrunk range <theBox> - the bounding box <theIsSplittable> - defines whether the edge can be split
- param theTS1
- type theTS1
float
- param theTS2
- type theTS2
float
- param theBox
- type theBox
Bnd_Box
- param theIsSplittable
- type theIsSplittable
bool
- rtype
None
-
Update
()¶ - Modifier Updates the pave block. The extra paves are used to create new pave blocks <theLPB>. <theFlag> - if true, the first pave and the second pave are used to produce new pave blocks.
- param theLPB
- type theLPB
BOPDS_ListOfPaveBlock
- param theFlag
default value is Standard_True
- type theFlag
bool
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_PaveMapHasher
¶ Bases:
object
-
static
HashCode
()¶ - Computes a hash code for the given pave, in the range [1, theUpperBound] @param thePave the pave which hash code is to be computed @param theUpperBound the upper bound of the range a computing hash code must be within returns a computed hash code, in the range [1, theUpperBound]
- param thePave
- type thePave
BOPDS_Pave
- param theUpperBound
- type theUpperBound
int
- rtype
int
-
static
IsEqual
()¶ - Parameters
aPave1 –
- type aPave1
BOPDS_Pave
- param aPave2
- type aPave2
BOPDS_Pave
- rtype
bool
-
property
thisown
¶ The membership flag
-
static
-
class
BOPDS_Point
(*args)¶ Bases:
object
- Empty contructor
- rtype
None
-
Index
()¶ - Selector Returns index of the vertex
- rtype
int
-
Pnt
()¶ - Selector Returns 3D point
- rtype
gp_Pnt
-
Pnt2D1
()¶ - Selector Returns 2D point on the first face <thePnt>
- rtype
gp_Pnt2d
-
Pnt2D2
()¶ - Selector Returns 2D point on the second face <thePnt>
- rtype
gp_Pnt2d
-
SetIndex
()¶ - Modifier Sets the index of the vertex <theIndex>
- param theIndex
- type theIndex
int
- rtype
None
-
SetPnt
()¶ - Modifier Sets 3D point <thePnt>
- param thePnt
- type thePnt
gp_Pnt
- rtype
None
-
SetPnt2D1
()¶ - Modifier Sets 2D point on the first face <thePnt>
- param thePnt
- type thePnt
gp_Pnt2d
- rtype
None
-
SetPnt2D2
()¶ - Modifier Sets 2D point on the second face <thePnt>
- param thePnt
- type thePnt
gp_Pnt2d
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_ShapeInfo
(*args)¶ Bases:
object
- Empty contructor
- rtype
None* Contructor theAllocator - the allocator to manage the memory
- param theAllocator
- type theAllocator
NCollection_BaseAllocator
- rtype
None
-
Box
()¶ - Selector Returns the boundung box of the shape
- rtype
Bnd_Box
-
ChangeBox
()¶ - Selector/Modifier Returns the boundung box of the shape
- rtype
Bnd_Box
-
ChangeSubShapes
()¶ - Selector/ Modifier Returns the list of indices of sub-shapes
- rtype
TColStd_ListOfInteger
-
Flag
()¶ - Returns the flag
- rtype
int
-
HasBRep
()¶ - Query Returns true if the shape has boundary representation
- rtype
bool
-
HasFlag
()¶ - Query Returns true if there is flag.
- rtype
bool* Query Returns true if there is flag. Returns the the flag theFlag
- param theFlag
- type theFlag
int
- rtype
bool
-
HasSubShape
()¶ - Query Returns true if the shape has sub-shape with index theI
- param theI
- type theI
int
- rtype
bool
-
IsInterfering
()¶ - Returns true if the shape can be participant of an interference //! Flag
- rtype
bool
-
Reference
()¶ - Selector Returns the index of a reference information
- rtype
int
-
SetBox
()¶ - Modifier Sets the boundung box of the shape theBox
- param theBox
- type theBox
Bnd_Box
- rtype
None
-
SetFlag
()¶ - Modifier Sets the flag
- param theI
- type theI
int
- rtype
None
-
SetReference
()¶ - Modifier Sets the index of a reference information
- param theI
- type theI
int
- rtype
None
-
SetShape
()¶ - Modifier Sets the shape <theS>
- param theS
- type theS
TopoDS_Shape
- rtype
None
-
SetShapeType
()¶ - Modifier Sets the type of shape theType
- param theType
- type theType
TopAbs_ShapeEnum
- rtype
None
-
Shape
()¶ - Selector Returns the shape
- rtype
TopoDS_Shape
-
ShapeType
()¶ - Selector Returns the type of shape
- rtype
TopAbs_ShapeEnum
-
SubShapes
()¶ - Selector Returns the list of indices of sub-shapes
- rtype
TColStd_ListOfInteger
-
property
thisown
¶ The membership flag
-
class
BOPDS_SubIterator
(*args)¶ Bases:
object
- Empty constructor
- rtype
None* Constructor theAllocator - the allocator to manage the memory
- param theAllocator
- type theAllocator
NCollection_BaseAllocator
- rtype
None
-
DS
()¶ - Returns the data structure
- rtype
BOPDS_DS
-
ExpectedLength
()¶ - Returns the number of interfering pairs
- rtype
int
-
Initialize
()¶ - Initializes the iterator
- rtype
None
-
More
()¶ - Returns true if there are more pairs of intersected shapes
- rtype
bool
-
Next
()¶ - Moves iterations ahead
- rtype
None
-
Prepare
()¶ - Perform the intersection algorithm and prepare the results to be used
- rtype
void
-
SetDS
()¶ - Sets the data structure <pDS> to process. It is used to access the shapes and their bounding boxes.
- param pDS
- type pDS
BOPDS_PDS
- rtype
None
-
SetSubSet1
()¶ - Sets the first set of indices <theLI> to process
- param theLI
- type theLI
TColStd_ListOfInteger
- rtype
None
-
SetSubSet2
()¶ - Sets the second set of indices <theLI> to process
- param theLI
- type theLI
TColStd_ListOfInteger
- rtype
None
-
SubSet1
()¶ - Returns the first set of indices to process
- rtype
TColStd_ListOfInteger
-
SubSet2
()¶ - Returns the second set of indices to process
- rtype
TColStd_ListOfInteger
-
Value
()¶ - Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape
- param theIndex1
- type theIndex1
int
- param theIndex2
- type theIndex2
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BOPDS_Tools
¶ Bases:
object
-
static
HasBRep
()¶ - Returns true if the type <theT> correspond to a shape having boundary representation
- param theT
- type theT
TopAbs_ShapeEnum
- rtype
bool
-
static
IsInterfering
()¶ - Returns true if the type <theT> can be participant of an interference
- param theT
- type theT
TopAbs_ShapeEnum
- rtype
bool
-
static
TypeToInteger
()¶ - Converts the conmbination of two types of shape <theT1>,<theT2> to the one integer value, that is returned
- param theT1
- type theT1
TopAbs_ShapeEnum
- param theT2
- type theT2
TopAbs_ShapeEnum
- rtype
int* Converts the type of shape <theT>, to integer value, that is returned
- param theT
- type theT
TopAbs_ShapeEnum
- rtype
int
-
property
thisown
¶ The membership flag
-
static
-
class
BOPDS_VectorOfCurve
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfFaceInfo
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfIndexRange
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfInterfEE
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfInterfEF
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfInterfEZ
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfInterfFF
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfInterfFZ
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfInterfVE
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfInterfVF
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfInterfVV
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfInterfVZ
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfInterfZZ
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfListOfPaveBlock
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfPair
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfPave
(*args)¶ Bases:
object
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
Init
()¶
-
IsAllocated
()¶
-
IsDeletable
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Move
()¶
-
Resize
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
next
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfPoint
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BOPDS_VectorOfShapeInfo
(*args)¶ Bases:
object
-
Append
()¶
-
Appended
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-