Open CASCADE Technology 6.6.0
Public Member Functions
IFGraph_AllConnected Class Reference

this class gives content of the CONNECTED COMPONANT(S)
which include specific Entity(ies)

#include <IFGraph_AllConnected.hxx>

Inheritance diagram for IFGraph_AllConnected:
Inheritance graph
[legend]

Public Member Functions

 IFGraph_AllConnected (const Interface_Graph &agraph)
 creates an AllConnected from a graph, empty ready to be filled

 IFGraph_AllConnected (const Interface_Graph &agraph, const Handle< Standard_Transient > &ent)
 creates an AllConnected which memorizes Entities Connected to
a given one, at any level : that is, itself, all Entities
Shared by it and Sharing it, and so on.
In other terms, this is the content of the CONNECTED COMPONANT
which include a specific Entity

void GetFromEntity (const Handle< Standard_Transient > &ent)
 adds an entity and its Connected ones to the list (allows to
cumulate all Entities Connected by some ones)
Note that if "ent" is in the already computed list,, no entity
will be added, but if "ent" is not already in the list, a new
Connected Componant will be cumulated

void ResetData ()
 Allows to restart on a new data set

virtual void Evaluate ()
 does the specific evaluation (Connected entities atall levels)


Constructor & Destructor Documentation

IFGraph_AllConnected::IFGraph_AllConnected ( const Interface_Graph agraph)
IFGraph_AllConnected::IFGraph_AllConnected ( const Interface_Graph agraph,
const Handle< Standard_Transient > &  ent 
)

Member Function Documentation

virtual void IFGraph_AllConnected::Evaluate ( ) [virtual]

Reimplemented from Interface_GraphContent.

void IFGraph_AllConnected::GetFromEntity ( const Handle< Standard_Transient > &  ent)
void IFGraph_AllConnected::ResetData ( )

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines