Open CASCADE Technology  7.2.0
Public Member Functions | Protected Attributes

BOPTools_ShapeSet Class Reference

Implementation of some formal opereations with a set of shapes. More...

#include <BOPTools_ShapeSet.hxx>

Public Member Functions

 BOPTools_ShapeSet ()
 
virtual ~BOPTools_ShapeSet ()
 
 BOPTools_ShapeSet (const BOPCol_BaseAllocator &theAllocator)
 
void SetShape (const TopoDS_Shape &theS)
 
const TopoDS_ShapeShape () const
 
void Add (const BOPCol_ListOfShape &theLS)
 
void Add (const TopoDS_Shape &theShape)
 
void Add (const TopoDS_Shape &theShape, const TopAbs_ShapeEnum theType)
 
void AddEdge (const TopoDS_Edge &theEdge)
 
void AddEdges (const BOPCol_ListOfShape &theLS)
 
void AddEdges (const TopoDS_Shape &theFace)
 
void Subtract (const BOPTools_ShapeSet &theSet)
 
void operator-= (const BOPTools_ShapeSet &theSet)
 
void Clear ()
 
void Get (BOPCol_ListOfShape &theLS) const
 
Standard_Boolean Contains (const BOPTools_ShapeSet &theSet) const
 

Protected Attributes

TopoDS_Shape myShape
 
BOPCol_MapOfOrientedShape myMap
 

Detailed Description

Implementation of some formal opereations with a set of shapes.

Constructor & Destructor Documentation

◆ BOPTools_ShapeSet() [1/2]

BOPTools_ShapeSet::BOPTools_ShapeSet ( )

◆ ~BOPTools_ShapeSet()

virtual BOPTools_ShapeSet::~BOPTools_ShapeSet ( )
virtual

◆ BOPTools_ShapeSet() [2/2]

BOPTools_ShapeSet::BOPTools_ShapeSet ( const BOPCol_BaseAllocator theAllocator)

Member Function Documentation

◆ Add() [1/3]

void BOPTools_ShapeSet::Add ( const BOPCol_ListOfShape theLS)

◆ Add() [2/3]

void BOPTools_ShapeSet::Add ( const TopoDS_Shape theShape)

◆ Add() [3/3]

void BOPTools_ShapeSet::Add ( const TopoDS_Shape theShape,
const TopAbs_ShapeEnum  theType 
)

◆ AddEdge()

void BOPTools_ShapeSet::AddEdge ( const TopoDS_Edge theEdge)

◆ AddEdges() [1/2]

void BOPTools_ShapeSet::AddEdges ( const BOPCol_ListOfShape theLS)

◆ AddEdges() [2/2]

void BOPTools_ShapeSet::AddEdges ( const TopoDS_Shape theFace)

◆ Clear()

void BOPTools_ShapeSet::Clear ( )

◆ Contains()

Standard_Boolean BOPTools_ShapeSet::Contains ( const BOPTools_ShapeSet theSet) const

◆ Get()

void BOPTools_ShapeSet::Get ( BOPCol_ListOfShape theLS) const

◆ operator-=()

void BOPTools_ShapeSet::operator-= ( const BOPTools_ShapeSet theSet)
inline

◆ SetShape()

void BOPTools_ShapeSet::SetShape ( const TopoDS_Shape theS)

◆ Shape()

const TopoDS_Shape& BOPTools_ShapeSet::Shape ( ) const

◆ Subtract()

void BOPTools_ShapeSet::Subtract ( const BOPTools_ShapeSet theSet)

Field Documentation

◆ myMap

BOPCol_MapOfOrientedShape BOPTools_ShapeSet::myMap
protected

◆ myShape

TopoDS_Shape BOPTools_ShapeSet::myShape
protected

The documentation for this class was generated from the following file: