23 #ifndef _GEOM_IBlocksOperations_i_HeaderFile
24 #define _GEOM_IBlocksOperations_i_HeaderFile
28 #include <SALOMEconfig.h>
30 #include CORBA_SERVER_HEADER(GEOM_Gen)
37 public virtual POA_GEOM::GEOM_IBlocksOperations,
46 GEOM::GEOM_Object_ptr MakeQuad (GEOM::GEOM_Object_ptr theEdge1,
47 GEOM::GEOM_Object_ptr theEdge2,
48 GEOM::GEOM_Object_ptr theEdge3,
49 GEOM::GEOM_Object_ptr theEdge4);
51 GEOM::GEOM_Object_ptr MakeQuad2Edges (GEOM::GEOM_Object_ptr theEdge1,
52 GEOM::GEOM_Object_ptr theEdge2);
54 GEOM::GEOM_Object_ptr MakeQuad4Vertices (GEOM::GEOM_Object_ptr thePnt1,
55 GEOM::GEOM_Object_ptr thePnt2,
56 GEOM::GEOM_Object_ptr thePnt3,
57 GEOM::GEOM_Object_ptr thePnt4);
59 GEOM::GEOM_Object_ptr MakeHexa (GEOM::GEOM_Object_ptr theFace1,
60 GEOM::GEOM_Object_ptr theFace2,
61 GEOM::GEOM_Object_ptr theFace3,
62 GEOM::GEOM_Object_ptr theFace4,
63 GEOM::GEOM_Object_ptr theFace5,
64 GEOM::GEOM_Object_ptr theFace6);
66 GEOM::GEOM_Object_ptr MakeHexa2Faces (GEOM::GEOM_Object_ptr theFace1,
67 GEOM::GEOM_Object_ptr theFace2);
69 GEOM::GEOM_Object_ptr MakeBlockCompound (GEOM::GEOM_Object_ptr theCompound);
72 GEOM::GEOM_Object_ptr GetPoint (GEOM::GEOM_Object_ptr theShape,
76 CORBA::Double theEpsilon);
78 GEOM::GEOM_Object_ptr GetVertexNearPoint (GEOM::GEOM_Object_ptr theShape,
79 GEOM::GEOM_Object_ptr thePoint);
81 GEOM::GEOM_Object_ptr GetEdge (GEOM::GEOM_Object_ptr theShape,
82 GEOM::GEOM_Object_ptr thePoint1,
83 GEOM::GEOM_Object_ptr thePoint2);
86 GEOM::GEOM_Object_ptr thePoint);
88 GEOM::GEOM_Object_ptr GetFaceByPoints (GEOM::GEOM_Object_ptr theShape,
89 GEOM::GEOM_Object_ptr thePoint1,
90 GEOM::GEOM_Object_ptr thePoint2,
91 GEOM::GEOM_Object_ptr thePoint3,
92 GEOM::GEOM_Object_ptr thePoint4);
94 GEOM::GEOM_Object_ptr GetFaceByEdges (GEOM::GEOM_Object_ptr theShape,
95 GEOM::GEOM_Object_ptr theEdge1,
96 GEOM::GEOM_Object_ptr theEdge2);
98 GEOM::GEOM_Object_ptr GetOppositeFace (GEOM::GEOM_Object_ptr theBlock,
99 GEOM::GEOM_Object_ptr theFace);
101 GEOM::GEOM_Object_ptr GetFaceNearPoint (GEOM::GEOM_Object_ptr theShape,
102 GEOM::GEOM_Object_ptr thePoint);
104 GEOM::GEOM_Object_ptr GetFaceByNormale (GEOM::GEOM_Object_ptr theBlock,
105 GEOM::GEOM_Object_ptr theVector);
107 GEOM::GEOM_Object_ptr GetShapesNearPoint (GEOM::GEOM_Object_ptr theShape,
108 GEOM::GEOM_Object_ptr thePoint,
109 CORBA::Long theShapeType,
110 CORBA::Double theTolerance);
113 CORBA::Boolean IsCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
114 CORBA::Long theMinNbFaces,
115 CORBA::Long theMaxNbFaces,
116 CORBA::Long& theNbBlocks);
118 CORBA::Boolean CheckCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
119 const CORBA::Double theToleranceC1,
120 GEOM::GEOM_IBlocksOperations::BCErrors_out theErrors);
122 char* PrintBCErrors (GEOM::GEOM_Object_ptr theCompound,
125 GEOM::GEOM_Object_ptr GetNonBlocks (GEOM::GEOM_Object_ptr theShape,
126 const CORBA::Double theToleranceC1,
127 GEOM::GEOM_Object_out theNonQuads);
130 CORBA::Long theOptimumNbFaces);
132 GEOM::GEOM_Object_ptr UnionFaces (GEOM::GEOM_Object_ptr theShape);
134 GEOM::GEOM_Object_ptr CheckAndImprove (GEOM::GEOM_Object_ptr theCompound);
137 GEOM::ListOfGO* ExplodeCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
138 CORBA::Long theMinNbFaces,
139 CORBA::Long theMaxNbFaces);
141 GEOM::GEOM_Object_ptr GetBlockNearPoint (GEOM::GEOM_Object_ptr theCompound,
142 GEOM::GEOM_Object_ptr thePoint);
144 GEOM::GEOM_Object_ptr GetBlockByParts (GEOM::GEOM_Object_ptr theCompound,
147 GEOM::ListOfGO* GetBlocksByParts (GEOM::GEOM_Object_ptr theCompound,
151 GEOM::GEOM_Object_ptr MakeMultiTransformation1D (GEOM::GEOM_Object_ptr theBlock,
152 CORBA::Long theDirFace1,
153 CORBA::Long theDirFace2,
154 CORBA::Long theNbTimes);
156 GEOM::GEOM_Object_ptr MakeMultiTransformation2D (GEOM::GEOM_Object_ptr theBlock,
157 CORBA::Long theDirFace1U,
158 CORBA::Long theDirFace2U,
159 CORBA::Long theNbTimesU,
160 CORBA::Long theDirFace1V,
161 CORBA::Long theDirFace2V,
162 CORBA::Long theNbTimesV);