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

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

Inheritance diagram for GMap3d::CBooleanOperations2d:
GMap3d::CBooleanOperations

Public Member Functions

Constructeurs et destructeur
 CBooleanOperations2d (CGMapVertex *AMap, CDart *AObject1, CDart *AObject2, bool ACalculateOrientation=true, int AVertexDI=-1)
 
 ~CBooleanOperations2d ()
 
- 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 37 of file boolean-operations-2d.hh.

Constructor & Destructor Documentation

CBooleanOperations2d::CBooleanOperations2d ( 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-2d.cc.

CBooleanOperations2d::~CBooleanOperations2d ( )

Destructeur

Destruction de l'instance.

Definition at line 47 of file boolean-operations-2d.cc.

Member Function Documentation

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

Implements GMap3d::CBooleanOperations.

Definition at line 53 of file boolean-operations-2d.cc.

void CBooleanOperations2d::extendMarks ( )
protectedvirtual

Implements GMap3d::CBooleanOperations.

Definition at line 76 of file boolean-operations-2d.cc.


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