Version: 9.16.0
MeshCut_Globals.hxx
Go to the documentation of this file.
1// Copyright (C) 2006-2026 CEA, EDF
2//
3// This library is free software; you can redistribute it and/or
4// modify it under the terms of the GNU Lesser General Public
5// License as published by the Free Software Foundation; either
6// version 2.1 of the License, or (at your option) any later version.
7//
8// This library is distributed in the hope that it will be useful,
9// but WITHOUT ANY WARRANTY; without even the implied warranty of
10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11// Lesser General Public License for more details.
12//
13// You should have received a copy of the GNU Lesser General Public
14// License along with this library; if not, write to the Free Software
15// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16//
17// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18//
19
20#ifndef __MESHCUT_GLOBALS_HXX__
21#define __MESHCUT_GLOBALS_HXX__
22
23#include "MeshCut_Maillage.hxx"
24
25#include <map>
26#include <string>
27#include <vector>
28
29namespace MESHCUT
30 {
37 extern std::map<std::string, int> intersections;
38
40 extern std::string str_id_GMplus, str_id_GMmoins;
42
43 extern std::vector<float> newXX, newYY, newZZ;
44 extern std::map<TYPE_MAILLE, std::vector<int> > newCNX;
45 extern std::map<TYPE_MAILLE, int> cptNouvellesMailles;
46 extern std::map<TYPE_MAILLE, std::vector<int> > GMplus, GMmoins;
47 extern std::vector<int> cutTetras;
48
49 extern float *DNP;
50 extern int *POSN;
51
52 extern std::string str_id_maillagenew;
53
54 extern float normale[3], pointPlan[3];
55 extern float d;
56 extern float epsilon;
57
58 extern bool debug;
59 extern int Naretes;
60 }
61
62#endif
Definition: MeshCut_Maillage.hxx:32
Definition: MeshCut_Carre.hxx:26
std::vector< float > newXX
Definition: MeshCut_DC.cxx:49
Maillage * MAILLAGE2
Definition: MeshCut_Globals.hxx:41
int indexNouvellesMailles
Definition: MeshCut_DC.cxx:45
std::map< TYPE_MAILLE, std::vector< int > > GMplus
Definition: MeshCut_DC.cxx:52
int indexNouveauxNoeuds
Definition: MeshCut_Globals.hxx:39
std::map< std::string, int > intersections
Table des points d'intersection calculés.
Definition: MeshCut_DC.cxx:43
int Naretes
Definition: MeshCut_DC.cxx:65
int * POSN
Version -1/0/+1 du précédent, selon epsilon.
Definition: MeshCut_DC.cxx:56
int offsetMailles
Definition: MeshCut_Globals.hxx:39
std::vector< float > newZZ
Definition: MeshCut_Globals.hxx:43
float epsilon
distance en dessous de laquelle un point est considéré comme appartenant au plan de coupe
Definition: MeshCut_DC.cxx:62
std::map< TYPE_MAILLE, int > cptNouvellesMailles
Definition: MeshCut_DC.cxx:51
bool debug
Definition: MeshCut_DC.cxx:64
float normale[3]
Definition: MeshCut_DC.cxx:60
float * DNP
Distance Noeud Plan.
Definition: MeshCut_DC.cxx:55
Maillage * MAILLAGE1
Definition: MeshCut_DC.cxx:47
std::map< TYPE_MAILLE, std::vector< int > > GMmoins
Definition: MeshCut_Globals.hxx:46
std::string str_id_GMmoins
Definition: MeshCut_Globals.hxx:40
std::map< TYPE_MAILLE, std::vector< int > > newCNX
Definition: MeshCut_DC.cxx:50
float d
coefficient constant de l'équation du plan de coupe
Definition: MeshCut_DC.cxx:61
std::vector< int > cutTetras
Definition: MeshCut_DC.cxx:53
float pointPlan[3]
Définition du plan de coupe.
Definition: MeshCut_Globals.hxx:54
std::string str_id_GMplus
Definition: MeshCut_DC.cxx:46
std::vector< float > newYY
Definition: MeshCut_Globals.hxx:43
std::string str_id_maillagenew
Definition: MeshCut_DC.cxx:58