#include <boolean-operations.hh>
Inherited by GMap3d::CBooleanOperations2d, and GMap3d::CBooleanOperations3d.
Public Member Functions | |
Constructeurs et destructeur | |
CBooleanOperations (CGMapVertex *AMap, CDart *AObject1, CDart *AObject2, bool ACalculateOrientation=true, int AVertexDI=-1) | |
virtual | ~CBooleanOperations () |
Méthodes publiques | |
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 | |
CGMapVertex * | getMap () const |
int | getObject1Mark () const |
int | getObject2Mark () const |
bool | calculateOrientation () const |
int | getVertexDI () const |
void | getMarkedCompounds (int AMark, std::list< CDart * > *AList) |
virtual bool | corefineObjects (std::bitset< NB_MARKS > ACopyMarks)=0 |
virtual void | extendMarks ()=0 |
Private Attributes | |
CGMapVertex * | FMap |
CDart * | FObject1 |
CDart * | FObject2 |
int | FObject1Mark |
int | FObject2Mark |
bool | FCalculateOrientation |
int | FVertexDI |
Definition at line 60 of file boolean-operations.hh.
CBooleanOperations::CBooleanOperations | ( | 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 |
Definition at line 57 of file boolean-operations.cc.
CBooleanOperations::~CBooleanOperations | ( | ) | [virtual] |
bool CBooleanOperations::calculateOrientation | ( | ) | const [protected] |
Definition at line 454 of file boolean-operations.cc.
bool GMap3d::CBooleanOperations::computeResults | ( | std::bitset< NB_MARKS > | ACopyMarks = 0 |
) |
virtual bool GMap3d::CBooleanOperations::corefineObjects | ( | std::bitset< NB_MARKS > | ACopyMarks | ) | [protected, pure virtual] |
Implemented in GMap3d::CBooleanOperations2d, and GMap3d::CBooleanOperations3d.
virtual void GMap3d::CBooleanOperations::extendMarks | ( | ) | [protected, pure virtual] |
Implemented in GMap3d::CBooleanOperations2d, and GMap3d::CBooleanOperations3d.
CDart * CBooleanOperations::getDartFromResult | ( | TBooleanOperation | AOperation | ) |
Definition at line 285 of file boolean-operations.cc.
CDart * CBooleanOperations::getDartOutOfResult | ( | TBooleanOperation | AOperation | ) |
Definition at line 331 of file boolean-operations.cc.
CGMapVertex * CBooleanOperations::getMap | ( | ) | const [protected] |
Definition at line 433 of file boolean-operations.cc.
void GMap3d::CBooleanOperations::getMarkedCompounds | ( | int | AMark, | |
std::list< CDart * > * | AList | |||
) | [protected] |
CDart * CBooleanOperations::getObject1 | ( | ) | const |
Definition at line 95 of file boolean-operations.cc.
int CBooleanOperations::getObject1Mark | ( | ) | const [protected] |
Definition at line 440 of file boolean-operations.cc.
CDart * CBooleanOperations::getObject2 | ( | ) | const |
Definition at line 102 of file boolean-operations.cc.
int CBooleanOperations::getObject2Mark | ( | ) | const [protected] |
Definition at line 447 of file boolean-operations.cc.
int CBooleanOperations::getVertexDI | ( | ) | const [protected] |
Definition at line 461 of file boolean-operations.cc.
bool CBooleanOperations::isComputationPossible | ( | ) | const |
Definition at line 123 of file boolean-operations.cc.
void GMap3d::CBooleanOperations::keepAllButResult | ( | TBooleanOperation | AOperation, | |
std::list< CDart * > * | ACompoundList = NULL | |||
) |
void GMap3d::CBooleanOperations::keepResult | ( | TBooleanOperation | AOperation, | |
std::list< CDart * > * | ACompoundList = NULL | |||
) |
void CBooleanOperations::markAllButResult | ( | TBooleanOperation | AOperation, | |
int | AMark | |||
) |
Definition at line 189 of file boolean-operations.cc.
void CBooleanOperations::markResult | ( | TBooleanOperation | AOperation, | |
int | AMark | |||
) |
Definition at line 145 of file boolean-operations.cc.
void CBooleanOperations::markResults | ( | TBooleanOperation | AOperation, | |
int | AKeepMark, | |||
int | ADiscardMark | |||
) |
Definition at line 233 of file boolean-operations.cc.
void CBooleanOperations::setObject1 | ( | CDart * | AObject | ) |
Definition at line 109 of file boolean-operations.cc.
void CBooleanOperations::setObject2 | ( | CDart * | AObject | ) |
Definition at line 116 of file boolean-operations.cc.
bool GMap3d::CBooleanOperations::FCalculateOrientation [private] |
Definition at line 159 of file boolean-operations.hh.
CGMapVertex* GMap3d::CBooleanOperations::FMap [private] |
Attributs privés
Definition at line 151 of file boolean-operations.hh.
CDart* GMap3d::CBooleanOperations::FObject1 [private] |
Definition at line 153 of file boolean-operations.hh.
int GMap3d::CBooleanOperations::FObject1Mark [private] |
Definition at line 156 of file boolean-operations.hh.
CDart* GMap3d::CBooleanOperations::FObject2 [private] |
Definition at line 154 of file boolean-operations.hh.
int GMap3d::CBooleanOperations::FObject2Mark [private] |
Definition at line 157 of file boolean-operations.hh.
int GMap3d::CBooleanOperations::FVertexDI [private] |
Definition at line 160 of file boolean-operations.hh.