Moka libraries
|
#include <boolean-operations-2d.hh>
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) |
Definition at line 37 of file boolean-operations-2d.hh.
CBooleanOperations2d::CBooleanOperations2d | ( | CGMapVertex * | AMap, |
CDart * | AObject1, | ||
CDart * | AObject2, | ||
bool | ACalculateOrientation = true , |
||
int | AVertexDI = -1 |
||
) |
Constructeur par défaut
AMap | La G-Carte contenant les objets |
AObject1 | Le premier objet |
AObject2 | Le second objet |
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 | ( | ) |
|
protectedvirtual |
Implements GMap3d::CBooleanOperations.
Definition at line 53 of file boolean-operations-2d.cc.
|
protectedvirtual |
Implements GMap3d::CBooleanOperations.
Definition at line 76 of file boolean-operations-2d.cc.