#include <corefine-2d-tools.hh>
Inherits GMap3d::CGeneralTools.
Inherited by GMap3d::CCorefine3dTools.
Public Member Functions | |
CCorefine2dTools (CGMapVertex *AMap, TCoordinate AEpsilon=1E-4) | |
bool | isVectorInSector (const CVertex &AVector, const CVertex &ASectorVector1, const CVertex &ASectorVector2) |
bool | isVectorInSector (const CVertex &AVector, CDart *ASector, int AVertexDI=-1) |
virtual bool | areVectorsColinear (const CVertex &AVector1, const CVertex &AVector2) |
virtual TCoordinate | pointParameterOnLine (const CVertex &APoint, const CVertex &ALineVertex1, const CVertex &ALineVertex2) |
virtual CDart * | findSectorOfVector (const CVertex &AVector, CDart *AVertex, int AVertexDI=-1) |
std::list< CDart * > * | sortVerticesEdges (CDart *AVertex1, CDart *AVertex2, int AVertexDI=-1) |
std::list< CDart * > * | sortMultipleVerticesEdges (CDart *AVertex1, const std::list< CDart * > &AVertices, int AVertexDI=-1) |
virtual CDart * | findWellOrientedDart (CDart *AVertex, int AVertexDI=-1) |
virtual TPositionOnEdge | localizePointOnEdge (const CVertex &APoint, const CVertex &AVertex1, const CVertex &AVertex2, TCoordinate *AParam) |
virtual TPositionOnEdge | localizeEdgesIntersection (const CVertex &ALinePoint1, const CVertex &ALinePoint2, const CVertex &AEdgePoint1, const CVertex &AEdgePoint2, TCoordinate *ALineParam, TCoordinate *AEdgeParam) |
CEdgeIntersection | findNearestIntersection (const CVertex &AVertex1, const CVertex &AVertex2, CDart *AFace, bool AFaceIsVertex1, int AVertexDI=-1) |
CDart * | localizePointInMesh (const CVertex &APoint, CDart *AMesh, int AVertexDI=-1) |
void | removeDoubleEdges (CDart *&AMesh1, CDart *&AMesh2, std::bitset< NB_MARKS > ACopyMarks, int AVertexDI=-1) |
Definition at line 35 of file corefine-2d-tools.hh.
CCorefine2dTools::CCorefine2dTools | ( | CGMapVertex * | AMap, | |
TCoordinate | AEpsilon = 1E-4 | |||
) |
Definition at line 48 of file corefine-2d-tools.cc.
bool CCorefine2dTools::areVectorsColinear | ( | const CVertex & | AVector1, | |
const CVertex & | AVector2 | |||
) | [virtual] |
Reimplemented from GMap3d::CGeneralTools.
Reimplemented in GMap3d::CCorefine3dTools.
Definition at line 82 of file corefine-2d-tools.cc.
CEdgeIntersection CCorefine2dTools::findNearestIntersection | ( | const CVertex & | AVertex1, | |
const CVertex & | AVertex2, | |||
CDart * | AFace, | |||
bool | AFaceIsVertex1, | |||
int | AVertexDI = -1 | |||
) |
Definition at line 623 of file corefine-2d-tools.cc.
CDart * CCorefine2dTools::findSectorOfVector | ( | const CVertex & | AVector, | |
CDart * | AVertex, | |||
int | AVertexDI = -1 | |||
) | [virtual] |
Definition at line 124 of file corefine-2d-tools.cc.
bool CCorefine2dTools::isVectorInSector | ( | const CVertex & | AVector, | |
CDart * | ASector, | |||
int | AVertexDI = -1 | |||
) |
Definition at line 69 of file corefine-2d-tools.cc.
bool CCorefine2dTools::isVectorInSector | ( | const CVertex & | AVector, | |
const CVertex & | ASectorVector1, | |||
const CVertex & | ASectorVector2 | |||
) |
Definition at line 55 of file corefine-2d-tools.cc.
TPositionOnEdge CCorefine2dTools::localizeEdgesIntersection | ( | const CVertex & | ALinePoint1, | |
const CVertex & | ALinePoint2, | |||
const CVertex & | AEdgePoint1, | |||
const CVertex & | AEdgePoint2, | |||
TCoordinate * | ALineParam, | |||
TCoordinate * | AEdgeParam | |||
) | [virtual] |
CDart * CCorefine2dTools::localizePointInMesh | ( | const CVertex & | APoint, | |
CDart * | AMesh, | |||
int | AVertexDI = -1 | |||
) |
Definition at line 706 of file corefine-2d-tools.cc.
TPositionOnEdge CCorefine2dTools::localizePointOnEdge | ( | const CVertex & | APoint, | |
const CVertex & | AVertex1, | |||
const CVertex & | AVertex2, | |||
TCoordinate * | AParam | |||
) | [virtual] |
Definition at line 532 of file corefine-2d-tools.cc.
TCoordinate CCorefine2dTools::pointParameterOnLine | ( | const CVertex & | APoint, | |
const CVertex & | ALineVertex1, | |||
const CVertex & | ALineVertex2 | |||
) | [virtual] |
Reimplemented from GMap3d::CGeneralTools.
Reimplemented in GMap3d::CCorefine3dTools.
Definition at line 101 of file corefine-2d-tools.cc.
void GMap3d::CCorefine2dTools::removeDoubleEdges | ( | CDart *& | AMesh1, | |
CDart *& | AMesh2, | |||
std::bitset< NB_MARKS > | ACopyMarks, | |||
int | AVertexDI = -1 | |||
) |
std::list<CDart*>* GMap3d::CCorefine2dTools::sortMultipleVerticesEdges | ( | CDart * | AVertex1, | |
const std::list< CDart * > & | AVertices, | |||
int | AVertexDI = -1 | |||
) |
list< CDart * > * CCorefine2dTools::sortVerticesEdges | ( | CDart * | AVertex1, | |
CDart * | AVertex2, | |||
int | AVertexDI = -1 | |||
) |
Definition at line 179 of file corefine-2d-tools.cc.