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

#include <rounding-vertex.hh>

Inheritance diagram for GMap3d::CRoundingVertex:
GMap3d::CRoundingGeneric

Public Member Functions

 CRoundingVertex (CGMapVertex *AMap)
 Constructeur.
 
 ~CRoundingVertex ()
 Destructeur.
 
int roundMarkedVertices (int AMarkNumber, bool ADig)
 
int roundMarkedEdges (int AMarkNumber, bool A3D, bool ADig, bool ASetBack)
 
- Public Member Functions inherited from GMap3d::CRoundingGeneric
 CRoundingGeneric (CGMapGeneric *AMap)
 Constructeur.
 
 ~CRoundingGeneric ()
 Destructeur.
 
void chamferCell (CDart *ADart, int ACellDim, int AMaxDim)
 
void chamferVertex (CDart *ADart, int AMaxDim)
 
void chamferEdge (CDart *ADart, int AMaxDim)
 

Protected Member Functions

TCoordinate getDartRoundingCoef (CDart *ADart, int ADimension) const
 
void setDartRoundingCoef (CDart *ADart, int ADimension, TCoordinate AValue) const
 
void doListExtension (int AMarkNumber, int AMarkInitial, int AMarkSelected, int AMarkTreated, int AMarkVertexToDestroy, CCoverage *ACov)
 
void doMinMaxCalcul (int ADirectCoef1, int AMarkSelected, int AMarkTreated, int AMarkInitial, int AMarkMax, bool A3D, CCoverage *ACov)
 
void doNewVerticesCalcul (int AMarkSelected, int AMarkTreated, int AMarkInitial, int AMarkMax, int ADirectIndexOld, int ADirectIndexNew, bool ASetback, bool A3D, CCoverage *ACov)
 
int doEdgeChamferingInRounding (int AMarkTreated, int AMarkInitial, bool ADig, bool A3D, CCoverage *ACov)
 
void doVerticesChamferingInRounding (int AMarkTreated, int AMarkInitial, bool ADig, bool A3D, CCoverage *ACov)
 
- Protected Member Functions inherited from GMap3d::CRoundingGeneric
void addDartChain (CDart *ADart, int ADimMin, int ADimMax)
 
void chamfreinLink (CDart *ADart1, CDart *ADart2, int ADim, int ADimMin, int ADimMax)
 
int getVertexRoundingDimension (CDart *ADart, int ACellDim)
 
int getEdgeRoundingDimension (CDart *ADart, int ACellDim)
 
void removeEdge (CDart *ADart)
 

Friends

class CRoundingInterface
 

Detailed Description

Definition at line 37 of file rounding-vertex.hh.

Constructor & Destructor Documentation

CRoundingVertex::CRoundingVertex ( CGMapVertex *  AMap)

Constructeur.

Definition at line 32 of file rounding-vertex.cc.

CRoundingVertex::~CRoundingVertex ( )

Destructeur.

Definition at line 42 of file rounding-vertex.cc.

Member Function Documentation

int CRoundingVertex::doEdgeChamferingInRounding ( int  AMarkTreated,
int  AMarkInitial,
bool  ADig,
bool  A3D,
CCoverage *  ACov 
)
protected

Definition at line 569 of file rounding-vertex.cc.

void CRoundingVertex::doListExtension ( int  AMarkNumber,
int  AMarkInitial,
int  AMarkSelected,
int  AMarkTreated,
int  AMarkVertexToDestroy,
CCoverage *  ACov 
)
protected

Definition at line 339 of file rounding-vertex.cc.

void CRoundingVertex::doMinMaxCalcul ( int  ADirectCoef1,
int  AMarkSelected,
int  AMarkTreated,
int  AMarkInitial,
int  AMarkMax,
bool  A3D,
CCoverage *  ACov 
)
protected

Definition at line 374 of file rounding-vertex.cc.

void CRoundingVertex::doNewVerticesCalcul ( int  AMarkSelected,
int  AMarkTreated,
int  AMarkInitial,
int  AMarkMax,
int  ADirectIndexOld,
int  ADirectIndexNew,
bool  ASetback,
bool  A3D,
CCoverage *  ACov 
)
protected

Definition at line 452 of file rounding-vertex.cc.

void CRoundingVertex::doVerticesChamferingInRounding ( int  AMarkTreated,
int  AMarkInitial,
bool  ADig,
bool  A3D,
CCoverage *  ACov 
)
protected

Definition at line 632 of file rounding-vertex.cc.

TCoordinate CRoundingVertex::getDartRoundingCoef ( CDart *  ADart,
int  ADimension 
) const
protected

Récupère la valeur du coefficient d'arrondi associé au brin ADart sur le champ directinfo indiqué.

Definition at line 696 of file rounding-vertex.cc.

int CRoundingVertex::roundMarkedEdges ( int  AMarkNumber,
bool  A3D,
bool  ADig,
bool  ASetBack 
)

Arrondit les arêtes dont un brin au moins est marqué. À chaque brin marqué doit être associé un coefficient (TCoordinate) à l'aide du champ directInfo d'indice ADirectInfoParam.

Si A3D est vrai, les arêtes sont chanfreinées en dimension 3, sinon elles sont chanfreinées en dimension 2.

Si ADig est vrai...

Parameters
AMarkNumberUn numéro de marque
A3DUn booléen indiquant dans quelle dimension doivent être arrondies les arêtes
ADigUn booléen ???
ASetBackUn booléen ???
Returns
Le nombre d'arêtes arrondies

ADig => A3D

Definition at line 185 of file rounding-vertex.cc.

int CRoundingVertex::roundMarkedVertices ( int  AMarkNumber,
bool  ADig 
)

Arrondit les sommets dont un brin au moins est marqué.

Parameters
AMarkNumberUn numéro de marque
ADigun booléen indiquant si on ajoute ou retire de la matière
Returns
Le nombre de sommets arrondis

Definition at line 52 of file rounding-vertex.cc.

void CRoundingVertex::setDartRoundingCoef ( CDart *  ADart,
int  ADimension,
TCoordinate  AValue 
) const
protected

Fixe la valeur du coefficient d'arrondi associé au brin ADart sur le champ directinfo indiqué.

Definition at line 703 of file rounding-vertex.cc.

Friends And Related Function Documentation

friend class CRoundingInterface
friend

Definition at line 39 of file rounding-vertex.hh.


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