23#ifndef _GEOM_IMeasureOperations_i_HeaderFile
24#define _GEOM_IMeasureOperations_i_HeaderFile
28#include <SALOMEconfig.h>
30#include CORBA_SERVER_HEADER(GEOM_Gen)
37 public virtual POA_GEOM::GEOM_IMeasureOperations,
46 GEOM::ListOfLong_out theIntegers,
47 GEOM::ListOfDouble_out theDoubles);
50 CORBA::Double& Ox, CORBA::Double& Oy, CORBA::Double& Oz,
51 CORBA::Double& Zx, CORBA::Double& Zy, CORBA::Double& Zz,
52 CORBA::Double& Xx, CORBA::Double& Xy, CORBA::Double& Xz);
54 void GetBasicProperties (GEOM::GEOM_Object_ptr theShape,
55 CORBA::Double theTolerance,
56 CORBA::Double& theLength,
57 CORBA::Double& theSurfArea,
58 CORBA::Double& theVolume);
60 GEOM::GEOM_Object_ptr GetCentreOfMass (GEOM::GEOM_Object_ptr theShape);
62 GEOM::GEOM_Object_ptr GetNormal (GEOM::GEOM_Object_ptr theFace,
63 GEOM::GEOM_Object_ptr theOptionalPoint);
65 GEOM::GEOM_Object_ptr GetVertexByIndex (GEOM::GEOM_Object_ptr theObject,
67 CORBA::Boolean theUseOri);
69 void GetInertia (GEOM::GEOM_Object_ptr theShape,
70 CORBA::Double& I11, CORBA::Double& I12, CORBA::Double& I13,
71 CORBA::Double& I21, CORBA::Double& I22, CORBA::Double& I23,
72 CORBA::Double& I31, CORBA::Double& I32, CORBA::Double& I33,
73 CORBA::Double& Ix , CORBA::Double& Iy , CORBA::Double& Iz);
75 void GetBoundingBox (GEOM::GEOM_Object_ptr theShape,
76 CORBA::Boolean precise,
77 CORBA::Double& Xmin, CORBA::Double& Xmax,
78 CORBA::Double& Ymin, CORBA::Double& Ymax,
79 CORBA::Double& Zmin, CORBA::Double& Zmax);
81 GEOM::GEOM_Object_ptr MakeBoundingBox (GEOM::GEOM_Object_ptr theShape,
82 CORBA::Boolean precise);
84 void GetTolerance (GEOM::GEOM_Object_ptr theShape,
85 CORBA::Double& FaceMin, CORBA::Double& FaceMax,
86 CORBA::Double& EdgeMin, CORBA::Double& EdgeMax,
87 CORBA::Double& VertMin, CORBA::Double& VertMax);
90 (GEOM::GEOM_Object_ptr theShape,
91 GEOM::GEOM_IMeasureOperations::ShapeErrors_out theErrors);
93 CORBA::Boolean CheckShapeWithGeometry
94 (GEOM::GEOM_Object_ptr theShape,
95 GEOM::GEOM_IMeasureOperations::ShapeErrors_out theErrors);
97 CORBA::Boolean CheckShapeOpts
98 (GEOM::GEOM_Object_ptr theShape,
99 CORBA::Boolean theWithGeometry,
100 CORBA::Boolean theExact,
101 GEOM::GEOM_IMeasureOperations::ShapeErrors_out theErrors);
103 char* PrintShapeErrors
104 ( GEOM::GEOM_Object_ptr theShape,
107 CORBA::Boolean ExtractBOPFailure
109 CORBA::Boolean theUseTimer,
110 CORBA::Boolean theTopoOnly,
111 CORBA::Boolean theRunParallel,
112 CORBA::Boolean theDoExact,
113 GEOM::GEOM_Object_out theResultShape,
114 GEOM::GEOM_IMeasureOperations::ShapeErrors_out theErrors);
116 CORBA::Boolean CheckSelfIntersections (GEOM::GEOM_Object_ptr theShape,
117 CORBA::Long theCheckLevel,
118 GEOM::ListOfLong_out theIntersections);
120 CORBA::Boolean CheckSelfIntersectionsFast (GEOM::GEOM_Object_ptr theShape,
121 CORBA::Float theDeflection,
122 CORBA::Double theTolerance,
123 GEOM::ListOfLong_out theIntersections);
127 CORBA::Boolean FastIntersect (GEOM::GEOM_Object_ptr theShape1,
128 GEOM::GEOM_Object_ptr theShape2,
129 CORBA::Double theTolerance,
130 CORBA::Float theDeflection,
131 GEOM::ListOfLong_out theIntersections1,
132 GEOM::ListOfLong_out theIntersections2);
134 char* IsGoodForSolid (GEOM::GEOM_Object_ptr theShape);
136 char* WhatIs (GEOM::GEOM_Object_ptr theShape);
140 CORBA::Double theTolerance);
143 GEOM::GEOM_Object_ptr theShape2,
144 CORBA::Double& X1, CORBA::Double& Y1, CORBA::Double& Z1,
145 CORBA::Double& X2, CORBA::Double& Y2, CORBA::Double& Z2);
147 CORBA::Long ClosestPoints (GEOM::GEOM_Object_ptr theShape1,
148 GEOM::GEOM_Object_ptr theShape2,
149 GEOM::ListOfDouble_out theCoords);
151 void PointCoordinates (GEOM::GEOM_Object_ptr theShape,
152 CORBA::Double& X, CORBA::Double& Y, CORBA::Double& Z);
154 CORBA::Double GetAngle (GEOM::GEOM_Object_ptr theShape1,
155 GEOM::GEOM_Object_ptr theShape2);
157 CORBA::Double GetAngleBtwVectors (GEOM::GEOM_Object_ptr theShape1,
158 GEOM::GEOM_Object_ptr theShape2);
164 CORBA::Double CurveCurvatureByParam (GEOM::GEOM_Object_ptr theCurve,
165 CORBA::Double theParam);
167 CORBA::Double CurveCurvatureByPoint (GEOM::GEOM_Object_ptr theCurve,
168 GEOM::GEOM_Object_ptr thePoint);
170 CORBA::Double MaxSurfaceCurvatureByParam (GEOM::GEOM_Object_ptr theSurf,
171 CORBA::Double theUParam,
172 CORBA::Double theVParam);
174 CORBA::Double MaxSurfaceCurvatureByPoint (GEOM::GEOM_Object_ptr theSurf,
175 GEOM::GEOM_Object_ptr thePoint);
177 CORBA::Double MinSurfaceCurvatureByParam (GEOM::GEOM_Object_ptr theSurf,
178 CORBA::Double theUParam,
179 CORBA::Double theVParam);
181 CORBA::Double MinSurfaceCurvatureByPoint (GEOM::GEOM_Object_ptr theSurf,
182 GEOM::GEOM_Object_ptr thePoint);
184 GEOM::GEOM_Object_ptr SurfaceCurvatureByPointAndDirection (GEOM::GEOM_Object_ptr theSurf,
185 GEOM::GEOM_Object_ptr thePoint,
186 GEOM::GEOM_Object_ptr theDirection);
191 CORBA::Boolean theIsNormalized);
195 CORBA::Boolean theIsNormalized);
203 const CORBA::Long theShapeType1,
204 const CORBA::Long theShapeType2);
210 const CORBA::Long theShapeType,
211 const CORBA::Long theSubShapeType,
212 const CORBA::Double theTolerance);
216 CORBA::Double UpdateTolerance(GEOM::GEOM_Object_ptr theShape);
219 GEOM::GEOM_Object_ptr ShapeProximityCalculator (GEOM::GEOM_Object_ptr theShape1,
220 GEOM::GEOM_Object_ptr theShape2);
221 void SetShapeSampling(GEOM::GEOM_Object_ptr theCalculator,
222 GEOM::GEOM_Object_ptr theShape,
223 CORBA::Long theNbSamples);
224 CORBA::Double GetCoarseProximity(GEOM::GEOM_Object_ptr theCalculator);
225 CORBA::Double GetPreciseProximity(GEOM::GEOM_Object_ptr theCalculator);
232 std::list <GEOMImpl_IMeasureOperations::FailedChecks>& theListOfResults);
#define GEOM_I_EXPORT
Definition: GEOM_GEOM_I.hxx:33
Definition: GEOMImpl_IMeasureOperations.hxx:44
Definition: GEOM_IMeasureOperations_i.hh:39
::GEOMImpl_IMeasureOperations * GetOperations()
Definition: GEOM_IMeasureOperations_i.hh:227
Definition: GEOM_IOperations_i.hh:37
::GEOM_IOperations * GetImpl()
Definition: GEOM_IOperations_i.hh:60
shape_kind
Definition: GEOM_Gen.idl:4514
sequence< CheckResult > CheckResults
Definition: GEOM_Gen.idl:5103
sequence< ShapeError > ShapeErrors
Sequence of all shape defects.
Definition: GEOM_Gen.idl:4792
sequence< PairOfShape > SequenceOfPairOfShape
Definition: GEOM_Gen.idl:5102
Standard_EXPORT gp_Ax3 GetPosition(const TopoDS_Shape &theShape)
Get Local Coordinate System, corresponding to the given shape.
Definition: GEOMUtils.cxx:236
Standard_EXPORT bool CheckShape(TopoDS_Shape &shape, bool checkGeometry=false, bool isExact=false)
Check shape.
Definition: GEOMUtils.cxx:980
Standard_EXPORT bool CheckBOPArguments(const TopoDS_Shape &theShape)
Check boolean and partition operations arguments.
Definition: GEOMUtils.cxx:991
Standard_EXPORT Standard_Real GetMinDistance(const TopoDS_Shape &theShape1, const TopoDS_Shape &theShape2, gp_Pnt &thePnt1, gp_Pnt &thePnt2)
Computes minumal distance between two shapes.
Definition: GEOMUtils.cxx:764
sequence< boolean > ListOfBool
Definition: GEOM_Gen.idl:278
sequence< double > ListOfDouble
Definition: GEOM_Gen.idl:280
sequence< GEOM_Object > ListOfGO
Definition: GEOM_Gen.idl:290