Moka libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GMap3d::CBooleanOperations3d Class Reference

#include <boolean-operations-3d.hh>

Inheritance diagram for GMap3d::CBooleanOperations3d:
GMap3d::CBooleanOperations

Public Member Functions

Constructeurs et destructeur
 CBooleanOperations3d (CGMapVertex *AMap, CDart *AObject1, CDart *AObject2, bool ACalculateOrientation=true, int AVertexDI=-1)
 
 ~CBooleanOperations3d ()
 
Méthodes publiques
void setDisplayMessagesLevel (int ALevel)
 
- Public Member Functions inherited from GMap3d::CBooleanOperations
 CBooleanOperations (CGMapVertex *AMap, CDart *AObject1, CDart *AObject2, bool ACalculateOrientation=true, int AVertexDI=-1)
 
virtual ~CBooleanOperations ()
 
CDart * getObject1 () const
 
CDart * getObject2 () const
 
void setObject1 (CDart *AObject)
 
void setObject2 (CDart *AObject)
 
bool isComputationPossible () const
 
bool computeResults (std::bitset< NB_MARKS > ACopyMarks=0)
 
void markResult (TBooleanOperation AOperation, int AMark)
 
void markAllButResult (TBooleanOperation AOperation, int AMark)
 
void markResults (TBooleanOperation AOperation, int AKeepMark, int ADiscardMark)
 
CDart * getDartFromResult (TBooleanOperation AOperation)
 
CDart * getDartOutOfResult (TBooleanOperation AOperation)
 
void keepResult (TBooleanOperation AOperation, std::list< CDart * > *ACompoundList=NULL)
 
void keepAllButResult (TBooleanOperation AOperation, std::list< CDart * > *ACompoundList=NULL)
 

Protected Member Functions

Méthodes protégées
virtual bool corefineObjects (std::bitset< NB_MARKS > ACopyMarks)
 
virtual void extendMarks ()
 
- Protected Member Functions inherited from GMap3d::CBooleanOperations
CGMapVertex * getMap () const
 
int getObject1Mark () const
 
int getObject2Mark () const
 
bool calculateOrientation () const
 
int getVertexDI () const
 
void getMarkedCompounds (int AMark, std::list< CDart * > *AList)
 

Detailed Description

Definition at line 36 of file boolean-operations-3d.hh.

Constructor & Destructor Documentation

CBooleanOperations3d::CBooleanOperations3d ( CGMapVertex *  AMap,
CDart *  AObject1,
CDart *  AObject2,
bool  ACalculateOrientation = true,
int  AVertexDI = -1 
)

Constructeur par défaut

Parameters
AMapLa G-Carte contenant les objets
AObject1Le premier objet
AObject2Le second objet
Returns
Une nouvelle instance de la classe

Construction d'une nouvelle instance de la classe initialisée avec deux objets.

Definition at line 35 of file boolean-operations-3d.cc.

CBooleanOperations3d::~CBooleanOperations3d ( )

Destructeur

Destruction de l'instance.

Definition at line 48 of file boolean-operations-3d.cc.

Member Function Documentation

bool CBooleanOperations3d::corefineObjects ( std::bitset< NB_MARKS >  ACopyMarks)
protectedvirtual

Implements GMap3d::CBooleanOperations.

Definition at line 54 of file boolean-operations-3d.cc.

void CBooleanOperations3d::extendMarks ( )
protectedvirtual

Implements GMap3d::CBooleanOperations.

Definition at line 77 of file boolean-operations-3d.cc.

void GMap3d::CBooleanOperations3d::setDisplayMessagesLevel ( int  ALevel)
inline

Definition at line 73 of file boolean-operations-3d.hh.


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