OCC.BOPDS module¶
The package contains classes that implementsthe data structure forgeneral fuse and boolean operation algorithms
-
class
BOPDS_CommonBlock
(*args)¶ Bases:
OCC.MMgt.MMgt_TShared
- Empty contructor
Return type: None - Contructor <theAllocator> - the allocator to manage the memory
Parameters: theAllocator (BOPCol_BaseAllocator &) – Return type: None -
AddFace
()¶ - Modifier Adds the index of the face <aF> to the list of indices of faces of the common block
Parameters: aF (int) – Return type: None
-
AddFaces
()¶ - Modifier Adds the list of indices of faces <aLF> to the list of indices of faces of the common block
Parameters: aLF (BOPCol_ListOfInteger &) – Return type: None
-
AddPaveBlock
()¶ - Modifier Adds the pave block <aPB> to the list of pave blocks of the common block
Parameters: aPB (Handle_BOPDS_PaveBlock &) – Return type: None
-
AddPaveBlocks
()¶ - Modifier Adds the list of pave blocks <aLPB> to the list of pave blocks of the common block
Parameters: aLPB (BOPDS_ListOfPaveBlock &) – Return type: None
-
Contains
()¶ - Query Returns true if the common block contains a pave block that is equal to <thePB>
Parameters: thePB (Handle_BOPDS_PaveBlock &) – Return type: bool - Query Returns true if the common block contains the face with index equal to <theF>
Parameters: theF (int) – Return type: bool
-
Edge
()¶ - Selector Returns the index of the edge of all pave blocks of the common block
Return type: int
-
Faces
()¶ - Selector Returns the list of indices of faces of the common block
Return type: BOPCol_ListOfInteger
-
GetHandle
()¶
-
IsPaveBlockOnEdge
()¶ - Query Returns true if the common block contains a pave block that belongs to the edge with index <theIx>
Parameters: theIndex (int) – Return type: bool
-
IsPaveBlockOnFace
()¶ - Query Returns true if the common block contains a pave block that belongs to the face with index <theIx>
Parameters: theIndex (int) – Return type: bool
-
PaveBlock1
()¶ - Selector Returns the first pave block of the common block
Return type: Handle_BOPDS_PaveBlock
-
PaveBlockOnEdge
()¶ - Selector Returns the pave block that belongs to the edge with index <theIx>
Parameters: theIndex (int) – Return type: Handle_BOPDS_PaveBlock
-
PaveBlocks
()¶ - Selector Returns the list of pave blocks of the common block
Return type: BOPDS_ListOfPaveBlock
-
SetEdge
()¶ - Modifier Assign the index <theEdge> as the edge index to all pave blocks of the common block
Parameters: theEdge (int) – Return type: None
-
thisown
¶ The membership flag
-
class
BOPDS_CoupleOfPaveBlocks
(*args)¶ Bases:
object
- /** * Constructor */
Return type: None - /** * Constructor * @param thePB1 * first pave block * @param thePB2 * secondt pave block */
Parameters: - thePB1 (Handle_BOPDS_PaveBlock &) –
- thePB2 (Handle_BOPDS_PaveBlock &) –
Return type: -
IndexInterf
()¶ - /** * Returns the index of an interference * returns * index of an interference */
Return type: int
-
PaveBlock1
()¶ - /** * Returns the first pave block * returns * the first pave block */
Return type: Handle_BOPDS_PaveBlock
-
PaveBlock2
()¶ - /** * Returns the second pave block * returns * the second pave block */
Return type: Handle_BOPDS_PaveBlock
-
PaveBlocks
()¶ - /** * Returns pave blocks * @param thePB1 * the first pave block * @param thePB2 * the second pave block */
Parameters: - thePB1 (Handle_BOPDS_PaveBlock &) –
- thePB2 (Handle_BOPDS_PaveBlock &) –
Return type:
-
SetIndex
()¶ - /** * Sets an index * @param theIndex * index */
Parameters: theIndex (int) – Return type: None
-
SetIndexInterf
()¶ - /** * Sets an index of an interference * @param theIndex * index of an interference */
Parameters: theIndex (int) – Return type: None
-
SetPaveBlock1
()¶ - /** * Sets the first pave block * @param thePB * the first pave block */
Parameters: thePB (Handle_BOPDS_PaveBlock &) – Return type: None
-
SetPaveBlock2
()¶ - /** * Sets the second pave block * @param thePB * the second pave block */
Parameters: thePB (Handle_BOPDS_PaveBlock &) – Return type: None
-
SetPaveBlocks
()¶ - /** * Sets pave blocks * @param thePB1 * first pave block * @param thePB2 * secondt pave block */
Parameters: - thePB1 (Handle_BOPDS_PaveBlock &) –
- thePB2 (Handle_BOPDS_PaveBlock &) –
Return type:
-
thisown
¶ The membership flag
-
class
BOPDS_Curve
(*args)¶ Bases:
object
- Empty contructor
Return type: None - Contructor <theAllocator> - the allocator to manage the memory
Parameters: theAllocator (BOPCol_BaseAllocator &) – Return type: None -
ChangePaveBlock1
()¶ - Selector/Modifier Returns initial pave block of the curve
Return type: Handle_BOPDS_PaveBlock
-
ChangePaveBlocks
()¶ - Selector/Modifier Returns the list of pave blocks of the curve
Return type: BOPDS_ListOfPaveBlock
-
ChangeTechnoVertices
()¶ - Selector/Modifier Returns list of indices of technologic vertices of the curve
Return type: BOPCol_ListOfInteger
-
Curve
()¶ - Selector Returns the curve
Return type: IntTools_Curve
-
PaveBlocks
()¶ - Selector Returns the list of pave blocks of the curve
Return type: BOPDS_ListOfPaveBlock
-
SetBox
()¶ - Modifier Sets the bounding box <theBox> of the curve
Parameters: theBox (Bnd_Box &) – Return type: None
-
TechnoVertices
()¶ - Selector Returns list of indices of technologic vertices of the curve
Return type: BOPCol_ListOfInteger
-
thisown
¶ The membership flag
-
class
BOPDS_DS
(*args)¶ Bases:
object
- Empty contructor
Return type: None - Contructor theAllocator - the allocator to manage the memory
Parameters: theAllocator (BOPCol_BaseAllocator &) – Return type: None -
AddInterf
()¶ - Modifier Adds the information about an interference between shapes with indices theI1, theI2 to the summary table of interferences
Parameters: Return type:
-
AddShapeSD
()¶ - Modifier Adds the information about same domain shapes with indices theIndex, theIndexSD
Parameters: Return type:
-
Allocator
()¶ - Selector
Return type: BOPCol_BaseAllocator
-
AloneVertices
()¶ - Selector Returns the indices of alone vertices for the face with index theIndex
Parameters: - theF (int) –
- theLI (BOPCol_ListOfInteger &) –
Return type:
-
Append
()¶ - Modifier Appends the information about the shape [theSI] to the data structure Returns the index of theSI in the data structure
Parameters: theSI (BOPDS_ShapeInfo &) – Return type: int - Modifier Appends the default information about the shape [theS] to the data structure Returns the index of theS in the data structure
Parameters: theS (TopoDS_Shape &) – Return type: int
-
Arguments
()¶ - Selector Returns the arguments of an operation
Return type: BOPCol_ListOfShape
-
ChangeFaceInfo
()¶ - Selector/Modifier Returns the state of face with index theIndex
Parameters: theIndex (int) – Return type: BOPDS_FaceInfo
-
ChangePaveBlocks
()¶ - Selector/Modifier Returns the pave blocks for the shape with index theIndex
Parameters: theIndex (int) – Return type: BOPDS_ListOfPaveBlock
-
ChangePaveBlocksPool
()¶ - Selector/Modifier Returns the information about pave blocks on source edges
Return type: BOPDS_VectorOfListOfPaveBlock
-
ChangeShapeInfo
()¶ - Selector/Modifier Returns the information about the shape with index theIndex
Parameters: theIndex (int) – Return type: BOPDS_ShapeInfo
-
CommonBlock
()¶ - Selector Returns the common block
Parameters: thePB (Handle_BOPDS_PaveBlock &) – Return type: Handle_BOPDS_CommonBlock
-
FaceInfo
()¶ - Selector Returns the state of face with index theIndex
Parameters: theIndex (int) – Return type: BOPDS_FaceInfo
-
FaceInfoIn
()¶ - Selector Returns the state In [theMPB,theMVP] of face with index theIndex
Parameters: - theIndex (int) –
- theMPB (BOPDS_IndexedMapOfPaveBlock &) –
- theMVP (BOPCol_MapOfInteger &) –
Return type:
-
FaceInfoOn
()¶ - Selector Returns the state On [theMPB,theMVP] of face with index theIndex
Parameters: - theIndex (int) –
- theMPB (BOPDS_IndexedMapOfPaveBlock &) –
- theMVP (BOPCol_MapOfInteger &) –
Return type:
-
FaceInfoPool
()¶ - Selector Returns the information about state of faces
Return type: BOPDS_VectorOfFaceInfo
-
HasFaceInfo
()¶ - Query Returns true if the shape with index theIndex has the information about state of face
Parameters: theIndex (int) – Return type: bool
-
HasInterf
()¶ - Query Returns true if the shape with index theI is interferred
Parameters: theI (int) – Return type: bool - Query Returns true if the shapes with indices theI1, theI2 are interferred
Parameters: Return type:
-
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)
Parameters: Return type:
-
HasInterfSubShapes
()¶ - Query Returns true if the shapes with indices theI1, theI2 have interferred sub-shapes
Parameters: Return type:
-
HasPaveBlocks
()¶ - Query Returns true if the shape with index theIndex has the information about pave blocks
Parameters: theIndex (int) – Return type: 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
Parameters: - theIndex (int) –
- theIndexSD (int &) –
Return type:
-
Index
()¶ - Selector Returns the index of the shape theS
Parameters: theS (TopoDS_Shape &) – Return type: int
-
InterfEE
()¶ - Selector/Modifier Returns the collection of interferences Edge/Edge
Return type: BOPDS_VectorOfInterfEE
-
InterfEF
()¶ - Selector/Modifier Returns the collection of interferences Edge/Face
Return type: BOPDS_VectorOfInterfEF
-
InterfEZ
()¶ - Selector/Modifier Returns the collection of interferences Edge/Solid
Return type: BOPDS_VectorOfInterfEZ
-
InterfFF
()¶ - Selector/Modifier Returns the collection of interferences Face/Face
Return type: BOPDS_VectorOfInterfFF
-
InterfFZ
()¶ - Selector/Modifier Returns the collection of interferences Face/Solid
Return type: BOPDS_VectorOfInterfFZ
-
InterfVE
()¶ - Selector/Modifier Returns the collection of interferences Vertex/Edge
Return type: BOPDS_VectorOfInterfVE
-
InterfVF
()¶ - Selector/Modifier Returns the collection of interferences Vertex/Face
Return type: BOPDS_VectorOfInterfVF
-
InterfVV
()¶ - Selector/Modifier Returns the collection of interferences Vertex/Vertex
Return type: BOPDS_VectorOfInterfVV
-
InterfVZ
()¶ - Selector/Modifier Returns the collection of interferences Vertex/Solid
Return type: BOPDS_VectorOfInterfVZ
-
InterfZZ
()¶ - Selector/Modifier Returns the collection of interferences Solid/Solid
Return type: BOPDS_VectorOfInterfZZ
-
Interferences
()¶ - Selector Returns the table of interferences //! debug
Return type: BOPDS_MapOfPassKey
-
IsCommonBlock
()¶ - Query Returns true if the pave block is common block
Parameters: thePB (Handle_BOPDS_PaveBlock &) – Return type: bool
-
IsCommonBlockOnEdge
()¶ - Query Returns true if common block contains more then one pave block
Parameters: thePB (Handle_BOPDS_PaveBlock &) – Return type: bool
-
IsNewShape
()¶ - Returns true if the shape of index ‘i’ is not the source shape/sub-shape
Parameters: theIndex (int) – Return type: bool
-
PaveBlocks
()¶ - Selector Returns the pave blocks for the shape with index theIndex
Parameters: theIndex (int) – Return type: BOPDS_ListOfPaveBlock
-
PaveBlocksPool
()¶ - Selector Returns the information about pave blocks on source edges
Return type: BOPDS_VectorOfListOfPaveBlock
-
Paves
()¶ - Fills theLP with sorted paves of the shape with index theIndex
Parameters: - theIndex (int) –
- theLP (BOPDS_ListOfPave &) –
Return type:
-
Range
()¶ - Selector Returns the index range ‘i’
Parameters: theIndex (int) – Return type: BOPDS_IndexRange
-
Rank
()¶ - Selector Returns the rank of the shape of index ‘i’
Parameters: theIndex (int) – Return type: int
-
RealPaveBlock
()¶ - Selector Returns the real first pave block
Parameters: thePB (Handle_BOPDS_PaveBlock &) – Return type: Handle_BOPDS_PaveBlock
-
RefineFaceInfoOn
()¶ - Refine the state On for the all faces having state information //! ++
Return type: None
-
SetArguments
()¶ - Modifier Sets the arguments [theLS] of an operation
Parameters: theLS (BOPCol_ListOfShape &) – Return type: None
-
SetCommonBlock
()¶ - Modifier Sets the common block <theCB>
Parameters: - thePB (Handle_BOPDS_PaveBlock &) –
- theCB (Handle_BOPDS_CommonBlock &) –
Return type:
-
SetDefaultTolerances
()¶ - Reverts the tolerance values of unchanged entities to default values.
Return type: None
-
Shape
()¶ - Selector Returns the shape with index theIndex
Parameters: theIndex (int) – Return type: TopoDS_Shape
-
ShapeInfo
()¶ - Selector Returns the information about the shape with index theIndex
Parameters: theIndex (int) – Return type: BOPDS_ShapeInfo
-
ShapesSD
()¶ - Selector Returns the collection same domain shapes
Return type: BOPCol_DataMapOfIntegerInteger
- Returns the indices of edges that are shared for the faces with indices theF1, theF2 //! same domain shapes
Parameters: Return type:
-
UpdateCommonBlock
()¶ - Update the common block theCB
Parameters: theCB (Handle_BOPDS_CommonBlock &) – Return type: None
-
UpdateEdgeTolerance
()¶ - Updates tolerance of the sub-shapes of the shape with index <theIndex>.
Parameters: Return type:
-
UpdateFaceInfoIn
()¶ - Update the state In of face with index theIndex
Parameters: theIndex (int) – Return type: None
-
UpdateFaceInfoOn
()¶ - Update the state On of face with index theIndex
Parameters: theIndex (int) – Return type: None
-
UpdatePaveBlock
()¶ - Update the pave block thePB
Parameters: thePB (Handle_BOPDS_PaveBlock &) – Return type: None
-
VerticesOnIn
()¶ - Returns the indices of vertices and pave blocks that are On/In for the faces with indices theF1, theF2
Parameters: Return type:
-
thisown
¶ The membership flag
-
class
BOPDS_FaceInfo
(*args)¶ Bases:
object
- Empty contructor
Return type: None - Contructor theAllocator - the allocator to manage the memory
Parameters: theAllocator (BOPCol_BaseAllocator &) – Return type: None -
ChangePaveBlocksIn
()¶ - Selector/Modifier Returns the pave blocks of the face that have state In
Return type: BOPDS_IndexedMapOfPaveBlock
-
ChangePaveBlocksOn
()¶ - Selector/Modifier Returns the pave blocks of the face that have state On
Return type: BOPDS_IndexedMapOfPaveBlock
-
ChangePaveBlocksSc
()¶ Return type: BOPDS_IndexedMapOfPaveBlock
-
ChangeVerticesIn
()¶ - Selector/Modifier Returns the list of indices for vertices of the face that have state In //! On
Return type: BOPCol_MapOfInteger
-
ChangeVerticesOn
()¶ - Selector/Modifier Returns the list of indices for vertices of the face that have state On //! Sections
Return type: BOPCol_MapOfInteger
-
ChangeVerticesSc
()¶ - Selector/Modifier Returns the list of indices for section vertices of the face //! Others
Return type: BOPCol_MapOfInteger
-
PaveBlocksIn
()¶ - Selector Returns the pave blocks of the face that have state In
Return type: BOPDS_IndexedMapOfPaveBlock
-
PaveBlocksOn
()¶ - Selector Returns the pave blocks of the face that have state On
Return type: BOPDS_IndexedMapOfPaveBlock
-
PaveBlocksSc
()¶ - Selector Returns the pave blocks of the face that are pave blocks of section edges
Return type: BOPDS_IndexedMapOfPaveBlock
-
VerticesIn
()¶ - Selector Returns the list of indices for vertices of the face that have state In
Return type: BOPCol_MapOfInteger
-
VerticesOn
()¶ - Selector Returns the list of indices for vertices of the face that have state On
Return type: BOPCol_MapOfInteger
-
VerticesSc
()¶ - Selector Returns the list of indices for section vertices of the face
Return type: BOPCol_MapOfInteger
-
thisown
¶ The membership flag
-
class
BOPDS_IndexRange
(*args)¶ Bases:
object
- Empty contructor
Return type: None -
Contains
()¶ - Query Returns true if the range contains <theIndex>
Parameters: theIndex (int) – Return type: bool
-
Indices
()¶ - Selector Returns the first index of the range <theI1> Returns the second index of the range <theI2>
Parameters: - theI1 (int &) –
- theI2 (int &) –
Return type:
-
SetFirst
()¶ - Modifier Sets the first index <theI1> of the range
Parameters: theI1 (int) – Return type: None
-
SetIndices
()¶ - Modifier Sets the first index of the range <theI1> Sets the second index of the range <theI2>
Parameters: Return type:
-
SetLast
()¶ - Modifier Sets the second index <theI2> of the range
Parameters: theI2 (int) – Return type: None
-
thisown
¶ The membership flag
-
class
BOPDS_InterfEE
(*args)¶ Bases:
object
- /** * Constructor */
Return type: None - /** * Constructor * @param theAllocator * allocator to manage the memory */
Parameters: theAllocator (Handle_NCollection_BaseAllocator &) – Return type: None -
CommonPart
()¶ - /** * Selector * Returns the info of common part * returns * common part */
Return type: IntTools_CommonPrt
-
SetCommonPart
()¶ - /** * Modifier * Sets the info of common part * @param theCP * common part */
Parameters: theCP (IntTools_CommonPrt &) – Return type: None
-
thisown
¶ The membership flag
-
class
BOPDS_InterfEF
(*args)¶ Bases:
object
- /** * Constructor */
Return type: None - /** * Constructor * @param theAllocator * allocator to manage the memory //* * Constructor * @param theAllocator * allocator to manage the memory */
Parameters: theAllocator (Handle_NCollection_BaseAllocator &) – Return type: None -
CommonPart
()¶ - /** * Selector * Returns the info of common part * returns * common part */
Return type: IntTools_CommonPrt
-
SetCommonPart
()¶ - /** * Modifier * Sets the info of common part * @param theCP * common part */
Parameters: theCP (IntTools_CommonPrt &) – Return type: None
-
thisown
¶ The membership flag
-
class
BOPDS_InterfEZ
(*args)¶ Bases:
object
- /** * Constructor */
Return type: None - /** * Constructor * @param theAllocator * allocator to manage the memory */
Parameters: theAllocator (Handle_NCollection_BaseAllocator &) – Return type: None -
thisown
¶ The membership flag
-
class
BOPDS_InterfFF
(*args)¶ Bases:
object
- /** * Constructor */
Return type: None -
ChangeCurves
()¶ - /** * Selector/Modifier * Returns the intersection curves * returns * intersection curves */
Return type: BOPDS_VectorOfCurve
-
ChangePoints
()¶ - /** * Selector/Modifier * Returns the intersection points * returns * intersection points */
Return type: BOPDS_VectorOfPoint
-
Curves
()¶ - /** * Selector * Returns the intersection curves * returns * intersection curves */
Return type: BOPDS_VectorOfCurve
-
Init
()¶ - /** * Initializer * @param theNbCurves * number of intersection curves * @param theNbPoints * number of intersection points */
Parameters: Return type:
-
Points
()¶ - /** * Selector * Returns the intersection points * returns * intersection points */
Return type: BOPDS_VectorOfPoint
-
SetTangentFaces
()¶ - /** * Modifier * Sets the flag of whether the faces are tangent * @param theFlag * the flag */
Parameters: theFlag (bool) – Return type: None
-
SetTolR2D
()¶ - /** * Modifier * Sets the value of 2D tolerance * @param theTol * 2D tolerance */
Parameters: theTol (float) – Return type: None
-
SetTolR3D
()¶ - /** * Modifier * Sets the value of 3D tolerance * @param theTol * 3D tolerance */
Parameters: theTol (float) – Return type: None
-
TangentFaces
()¶ - /** * Selector * Returns the flag whether the faces are tangent * returns * the flag */
Return type: bool
-
TolR2D
()¶ - /** * Selector * Returns the value of 2D tolerance * returns * 2D tolerance */
Return type: float
-
TolR3D
()¶ - /** * Selector * Returns the value of 3D tolerance * returns * 3D tolerance */
Return type: float
-
thisown
¶ The membership flag
-
class
BOPDS_InterfFZ
(*args)¶ Bases:
object
- /** * Constructor */
Return type: None - /** * Constructor * @param theAllocator * allocator to manage the memory */
Parameters: theAllocator (Handle_NCollection_BaseAllocator &) – Return type: None -
thisown
¶ The membership flag
-
class
BOPDS_InterfVE
(*args)¶ Bases:
object
- /** * Constructor */
Return type: None - /** * Constructor * @param theAllocator * allocator to manage the memory */
Parameters: theAllocator (Handle_NCollection_BaseAllocator &) – Return type: None -
Parameter
()¶ - /** * Selector * Returrns the value of parameter * of the point of the vertex * on the curve of the edge * returns * value of parameter */
Return type: 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 */
Parameters: theT (float) – Return type: None
-
thisown
¶ The membership flag
-
class
BOPDS_InterfVF
(*args)¶ Bases:
object
- /** * Constructor */
Return type: None - /** * Constructor * @param theAllocator * allocator to manage the memory */
Parameters: theAllocator (Handle_NCollection_BaseAllocator &) – Return type: None -
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 */
Parameters: Return type:
-
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 */
Parameters: - theU (float &) –
- theV (float &) –
Return type:
-
thisown
¶ The membership flag
-
class
BOPDS_InterfVV
(*args)¶ Bases:
object
- /** * Constructor */
Return type: None - /** * Constructor * @param theAllocator * allocator to manage the memory */
Parameters: theAllocator (Handle_NCollection_BaseAllocator &) – Return type: None -
thisown
¶ The membership flag
-
class
BOPDS_InterfVZ
(*args)¶ Bases:
object
- /** * Constructor */
Return type: None - /** * Constructor * @param theAllocator * allocator to manage the memory */
Parameters: theAllocator (Handle_NCollection_BaseAllocator &) – Return type: None -
thisown
¶ The membership flag
-
class
BOPDS_InterfZZ
(*args)¶ Bases:
object
- /** * Constructor */
Return type: None - /** * Constructor * @param theAllocator * allocator to manage the memory */
Parameters: theAllocator (Handle_NCollection_BaseAllocator &) – Return type: None -
thisown
¶ The membership flag
-
class
BOPDS_Iterator
(*args)¶ Bases:
object
- Empty contructor
Return type: None - Contructor theAllocator - the allocator to manage the memory
Parameters: theAllocator (BOPCol_BaseAllocator &) – Return type: None -
Initialize
()¶ - Initializes the iterator theType1 - the first type of shape theType2 - the second type of shape
Parameters: - theType1 (TopAbs_ShapeEnum) –
- theType2 (TopAbs_ShapeEnum) –
Return type:
-
Prepare
()¶ - Perform the intersection algorithm and prepare the results to be used
Return type: void
-
SetDS
()¶ - Modifier Sets the data structure <pDS> to process
Parameters: pDS (BOPDS_PDS &) – Return type: 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
Parameters: theFlag (bool) – Return type: None
-
Value
()¶ - Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape theWithSubShape - flag. True if the sub-shapes of shapes are intersected
Parameters: - theIndex1 (int &) –
- theIndex2 (int &) –
- theWithSubShape (bool) –
Return type:
-
thisown
¶ The membership flag
-
class
BOPDS_IteratorSI
(*args)¶ Bases:
OCC.BOPDS.BOPDS_Iterator
- Empty contructor
Return type: None - Contructor theAllocator - the allocator to manage the memory
Parameters: theAllocator (BOPCol_BaseAllocator &) – Return type: 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.
Parameters: theLevel (int) – Return type: None
-
thisown
¶ The membership flag
-
class
BOPDS_PassKey
(*args)¶ Bases:
object
- Empty contructor
Return type: None - Contructor theAllocator - the allocator to manage the memory
Parameters: theAllocator (BOPCol_BaseAllocator &) – Return type: None - Copy Contructor
Parameters: Other (BOPDS_PassKey &) – Return type: None -
Ids
()¶ - Selector Returns the first two Ids <theI1>,<theI2>
Parameters: - theI1 (int &) –
- theI2 (int &) –
Return type:
-
IsEqual
()¶ - Query Returns true if the PassKey is equal to <the theOther>
Parameters: theOther (BOPDS_PassKey &) – Return type: bool
-
Set
()¶ Parameters: Other (BOPDS_PassKey &) – Return type: BOPDS_PassKey
-
SetIds
()¶ - Modifier Sets one Id <theI1>
Parameters: theI1 (int) – Return type: None - Modifier Sets two Id <theI1>,<theI2>
Parameters: Return type: - Modifier Sets three Id <theI1>,<theI2>,<theI3>
Parameters: Return type: - Modifier Sets four Id <theI1>,<theI2>,<theI3>,<theI4>
Parameters: Return type: - Modifier Sets the list of Id <theLI>
Parameters: theLI (BOPCol_ListOfInteger &) – Return type: None
-
thisown
¶ The membership flag
-
class
BOPDS_PassKeyBoolean
(*args)¶ Bases:
OCC.BOPDS.BOPDS_PassKey
Return type: Parameters: - theAllocator (BOPCol_BaseAllocator &) –
- Other (BOPDS_PassKeyBoolean &) –
Return type: Return type: -
Set
()¶ Parameters: & (BOPDS_PassKeyBoolean) – Return type: BOPDS_PassKeyBoolean
-
thisown
¶ The membership flag
-
class
BOPDS_PassKeyMapHasher
¶ Bases:
object
-
static
IsEqual
()¶ Parameters: - aPKey1 (BOPDS_PassKey &) –
- aPKey2 (BOPDS_PassKey &) –
Return type:
-
thisown
¶ The membership flag
-
static
-
BOPDS_PassKeyMapHasher_IsEqual
()¶ Parameters: - aPKey1 (BOPDS_PassKey &) –
- aPKey2 (BOPDS_PassKey &) –
Return type:
-
class
BOPDS_Pave
(*args)¶ Bases:
object
- Empty contructor
Return type: None -
Contents
()¶ - Selector Returns the index of vertex <theIndex> Returns the parameter of vertex <theParameter>
Parameters: - theIndex (int &) –
- theParameter (float &) –
Return type:
-
IsEqual
()¶ - Query Returns true if thr parameter od this is equal to the parameter of <theOther>
Parameters: theOther (BOPDS_Pave &) – Return type: bool
-
IsLess
()¶ - Query Returns true if thr parameter od this is less than the parameter of <theOther>
Parameters: theOther (BOPDS_Pave &) – Return type: bool
-
SetIndex
()¶ - Modifier Sets the index of vertex <theIndex>
Parameters: theIndex (int) – Return type: None
-
SetParameter
()¶ - Modifier Sets the parameter of vertex <theParameter>
Parameters: theParameter (float) – Return type: None
-
thisown
¶ The membership flag
-
class
BOPDS_PaveBlock
(*args)¶ Bases:
OCC.MMgt.MMgt_TShared
- Empty contructor
Return type: None - Contructor <theAllocator> - the allocator to manage the memory
Parameters: theAllocator (BOPCol_BaseAllocator &) – Return type: None -
AppendExtPave
()¶ - Modifier Appends extra paves <theLP>
Parameters: theLP (BOPDS_Pave &) – Return type: None
-
AppendExtPave1
()¶ - Modifier Appends extra pave <thePave>
Parameters: thePave (BOPDS_Pave &) – Return type: None
-
ChangeExtPaves
()¶ - Selector / Modifier Returns the extra paves
Return type: 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
Parameters: Return type:
-
ExtPaves
()¶ - Selector Returns the extra paves
Return type: BOPDS_ListOfPave
-
GetHandle
()¶
-
HasEdge
()¶ - Query Returns true if the pave block has edge
Return type: bool - Query Returns true if the pave block has edge Returns the index of edge <theEdge>
Parameters: theEdge (int &) – Return type: bool
-
HasSameBounds
()¶ - Query Returns true if the pave block has pave indices that equal to the pave indices of the pave block <theOther>
Parameters: theOther (Handle_BOPDS_PaveBlock &) – Return type: bool
-
Indices
()¶ - Selector Returns the pave indices <theIndex1,theIndex2> of the pave block
Parameters: - theIndex1 (int &) –
- theIndex2 (int &) –
Return type:
-
IsSplitEdge
()¶ - Query Returns true if the edge is equal to the original edge of the pave block
Return type: bool
-
Pave1
()¶ - Selector Returns the first pave
Return type: BOPDS_Pave
-
Pave2
()¶ - Selector Returns the second pave
Return type: BOPDS_Pave
-
Range
()¶ - Selector Returns the parametric range <theT1,theT2> of the pave block
Parameters: - theT1 (float &) –
- theT2 (float &) –
Return type:
-
SetEdge
()¶ - Modifier Sets the index of edge of pave block <theEdge>
Parameters: theEdge (int) – Return type: None
-
SetOriginalEdge
()¶ - Modifier Sets the index of original edge of the pave block <theEdge>
Parameters: theEdge (int) – Return type: None
-
SetPave1
()¶ - Modifier Sets the first pave <thePave>
Parameters: thePave (BOPDS_Pave &) – Return type: None
-
SetPave2
()¶ - Modifier Sets the second pave <thePave>
Parameters: thePave (BOPDS_Pave &) – Return type: None
-
SetShrunkData
()¶ - Modifier Sets the shrunk data for the pave block <theTS1>, <theTS2> - shrunk range <theBox> - the bounding box
Parameters: Return type:
-
ShrunkData
()¶ - Selector Returns the shrunk data for the pave block <theTS1>, <theTS2> - shrunk range <theBox> - the bounding box
Parameters: - theTS1 (float &) –
- theTS2 (float &) –
- theBox (Bnd_Box &) –
Return type:
-
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.
Parameters: - theLPB (BOPDS_ListOfPaveBlock &) –
- theFlag (bool) – default value is Standard_True
Return type:
-
thisown
¶ The membership flag
-
BOPDS_PaveMapHasher_IsEqual
()¶ Parameters: - aPave1 (BOPDS_Pave &) –
- aPave2 (BOPDS_Pave &) –
Return type:
-
class
BOPDS_Point
(*args)¶ Bases:
object
- Empty contructor
Return type: None -
SetIndex
()¶ - Modifier Sets the index of the vertex <theIndex>
Parameters: theIndex (int) – Return type: None
-
SetPnt2D1
()¶ - Modifier Sets 2D point on the first face <thePnt>
Parameters: thePnt (gp_Pnt2d) – Return type: None
-
SetPnt2D2
()¶ - Modifier Sets 2D point on the second face <thePnt>
Parameters: thePnt (gp_Pnt2d) – Return type: None
-
thisown
¶ The membership flag
-
class
BOPDS_ShapeInfo
(*args)¶ Bases:
object
- Empty contructor
Return type: None - Contructor theAllocator - the allocator to manage the memory
Parameters: theAllocator (BOPCol_BaseAllocator &) – Return type: None -
ChangeSubShapes
()¶ - Selector/ Modifier Returns the list of indices of sub-shapes
Return type: BOPCol_ListOfInteger
-
HasFlag
()¶ - Query Returns true if there is flag.
Return type: bool - Query Returns true if there is flag. Returns the the flag theFlag
Parameters: theFlag (int &) – Return type: bool
-
HasSubShape
()¶ - Query Returns true if the shape has sub-shape with index theI
Parameters: theI (int) – Return type: bool
-
IsInterfering
()¶ - Returns true if the shape can be participant of an interference //! Flag
Return type: bool
-
SetBox
()¶ - Modifier Sets the boundung box of the shape theBox
Parameters: theBox (Bnd_Box &) – Return type: None
-
SetReference
()¶ - Modifier Sets the index of a reference information
Parameters: theI (int) – Return type: None
-
SetShapeType
()¶ - Modifier Sets the type of shape theType
Parameters: theType (TopAbs_ShapeEnum) – Return type: None
-
Shape
()¶ - Selector Returns the shape
Return type: TopoDS_Shape
-
ShapeType
()¶ - Selector Returns the type of shape
Return type: TopAbs_ShapeEnum
-
SubShapes
()¶ - Selector Returns the list of indices of sub-shapes
Return type: BOPCol_ListOfInteger
-
thisown
¶ The membership flag
-
class
BOPDS_SubIterator
(*args)¶ Bases:
object
- Empty contructor
Return type: None - Contructor theAllocator - the allocator to manage the memory
Parameters: theAllocator (BOPCol_BaseAllocator &) – Return type: None -
Prepare
()¶ - Perform the intersection algorithm and prepare the results to be used
Return type: void
-
SetDS
()¶ - Modifier Sets the data structure <pDS> to process
Parameters: pDS (BOPDS_PDS &) – Return type: None
-
SetSubSet1
()¶ - Modifier Sets the first set of indices <theLI> to process
Parameters: theLI (BOPCol_ListOfInteger &) – Return type: None
-
SetSubSet2
()¶ - Modifier Sets the second set of indices <theLI> to process
Parameters: theLI (BOPCol_ListOfInteger &) – Return type: None
-
SubSet1
()¶ - Selector Returns the first set of indices to process
Return type: BOPCol_ListOfInteger
-
SubSet2
()¶ - Selector Returns the second set of indices to process
Return type: BOPCol_ListOfInteger
-
Value
()¶ - Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape
Parameters: - theIndex1 (int &) –
- theIndex2 (int &) –
Return type:
-
thisown
¶ The membership flag
-
class
BOPDS_Tools
¶ Bases:
object
-
static
HasBRep
()¶ - Returns true if the type <theT> correspond to a shape having boundary representation
Parameters: theT (TopAbs_ShapeEnum) – Return type: bool
-
static
IsInterfering
()¶ - Returns true if the type <theT> can be participant of an interference
Parameters: theT (TopAbs_ShapeEnum) – Return type: bool
-
static
TypeToInteger
()¶ - Converts the conmbination of two types of shape <theT1>,<theT2> to the one integer value, that is returned
Parameters: - theT1 (TopAbs_ShapeEnum) –
- theT2 (TopAbs_ShapeEnum) –
Return type: - Converts the type of shape <theT>, to integer value, that is returned
Parameters: theT (TopAbs_ShapeEnum) – Return type: int
-
thisown
¶ The membership flag
-
static
-
BOPDS_Tools_HasBRep
()¶ - Returns true if the type <theT> correspond to a shape having boundary representation
Parameters: theT (TopAbs_ShapeEnum) – Return type: bool
-
BOPDS_Tools_IsInterfering
()¶ - Returns true if the type <theT> can be participant of an interference
Parameters: theT (TopAbs_ShapeEnum) – Return type: bool
-
BOPDS_Tools_TypeToInteger
()¶ - Converts the conmbination of two types of shape <theT1>,<theT2> to the one integer value, that is returned
Parameters: - theT1 (TopAbs_ShapeEnum) –
- theT2 (TopAbs_ShapeEnum) –
Return type: - Converts the type of shape <theT>, to integer value, that is returned
Parameters: theT (TopAbs_ShapeEnum) – Return type: int
-
class
Handle_BOPDS_CommonBlock
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BOPDS_PaveBlock
(*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