MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
Référence de la classe CAD4FE::GeometricTools

#include <CAD4FE_Geometric_Tools.h>

Fonctions membres publiques statiques

static bool GetInteriorDirection (MG_FACE *__face, MCNode *__n, double __result[3])
 
static void Surface_MoveParamInDomain (MG_FACE *__face, double *__uv, double *__xyz)
 
static OT_MATRICE_3D TangentPlaneFrame (MG_FACE *__sigma, double uv[2])
 
static OT_MATRICE_3D TangentPlaneFrame_SecondDersTransform (MG_FACE *__sigma, double uv[2], OT_MATRICE_3D &M, OT_MATRICE_3D &C, OT_VECTEUR_3D &xyz)
 
static bool GetIntersectingPlaneDirection (MG_FACE *__face, double __uv[2], double __planeNormal[3], double __directionUV[2])
 
static int Intr3D_Surface_Plane_Get_LocalTangentPlane_Direction (MG_FACE *__sigma, double __N1[3], double __P1[3], double __uv[2], OT_MATRICE_3D &__tangentPlaneFrame, OT_VECTEUR_3D &__intrLineDirWorld)
 
static OT_MATRICE_3D GetPlaneFrame (OT_VECTEUR_3D &__planeNormal)
 
static double AngleInPlane (double *__axisX, double *__direction)
 
static double FacePointCorrection (MG_FACE *__face, double __xyz[3], double __uv1[2])
 
static bool MG_FACE_Contains_MG_SOMMET (MG_FACE *__face, MG_SOMMET *v)
 
static bool MG_FACE_Contains_MG_ARETE (MG_FACE *__face, MG_ARETE *e)
 
static bool MG_ARETE_Contains_MG_SOMMET (MG_ARETE *__edge, MG_SOMMET *__vertex)
 
static double Segment2dCurvilinearLength (MG_FACE *__face, double __uv1[2], double __uv2[2], unsigned __nbNubdivisions)
 
static double Vector_UV_To_3D_Plane (MG_FACE *__face, double *__planeNormal, double *__planeRootPoint, double *__uv1, double *__uv12)
 
static double MoveParamInPlane (MG_FACE *__face, double __planeNormal[3], double __planeRootPoint[3], double deltamax3D, int nbPointToPlaneResidueCorrection, double __uv[2], double __xyz[3])
 
static double ComputeDiedralAngle (MG_NOEUD *__tri[2][3])
 
static bool PolySurface_Contains_RefVertex (PolySurface *__polysurface, MG_SOMMET *__refVertex)
 
static void MG_SOMMET_GetAdjacent_MG_FACE (MG_SOMMET *__refVertex, std::set< MG_FACE * > &__adjacentfaces)
 
static bool IsInteriorDir (MG_FACE *__face, MG_ARETE *__edge, double __t, double __direction[3])
 
static bool MCFace_MCEdgeDir_IsInterior (MCFace *__mcFace, MCEdge *__mcEdge, double __s, double __direction[3])
 
static bool MCFace_MCVertexDir_IsInterior (MCFace *__mcFace, MCVertex *__mcVertex, double __direction[3])
 
static bool IsInteriorDir (MG_FACE *__face, MG_SOMMET *__vertex, double __direction[3])
 
static bool MCFace_MCTopoDir_IsInterior (MCFace *__mcFace, MG_ELEMENT_TOPOLOGIQUE *__mcTopo, double __xyz[3], double __direction[3])
 
static int MG_TOPO_GetColor (MG_ELEMENT_TOPOLOGIQUE *ele, double &)
 
static int MG_TOPO_GetColor (MG_ELEMENT_TOPOLOGIQUE *ele, long &)
 
static int MG_TOPO_GetColor (MG_ELEMENT_TOPOLOGIQUE *ele, int &)
 
static int MG_TOPO_GetColor (MG_ELEMENT_TOPOLOGIQUE *ele, unsigned char rgba[4])
 
static void MG_TOPO_SetColor (MG_ELEMENT_TOPOLOGIQUE *ele, unsigned char r, unsigned char g, unsigned char b, unsigned char a)
 
static void MG_TOPO_SetColor (MG_ELEMENT_TOPOLOGIQUE *ele, unsigned char rgba[4])
 
static void MG_TOPO_SetColor (MG_ELEMENT_TOPOLOGIQUE *ele, double d)
 
static void ccf_uc4_to_double (unsigned char rgba[4], double &val)
 
static void ccf_double_to_uc4 (double val, unsigned char rgba[4])
 

Description détaillée

Définition à la ligne 47 du fichier CAD4FE_Geometric_Tools.h.

Documentation des fonctions membres

◆ AngleInPlane()

double GeometricTools::AngleInPlane ( double *  __axisX,
double *  __direction 
)
static

Définition à la ligne 440 du fichier CAD4FE_Geometric_Tools.cpp.

Références acos(), et sqrt().

Référencé par CAD4FE::FaceBoundaryPoint::GetInteriorDirectionAngle(), CAD4FE::Intersection_Plane_PolySurface::MakeOffset(), CAD4FE::Intersection_Plane_PolySurface::MakeSegment(), et CAD4FE::FaceBoundaryPoint::TestInteriorDirection().

Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :

◆ ccf_double_to_uc4()

void GeometricTools::ccf_double_to_uc4 ( double  val,
unsigned char  rgba[4] 
)
static

Définition à la ligne 762 du fichier CAD4FE_Geometric_Tools.cpp.

Référencé par MG_TOPO_GetColor().

Voici le graphe des appelants de cette fonction :

◆ ccf_uc4_to_double()

void GeometricTools::ccf_uc4_to_double ( unsigned char  rgba[4],
double &  val 
)
static

Définition à la ligne 753 du fichier CAD4FE_Geometric_Tools.cpp.

Référencé par MG_TOPO_SetColor().

Voici le graphe des appelants de cette fonction :

◆ ComputeDiedralAngle()

double GeometricTools::ComputeDiedralAngle ( MG_NOEUD __tri[2][3])
static

Définition à la ligne 659 du fichier CAD4FE_Geometric_Tools.cpp.

Références acos(), MG_NOEUD::get_coord(), et OT_VECTEUR_3D::norme().

Voici le graphe d'appel pour cette fonction :

◆ FacePointCorrection()

double GeometricTools::FacePointCorrection ( MG_FACE __face,
double  __xyz[3],
double  __uv1[2] 
)
static

Définition à la ligne 523 du fichier CAD4FE_Geometric_Tools.cpp.

Références MG_FACE::evaluer(), OT_VECTEUR_3D::get_longueur(), OT_VECTEUR_3D::get_longueur2(), OT_MATRICE_3D::inverse(), TangentPlaneFrame(), MG_FACE::valide_parametre_u(), et MG_FACE::valide_parametre_v().

Référencé par CAD4FE::MCNode::ConstructMapping().

Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :

◆ GetInteriorDirection()

static bool CAD4FE::GeometricTools::GetInteriorDirection ( MG_FACE __face,
MCNode __n,
double  __result[3] 
)
static

◆ GetIntersectingPlaneDirection()

bool GeometricTools::GetIntersectingPlaneDirection ( MG_FACE __face,
double  __uv[2],
double  __planeNormal[3],
double  __directionUV[2] 
)
static

Définition à la ligne 376 du fichier CAD4FE_Geometric_Tools.cpp.

Références MG_FACE::evaluer(), Intr3D_Surface_Plane_Get_LocalTangentPlane_Direction(), OT_MATRICE_3D::inverse(), et TangentPlaneFrame().

Voici le graphe d'appel pour cette fonction :

◆ GetPlaneFrame()

◆ Intr3D_Surface_Plane_Get_LocalTangentPlane_Direction()

int GeometricTools::Intr3D_Surface_Plane_Get_LocalTangentPlane_Direction ( MG_FACE __sigma,
double  __N1[3],
double  __P1[3],
double  __uv[2],
OT_MATRICE_3D __tangentPlaneFrame,
OT_VECTEUR_3D __intrLineDirWorld 
)
static

Définition à la ligne 395 du fichier CAD4FE_Geometric_Tools.cpp.

Références MG_FACE::evaluer(), OT_MATRICE_3D::get_vecteur3(), et OT_ALGORITHME_GEOMETRIQUE::Intr3D_Plane_Plane().

Référencé par GetIntersectingPlaneDirection().

Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :

◆ IsInteriorDir() [1/2]

bool CAD4FE::GeometricTools::IsInteriorDir ( MG_FACE __face,
MG_ARETE __edge,
double  __t,
double  __direction[3] 
)
static

◆ IsInteriorDir() [2/2]

◆ MCFace_MCEdgeDir_IsInterior()

bool CAD4FE::GeometricTools::MCFace_MCEdgeDir_IsInterior ( MCFace __mcFace,
MCEdge __mcEdge,
double  __s,
double  __direction[3] 
)
static

◆ MCFace_MCTopoDir_IsInterior()

bool CAD4FE::GeometricTools::MCFace_MCTopoDir_IsInterior ( MCFace __mcFace,
MG_ELEMENT_TOPOLOGIQUE __mcTopo,
double  __xyz[3],
double  __direction[3] 
)
static

Définition à la ligne 92 du fichier CAD4FE_Geometric_Tools.cpp.

Références MG_ELEMENT_TOPOLOGIQUE::get_dimension(), et MG_ARETE::inverser().

Voici le graphe d'appel pour cette fonction :

◆ MCFace_MCVertexDir_IsInterior()

bool CAD4FE::GeometricTools::MCFace_MCVertexDir_IsInterior ( MCFace __mcFace,
MCVertex __mcVertex,
double  __direction[3] 
)
static

Définition à la ligne 142 du fichier CAD4FE_Geometric_Tools.cpp.

Références CAD4FE::PolySurface::Contains(), CAD4FE::MCFace::GetPolySurface(), et CAD4FE::MCVertex::GetRefVertex().

Voici le graphe d'appel pour cette fonction :

◆ MG_ARETE_Contains_MG_SOMMET()

bool GeometricTools::MG_ARETE_Contains_MG_SOMMET ( MG_ARETE __edge,
MG_SOMMET __vertex 
)
static

Définition à la ligne 480 du fichier CAD4FE_Geometric_Tools.cpp.

Références MG_ARETE::get_cosommet1(), MG_ARETE::get_cosommet2(), et MG_COSOMMET::get_sommet().

Référencé par CAD4FE::MCNode::RefTopoIsInEdge().

Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :

◆ MG_FACE_Contains_MG_ARETE()

bool GeometricTools::MG_FACE_Contains_MG_ARETE ( MG_FACE __face,
MG_ARETE e 
)
static

Définition à la ligne 470 du fichier CAD4FE_Geometric_Tools.cpp.

Références MG_COARETE::get_boucle(), MG_ARETE::get_mg_coarete(), MG_BOUCLE::get_mg_face(), et MG_ARETE::get_nb_mg_coarete().

Référencé par CAD4FE::MAILLEUR2D::progresse_front().

Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :

◆ MG_FACE_Contains_MG_SOMMET()

bool GeometricTools::MG_FACE_Contains_MG_SOMMET ( MG_FACE __face,
MG_SOMMET v 
)
static

◆ MG_SOMMET_GetAdjacent_MG_FACE()

void GeometricTools::MG_SOMMET_GetAdjacent_MG_FACE ( MG_SOMMET __refVertex,
std::set< MG_FACE * > &  __adjacentfaces 
)
static

Définition à la ligne 507 du fichier CAD4FE_Geometric_Tools.cpp.

Références MG_COSOMMET::get_arete(), MG_COARETE::get_boucle(), MG_ARETE::get_mg_coarete(), MG_SOMMET::get_mg_cosommet(), MG_BOUCLE::get_mg_face(), MG_ARETE::get_nb_mg_coarete(), et MG_SOMMET::get_nb_mg_cosommet().

Référencé par CAD4FE::MCSegment::Construct_MCFace().

Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :

◆ MG_TOPO_GetColor() [1/4]

int GeometricTools::MG_TOPO_GetColor ( MG_ELEMENT_TOPOLOGIQUE ele,
double &  couleur 
)
static

◆ MG_TOPO_GetColor() [2/4]

int GeometricTools::MG_TOPO_GetColor ( MG_ELEMENT_TOPOLOGIQUE ele,
int &  rgba 
)
static

Définition à la ligne 728 du fichier CAD4FE_Geometric_Tools.cpp.

Références MG_TOPO_GetColor().

Voici le graphe d'appel pour cette fonction :

◆ MG_TOPO_GetColor() [3/4]

int GeometricTools::MG_TOPO_GetColor ( MG_ELEMENT_TOPOLOGIQUE ele,
long &  rgba 
)
static

Définition à la ligne 704 du fichier CAD4FE_Geometric_Tools.cpp.

Références MG_TOPO_GetColor().

Voici le graphe d'appel pour cette fonction :

◆ MG_TOPO_GetColor() [4/4]

int GeometricTools::MG_TOPO_GetColor ( MG_ELEMENT_TOPOLOGIQUE ele,
unsigned char  rgba[4] 
)
static

Définition à la ligne 745 du fichier CAD4FE_Geometric_Tools.cpp.

Références ccf_double_to_uc4(), et MG_TOPO_GetColor().

Voici le graphe d'appel pour cette fonction :

◆ MG_TOPO_SetColor() [1/3]

void GeometricTools::MG_TOPO_SetColor ( MG_ELEMENT_TOPOLOGIQUE ele,
double  d 
)
static

Définition à la ligne 781 du fichier CAD4FE_Geometric_Tools.cpp.

Références MG_ELEMENT_TOPOLOGIQUE::ajouter_ccf().

Voici le graphe d'appel pour cette fonction :

◆ MG_TOPO_SetColor() [2/3]

void GeometricTools::MG_TOPO_SetColor ( MG_ELEMENT_TOPOLOGIQUE ele,
unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a 
)
static

Définition à la ligne 786 du fichier CAD4FE_Geometric_Tools.cpp.

Références a.

Référencé par MG_TOPO_SetColor().

Voici le graphe des appelants de cette fonction :

◆ MG_TOPO_SetColor() [3/3]

void GeometricTools::MG_TOPO_SetColor ( MG_ELEMENT_TOPOLOGIQUE ele,
unsigned char  rgba[4] 
)
static

Définition à la ligne 774 du fichier CAD4FE_Geometric_Tools.cpp.

Références ccf_uc4_to_double(), et MG_TOPO_SetColor().

Voici le graphe d'appel pour cette fonction :

◆ MoveParamInPlane()

double GeometricTools::MoveParamInPlane ( MG_FACE __face,
double  __planeNormal[3],
double  __planeRootPoint[3],
double  deltamax3D,
int  nbPointToPlaneResidueCorrection,
double  __uv[2],
double  __xyz[3] 
)
static

◆ PolySurface_Contains_RefVertex()

bool GeometricTools::PolySurface_Contains_RefVertex ( PolySurface __polysurface,
MG_SOMMET __refVertex 
)
static

◆ Segment2dCurvilinearLength()

◆ Surface_MoveParamInDomain()

void GeometricTools::Surface_MoveParamInDomain ( MG_FACE __face,
double *  __uv,
double *  __xyz 
)
static

Définition à la ligne 234 du fichier CAD4FE_Geometric_Tools.cpp.

Références MG_FACE::evaluer(), MG_SURFACE::get_periode_u(), MG_SURFACE::get_periode_v(), MG_FACE::get_surface(), MG_SURFACE::get_umax(), MG_SURFACE::get_umin(), MG_SURFACE::get_vmax(), et MG_SURFACE::get_vmin().

Référencé par MoveParamInPlane().

Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :

◆ TangentPlaneFrame()

OT_MATRICE_3D GeometricTools::TangentPlaneFrame ( MG_FACE __sigma,
double  uv[2] 
)
static

◆ TangentPlaneFrame_SecondDersTransform()

OT_MATRICE_3D GeometricTools::TangentPlaneFrame_SecondDersTransform ( MG_FACE __sigma,
double  uv[2],
OT_MATRICE_3D M,
OT_MATRICE_3D C,
OT_VECTEUR_3D xyz 
)
static

Définition à la ligne 358 du fichier CAD4FE_Geometric_Tools.cpp.

Références OT_MATRICE_3D::change_vecteur1(), OT_MATRICE_3D::change_vecteur2(), OT_MATRICE_3D::change_vecteur3(), et MG_FACE::deriver_seconde().

Référencé par CAD4FE::Intersection_Plane_MG_FACE::CurveAlgorithm().

Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :

◆ Vector_UV_To_3D_Plane()

double GeometricTools::Vector_UV_To_3D_Plane ( MG_FACE __face,
double *  __planeNormal,
double *  __planeRootPoint,
double *  __uv1,
double *  __uv12 
)
static

Définition à la ligne 559 du fichier CAD4FE_Geometric_Tools.cpp.

Références OT_ALGORITHME_GEOMETRIQUE::Closest_Point_to_Plane_3d(), MG_FACE::evaluer(), OT_MATRICE_3D::inverse(), et TangentPlaneFrame().

Voici le graphe d'appel pour cette fonction :

La documentation de cette classe a été générée à partir des fichiers suivants :