Open CASCADE Technology
6.5.4
|
The class RoughShapeIntersector describes the algorithm of
intersection of bounding boxes of
shapes stored in ShapesDataStructure.
It stores statuses of intersection in 2 dimension array.
#include <BOPTools_RoughShapeIntersector.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | BOPTools_RoughShapeIntersector (const BooleanOperations_PShapesDataStructure &PDS) |
Initializes algorithm by shapes data structure | |
void | Perform () |
Perform computations. Warning: Using this function, after the destructor of the object pointed by PDS (see constructor) was invoked, lead to crash. | |
const Handle_BOPTools_HArray2OfIntersectionStatus & | TableOfStatus () const |
Returns 2 dimension array of status flags. First indices of the array corresponds to indices of subshapes of Object of myPDS. Second indices of array corresponds to indices of subshapes of Tool of myPDS. | |
Standard_Boolean | IsDone () const |
Returns False if some errors occured during computations or method Perform was not invoked before, otherwise returns True. |
DEFINE_STANDARD_ALLOC BOPTools_RoughShapeIntersector::BOPTools_RoughShapeIntersector | ( | const BooleanOperations_PShapesDataStructure & | PDS | ) |
const Handle_BOPTools_HArray2OfIntersectionStatus& BOPTools_RoughShapeIntersector::TableOfStatus | ( | ) | const |