#include <corefine-3d-tools.hh>
Inherits GMap3d::CCorefine2dTools.
Public Member Functions | |
CCorefine3dTools (CGMapVertex *AMap, TCoordinate AEpsilon=1E-4) | |
bool | isVectorInSector (const CVertex &AVector, const CVertex &ASectorVector1, const CVertex &ASectorVector2, const CPlane &APlane, bool AThickVector1=false, bool AThickVector2=false) |
bool | isVectorInSector (const CVertex &AVector, CDart *ASector, const CPlane &APlane, bool ATestBorders=false, int AVertexDI=-1) |
virtual bool | areVectorsColinear (const CVertex &AVector1, const CVertex &AVector2) |
virtual TCoordinate | pointParameterOnLine (const CVertex &APoint, const CVertex &ALineVertex1, const CVertex &ALineVertex2) |
CDart * | findSectorOfVector (const CVertex &AVector, CDart *AVertex, const CPlane &APlane, int AVertexDI=-1) |
bool | areFacesCoplanar (const CVertex &AVertex1, const CPlane &APlane1, const CVertex &AVertex2, const CPlane &APlane2) |
virtual CDart * | findWellOrientedDart (CDart *AVertex, int AVertexDI=-1) |
virtual TPositionOnEdge | localizeEdgesIntersection (const CVertex &ALinePoint1, const CVertex &ALinePoint2, const CVertex &AEdgePoint1, const CVertex &AEdgePoint2, TCoordinate *ALineParam, TCoordinate *AEdgeParam) |
TPositionOnEdge | localizeEdgeAndPlaneIntersection (CVertex AEdgePoint1, CVertex AEdgePoint2, const CPlane &APlane, TCoordinate *AEdgeParam) |
CEdgeIntersection | findNearestIntersectionInFace (const CVertex &AOrigin, const CVertex &ADirection, CDart *AFace, const CPlane &APlane, bool AExcludeOrigin=true, int AVertexDI=-1) |
CEdgeIntersection | findNearestIntersectionInFace (const CVertex &AOrigin, const CVertex &ADirection, CDart *AFace, const CPlane &AFacePlane, const CPlane &ACutPlane, bool AExcludeOrigin=true, int AVertexDI=-1) |
CEdgeIntersection | findNearestIntersectionInOrbit (const CVertex &AOrigin, const CVertex &ADirection, CDart *ADart, TOrbit AOrbit, int AVertexDI=-1) |
virtual bool | isPointInFace (const CVertex &APoint, CDart *AFace, const CPlane *APlane=NULL, int AVertexDI=-1) |
void | sortFacesAroundEdges_Naive (CDart *AEdge1, CDart *AEdge2, int ALinkDirectInfo, int AVertexDI=-1) |
void | sortFacesAroundEdges_NaiveBis (CDart *AEdge1, CDart *AEdge2, int ALinkDirectInfo, int AVertexDI=-1) |
bool | sortFacesAroundEdges_Optimized (CDart *AEdge1, CDart *AEdge2, int ALinkDirectInfo, int AVertexDI=-1) |
void | sortFacesAroundEdges_SuperNaive (CDart *AEdge1, CDart *AEdge2, int ALinkDirectInfo, int AVertexDI=-1) |
TCoordinate | matrixDet (TCoordinate AMat[3][3]) |
void | vectProduct4d (const CVertex &AV1, const CVertex &AV2, const CVertex &AV3, TCoordinate ANormal[4]) |
void | volumeNormalVector (CDart *AVolume, TCoordinate ANormal[4], int AVertexDI=-1) |
Definition at line 34 of file corefine-3d-tools.hh.
CCorefine3dTools::CCorefine3dTools | ( | CGMapVertex * | AMap, | |
TCoordinate | AEpsilon = 1E-4 | |||
) |
Definition at line 44 of file corefine-3d-tools.cc.
bool CCorefine3dTools::areFacesCoplanar | ( | const CVertex & | AVertex1, | |
const CPlane & | APlane1, | |||
const CVertex & | AVertex2, | |||
const CPlane & | APlane2 | |||
) |
Definition at line 147 of file corefine-3d-tools.cc.
CEdgeIntersection CCorefine3dTools::findNearestIntersectionInFace | ( | const CVertex & | AOrigin, | |
const CVertex & | ADirection, | |||
CDart * | AFace, | |||
const CPlane & | AFacePlane, | |||
const CPlane & | ACutPlane, | |||
bool | AExcludeOrigin = true , |
|||
int | AVertexDI = -1 | |||
) |
Definition at line 387 of file corefine-3d-tools.cc.
CEdgeIntersection CCorefine3dTools::findNearestIntersectionInFace | ( | const CVertex & | AOrigin, | |
const CVertex & | ADirection, | |||
CDart * | AFace, | |||
const CPlane & | APlane, | |||
bool | AExcludeOrigin = true , |
|||
int | AVertexDI = -1 | |||
) |
Definition at line 283 of file corefine-3d-tools.cc.
CEdgeIntersection CCorefine3dTools::findNearestIntersectionInOrbit | ( | const CVertex & | AOrigin, | |
const CVertex & | ADirection, | |||
CDart * | ADart, | |||
TOrbit | AOrbit, | |||
int | AVertexDI = -1 | |||
) |
Definition at line 489 of file corefine-3d-tools.cc.
CDart * CCorefine3dTools::findSectorOfVector | ( | const CVertex & | AVector, | |
CDart * | AVertex, | |||
const CPlane & | APlane, | |||
int | AVertexDI = -1 | |||
) |
Definition at line 121 of file corefine-3d-tools.cc.
bool CCorefine3dTools::isPointInFace | ( | const CVertex & | APoint, | |
CDart * | AFace, | |||
const CPlane * | APlane = NULL , |
|||
int | AVertexDI = -1 | |||
) | [virtual] |
Definition at line 654 of file corefine-3d-tools.cc.
bool CCorefine3dTools::isVectorInSector | ( | const CVertex & | AVector, | |
CDart * | ASector, | |||
const CPlane & | APlane, | |||
bool | ATestBorders = false , |
|||
int | AVertexDI = -1 | |||
) |
Definition at line 74 of file corefine-3d-tools.cc.
bool CCorefine3dTools::isVectorInSector | ( | const CVertex & | AVector, | |
const CVertex & | ASectorVector1, | |||
const CVertex & | ASectorVector2, | |||
const CPlane & | APlane, | |||
bool | AThickVector1 = false , |
|||
bool | AThickVector2 = false | |||
) |
Definition at line 52 of file corefine-3d-tools.cc.
TPositionOnEdge CCorefine3dTools::localizeEdgeAndPlaneIntersection | ( | CVertex | AEdgePoint1, | |
CVertex | AEdgePoint2, | |||
const CPlane & | APlane, | |||
TCoordinate * | AEdgeParam | |||
) |
Definition at line 248 of file corefine-3d-tools.cc.
TPositionOnEdge CCorefine3dTools::localizeEdgesIntersection | ( | const CVertex & | ALinePoint1, | |
const CVertex & | ALinePoint2, | |||
const CVertex & | AEdgePoint1, | |||
const CVertex & | AEdgePoint2, | |||
TCoordinate * | ALineParam, | |||
TCoordinate * | AEdgeParam | |||
) | [virtual] |
TCoordinate CCorefine3dTools::matrixDet | ( | TCoordinate | AMat[3][3] | ) |
Definition at line 1048 of file corefine-3d-tools.cc.
void CCorefine3dTools::sortFacesAroundEdges_Naive | ( | CDart * | AEdge1, | |
CDart * | AEdge2, | |||
int | ALinkDirectInfo, | |||
int | AVertexDI = -1 | |||
) |
Definition at line 705 of file corefine-3d-tools.cc.
void CCorefine3dTools::sortFacesAroundEdges_NaiveBis | ( | CDart * | AEdge1, | |
CDart * | AEdge2, | |||
int | ALinkDirectInfo, | |||
int | AVertexDI = -1 | |||
) |
Definition at line 769 of file corefine-3d-tools.cc.
bool CCorefine3dTools::sortFacesAroundEdges_Optimized | ( | CDart * | AEdge1, | |
CDart * | AEdge2, | |||
int | ALinkDirectInfo, | |||
int | AVertexDI = -1 | |||
) |
Definition at line 852 of file corefine-3d-tools.cc.
void CCorefine3dTools::sortFacesAroundEdges_SuperNaive | ( | CDart * | AEdge1, | |
CDart * | AEdge2, | |||
int | ALinkDirectInfo, | |||
int | AVertexDI = -1 | |||
) |
Definition at line 1003 of file corefine-3d-tools.cc.
void CCorefine3dTools::vectProduct4d | ( | const CVertex & | AV1, | |
const CVertex & | AV2, | |||
const CVertex & | AV3, | |||
TCoordinate | ANormal[4] | |||
) |
Definition at line 1057 of file corefine-3d-tools.cc.
void CCorefine3dTools::volumeNormalVector | ( | CDart * | AVolume, | |
TCoordinate | ANormal[4], | |||
int | AVertexDI = -1 | |||
) |
Definition at line 1123 of file corefine-3d-tools.cc.