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

#include <boolean-operations.hh>

Inheritance diagram for GMap3d::CBooleanOperations:
GMap3d::CBooleanOperations2d 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
 

Detailed Description

Definition at line 59 of file boolean-operations.hh.

Constructor & Destructor Documentation

CBooleanOperations::CBooleanOperations ( 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 57 of file boolean-operations.cc.

CBooleanOperations::~CBooleanOperations ( )
virtual

Destructeur

Destruction de l'instance.

Definition at line 79 of file boolean-operations.cc.

Member Function Documentation

bool CBooleanOperations::calculateOrientation ( ) const
protected

Definition at line 454 of file boolean-operations.cc.

bool CBooleanOperations::computeResults ( std::bitset< NB_MARKS >  ACopyMarks = 0)

Definition at line 131 of file boolean-operations.cc.

virtual bool GMap3d::CBooleanOperations::corefineObjects ( std::bitset< NB_MARKS >  ACopyMarks)
protectedpure virtual
virtual void GMap3d::CBooleanOperations::extendMarks ( )
protectedpure virtual
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 CBooleanOperations::getMarkedCompounds ( int  AMark,
std::list< CDart * > *  AList 
)
protected

Definition at line 468 of file boolean-operations.cc.

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 CBooleanOperations::keepAllButResult ( TBooleanOperation  AOperation,
std::list< CDart * > *  ACompoundList = NULL 
)

Definition at line 405 of file boolean-operations.cc.

void CBooleanOperations::keepResult ( TBooleanOperation  AOperation,
std::list< CDart * > *  ACompoundList = NULL 
)

Definition at line 377 of file boolean-operations.cc.

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.


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