#include <rounding-vertex.hh>
Inherits GMap3d::CRoundingGeneric.
Public Member Functions | |
CRoundingVertex (CGMapVertex *AMap) | |
~CRoundingVertex () | |
int | roundMarkedVertices (int AMarkNumber, bool ADig) |
int | roundMarkedEdges (int AMarkNumber, bool A3D, bool ADig, bool ASetBack) |
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) |
Private Attributes | |
CGMapVertex * | FMap |
int | FCoefs [2] |
Friends | |
class | CRoundingInterface |
Definition at line 37 of file rounding-vertex.hh.
CRoundingVertex::CRoundingVertex | ( | CGMapVertex * | AMap | ) |
CRoundingVertex::~CRoundingVertex | ( | ) |
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...
AMarkNumber | Un numéro de marque | |
A3D | Un booléen indiquant dans quelle dimension doivent être arrondies les arêtes | |
ADig | Un booléen ??? | |
ASetBack | Un booléen ??? |
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é.
AMarkNumber | Un numéro de marque | |
ADig | un booléen indiquant si on ajoute ou retire de la matière |
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.
friend class CRoundingInterface [friend] |
Definition at line 39 of file rounding-vertex.hh.
int GMap3d::CRoundingVertex::FCoefs[2] [private] |
Definition at line 118 of file rounding-vertex.hh.
CGMapVertex* GMap3d::CRoundingVertex::FMap [private] |