Open CASCADE Technology
6.5.4
|
class for storing information about all
interferences for given shape.
So, for each shape in the DS, we will have
the following interference list
(i1, t1, r1), (i2, t2, r2),...(iN, tN, rN),
where
(iN, tN, rN) - object of type BOPTools_Interference
The class BOPTools_InterferenceLine is dedicated
to provide convinient tools to manage this info.
#include <BOPTools_InterferenceLine.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | BOPTools_InterferenceLine () |
Empty constructor | |
const BOPTools_ListOfInterference & | GetOnType (const BooleanOperations_KindOfInterference aType) const |
Returns info. list for interferences of given type | |
Standard_Boolean | IsComputed (const Standard_Integer aWith, const BooleanOperations_KindOfInterference aType) const |
Returns TRUE if the interference of type <aType> with the shape <aWith> has already been computed. | |
void | AddInterference (const BOPTools_Interference &anInterference) |
Adds info. about the Interference to the list | |
void | AddInterference (const Standard_Integer aWith, const BooleanOperations_KindOfInterference aType, const Standard_Integer anIndex) |
Adds info. about the Interference to the list | |
const BOPTools_ListOfInterference & | List () const |
Selector | |
const BOPTools_ListOfInterference & | RealList () const |
Selector | |
Standard_Boolean | HasInterference () const |
Returns TRUE if the list contains at least one interference with non-empty result |
void BOPTools_InterferenceLine::AddInterference | ( | const BOPTools_Interference & | anInterference | ) |
void BOPTools_InterferenceLine::AddInterference | ( | const Standard_Integer | aWith, |
const BooleanOperations_KindOfInterference | aType, | ||
const Standard_Integer | anIndex | ||
) |
const BOPTools_ListOfInterference& BOPTools_InterferenceLine::GetOnType | ( | const BooleanOperations_KindOfInterference | aType | ) | const |
Standard_Boolean BOPTools_InterferenceLine::IsComputed | ( | const Standard_Integer | aWith, |
const BooleanOperations_KindOfInterference | aType | ||
) | const |