#include <general-tools.hh>
Inherited by GMap3d::CCorefine2dTools.
Public Member Functions | |
Constructeurs et destructeur | |
CGeneralTools (CGMapVertex *AMap, TCoordinate AEpsilon=1E-4) | |
virtual | ~CGeneralTools () |
Méthodes publiques | |
CVertex | normalizeVector (const CVertex &AVector) |
bool | isVectorNull (const CVertex &AVector) |
bool | areVectorsColinear (const CVertex &AVector1, const CVertex &AVector2) |
TCoordinate | pointParameterOnLine (const CVertex &APoint, const CVertex &ALineVertex1, const CVertex &ALineVertex2) |
TCoordinate | squareDistanceToLine (const CVertex &APoint, const CVertex &ALineVertex1, const CVertex &ALineVertex2) |
TCoordinate | squareDistanceToPlane (const CVertex &APoint, const CPlane &APlane) |
TCoordinate | squareDistanceBetweenLines (const CVertex &ALine1Vertex1, const CVertex &ALine1Vertex2, const CVertex &ALine2Vertex1, const CVertex &ALine2Vertex2, CPlane *AIntersectionPlane=NULL) |
bool | getLinesIntersection (CVertex ALine1Point1, CVertex ALine1Point2, CVertex ALine2Point1, CVertex ALine2Point2, TCoordinate *ALine1Param, TCoordinate *ALine2Param, const CPlane &APlane) |
virtual bool | arePointsEqual (const CVertex &APoint1, const CVertex &APoint2) |
virtual bool | isPointOnLine (const CVertex &APoint, const CVertex &ALineVertex1, const CVertex &ALineVertex2) |
virtual bool | isPointOnPlane (const CVertex &APoint, const CPlane &APlane) |
virtual bool | areLinesCrossing (const CVertex &ALine1Vertex1, const CVertex &ALine1Vertex2, const CVertex &ALine2Vertex1, const CVertex &ALine2Vertex2, CPlane *AIntersectionPlane=NULL) |
CDart * | alpha1 (CDart *ADart) |
CDart * | alpha2 (CDart *ADart) |
CVertex | edgeVector (CDart *AEdge, int AVertexDI=-1) |
virtual CVertex | faceNormalVector (CDart *AFace, int AVertexDI=-1) |
virtual CVertex | fastFaceNormalVector (CDart *AFace, int AVertexDI=-1) |
virtual CVertex | vertexNormalVector (CDart *AVertex, int AVertexDI=-1) |
virtual CVertex | fastVertexNormalVector (CDart *AVertex, int AVertexDI=-1) |
virtual CPlane | facePlane (CDart *AFace, int AVertexDI=-1) |
virtual CBoundingBox | orbitBoundingBox (CDart *ADart, TOrbit AOrbit, int AVertexDI=-1) |
virtual CVertex | regionNormalVector (CDart *ADart, TOrbit AOrbit, unsigned int ARegionSize, int ARegionMark=-1, int AVertexDI=-1) |
void | displayEdgeVertices (CDart *ADart, int AVertexDI=-1) |
void | displayFaceVertices (CDart *ADart, int AVertexDI=-1) |
CDart * | thickenVolume (CDart *AMesh, TCoordinate AThick=1.0, int ABorderSteps=5, int AVertexDI=-1) |
Protected Attributes | |
CGMapVertex * | FMap |
TCoordinate | FEps |
TCoordinate | FEps2 |
Private Member Functions | |
void | thickenBorder (CDart *ABorder, int AMark, TCoordinate AThick, int ASteps, int ASide1DI, int ASide2DI, int AVertexDI=-1) |
Definition at line 40 of file general-tools.hh.
CGeneralTools::CGeneralTools | ( | CGMapVertex * | AMap, | |
TCoordinate | AEpsilon = 1E-4 | |||
) |
Constructeur par défaut
Definition at line 43 of file general-tools.cc.
CGeneralTools::~CGeneralTools | ( | ) | [virtual] |
Definition at line 251 of file general-tools.cc.
Definition at line 266 of file general-tools.cc.
bool CGeneralTools::areLinesCrossing | ( | const CVertex & | ALine1Vertex1, | |
const CVertex & | ALine1Vertex2, | |||
const CVertex & | ALine2Vertex1, | |||
const CVertex & | ALine2Vertex2, | |||
CPlane * | AIntersectionPlane = NULL | |||
) | [virtual] |
Definition at line 240 of file general-tools.cc.
Definition at line 220 of file general-tools.cc.
Reimplemented in GMap3d::CCorefine2dTools, and GMap3d::CCorefine3dTools.
Definition at line 75 of file general-tools.cc.
void CGeneralTools::displayEdgeVertices | ( | CDart * | ADart, | |
int | AVertexDI = -1 | |||
) |
Definition at line 545 of file general-tools.cc.
void CGeneralTools::displayFaceVertices | ( | CDart * | ADart, | |
int | AVertexDI = -1 | |||
) |
Definition at line 551 of file general-tools.cc.
Definition at line 281 of file general-tools.cc.
Definition at line 286 of file general-tools.cc.
Definition at line 408 of file general-tools.cc.
Definition at line 354 of file general-tools.cc.
Definition at line 386 of file general-tools.cc.
bool CGeneralTools::getLinesIntersection | ( | CVertex | ALine1Point1, | |
CVertex | ALine1Point2, | |||
CVertex | ALine2Point1, | |||
CVertex | ALine2Point2, | |||
TCoordinate * | ALine1Param, | |||
TCoordinate * | ALine2Param, | |||
const CPlane & | APlane | |||
) |
Definition at line 182 of file general-tools.cc.
bool CGeneralTools::isPointOnLine | ( | const CVertex & | APoint, | |
const CVertex & | ALineVertex1, | |||
const CVertex & | ALineVertex2 | |||
) | [virtual] |
Definition at line 226 of file general-tools.cc.
Definition at line 233 of file general-tools.cc.
bool CGeneralTools::isVectorNull | ( | const CVertex & | AVector | ) |
Definition at line 70 of file general-tools.cc.
Definition at line 53 of file general-tools.cc.
CBoundingBox CGeneralTools::orbitBoundingBox | ( | CDart * | ADart, | |
TOrbit | AOrbit, | |||
int | AVertexDI = -1 | |||
) | [virtual] |
Definition at line 414 of file general-tools.cc.
TCoordinate CGeneralTools::pointParameterOnLine | ( | const CVertex & | APoint, | |
const CVertex & | ALineVertex1, | |||
const CVertex & | ALineVertex2 | |||
) |
Reimplemented in GMap3d::CCorefine2dTools, and GMap3d::CCorefine3dTools.
Definition at line 102 of file general-tools.cc.
CVertex CGeneralTools::regionNormalVector | ( | CDart * | ADart, | |
TOrbit | AOrbit, | |||
unsigned int | ARegionSize, | |||
int | ARegionMark = -1 , |
|||
int | AVertexDI = -1 | |||
) | [virtual] |
Definition at line 483 of file general-tools.cc.
TCoordinate CGeneralTools::squareDistanceBetweenLines | ( | const CVertex & | ALine1Vertex1, | |
const CVertex & | ALine1Vertex2, | |||
const CVertex & | ALine2Vertex1, | |||
const CVertex & | ALine2Vertex2, | |||
CPlane * | AIntersectionPlane = NULL | |||
) |
Definition at line 151 of file general-tools.cc.
TCoordinate CGeneralTools::squareDistanceToLine | ( | const CVertex & | APoint, | |
const CVertex & | ALineVertex1, | |||
const CVertex & | ALineVertex2 | |||
) |
Definition at line 118 of file general-tools.cc.
Definition at line 133 of file general-tools.cc.
void CGeneralTools::thickenBorder | ( | CDart * | ABorder, | |
int | AMark, | |||
TCoordinate | AThick, | |||
int | ASteps, | |||
int | ASide1DI, | |||
int | ASide2DI, | |||
int | AVertexDI = -1 | |||
) | [private] |
Definition at line 642 of file general-tools.cc.
CDart * CGeneralTools::thickenVolume | ( | CDart * | AMesh, | |
TCoordinate | AThick = 1.0 , |
|||
int | ABorderSteps = 5 , |
|||
int | AVertexDI = -1 | |||
) |
Definition at line 566 of file general-tools.cc.
Definition at line 364 of file general-tools.cc.
TCoordinate GMap3d::CGeneralTools::FEps [protected] |
Definition at line 147 of file general-tools.hh.
TCoordinate GMap3d::CGeneralTools::FEps2 [protected] |
Definition at line 147 of file general-tools.hh.
CGMapVertex* GMap3d::CGeneralTools::FMap [protected] |
Attributs protégés
Definition at line 145 of file general-tools.hh.