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,
66 CORBA::Long theIndex);
68 void GetInertia (GEOM::GEOM_Object_ptr theShape,
69 CORBA::Double& I11, CORBA::Double& I12, CORBA::Double& I13,
70 CORBA::Double& I21, CORBA::Double& I22, CORBA::Double& I23,
71 CORBA::Double& I31, CORBA::Double& I32, CORBA::Double& I33,
72 CORBA::Double& Ix , CORBA::Double& Iy , CORBA::Double& Iz);
74 void GetBoundingBox (GEOM::GEOM_Object_ptr theShape,
75 CORBA::Boolean precise,
76 CORBA::Double& Xmin, CORBA::Double& Xmax,
77 CORBA::Double& Ymin, CORBA::Double& Ymax,
78 CORBA::Double& Zmin, CORBA::Double& Zmax);
80 GEOM::GEOM_Object_ptr MakeBoundingBox (GEOM::GEOM_Object_ptr theShape,
81 CORBA::Boolean precise);
83 void GetTolerance (GEOM::GEOM_Object_ptr theShape,
84 CORBA::Double& FaceMin, CORBA::Double& FaceMax,
85 CORBA::Double& EdgeMin, CORBA::Double& EdgeMax,
86 CORBA::Double& VertMin, CORBA::Double& VertMax);
89 (GEOM::GEOM_Object_ptr theShape,
90 GEOM::GEOM_IMeasureOperations::ShapeErrors_out theErrors);
92 CORBA::Boolean CheckShapeWithGeometry
93 (GEOM::GEOM_Object_ptr theShape,
94 GEOM::GEOM_IMeasureOperations::ShapeErrors_out theErrors);
96 char* PrintShapeErrors
97 ( GEOM::GEOM_Object_ptr theShape,
100 CORBA::Boolean CheckSelfIntersections (GEOM::GEOM_Object_ptr theShape,
101 CORBA::Long theCheckLevel,
102 GEOM::ListOfLong_out theIntersections);
104 CORBA::Boolean CheckSelfIntersectionsFast (GEOM::GEOM_Object_ptr theShape,
105 CORBA::Float theDeflection,
106 CORBA::Double theTolerance,
107 GEOM::ListOfLong_out theIntersections);
111 CORBA::Boolean FastIntersect (GEOM::GEOM_Object_ptr theShape1,
112 GEOM::GEOM_Object_ptr theShape2,
113 CORBA::Double theTolerance,
114 CORBA::Float theDeflection,
115 GEOM::ListOfLong_out theIntersections1,
116 GEOM::ListOfLong_out theIntersections2);
118 char* IsGoodForSolid (GEOM::GEOM_Object_ptr theShape);
120 char* WhatIs (GEOM::GEOM_Object_ptr theShape);
124 CORBA::Double theTolerance);
127 GEOM::GEOM_Object_ptr theShape2,
128 CORBA::Double& X1, CORBA::Double& Y1, CORBA::Double& Z1,
129 CORBA::Double& X2, CORBA::Double& Y2, CORBA::Double& Z2);
131 CORBA::Long ClosestPoints (GEOM::GEOM_Object_ptr theShape1,
132 GEOM::GEOM_Object_ptr theShape2,
133 GEOM::ListOfDouble_out theCoords);
135 void PointCoordinates (GEOM::GEOM_Object_ptr theShape,
136 CORBA::Double& X, CORBA::Double& Y, CORBA::Double& Z);
138 CORBA::Double GetAngle (GEOM::GEOM_Object_ptr theShape1,
139 GEOM::GEOM_Object_ptr theShape2);
141 CORBA::Double GetAngleBtwVectors (GEOM::GEOM_Object_ptr theShape1,
142 GEOM::GEOM_Object_ptr theShape2);
146 CORBA::Double CurveCurvatureByParam (GEOM::GEOM_Object_ptr theCurve,
147 CORBA::Double theParam);
149 CORBA::Double CurveCurvatureByPoint (GEOM::GEOM_Object_ptr theCurve,
150 GEOM::GEOM_Object_ptr thePoint);
152 CORBA::Double MaxSurfaceCurvatureByParam (GEOM::GEOM_Object_ptr theSurf,
153 CORBA::Double theUParam,
154 CORBA::Double theVParam);
156 CORBA::Double MaxSurfaceCurvatureByPoint (GEOM::GEOM_Object_ptr theSurf,
157 GEOM::GEOM_Object_ptr thePoint);
159 CORBA::Double MinSurfaceCurvatureByParam (GEOM::GEOM_Object_ptr theSurf,
160 CORBA::Double theUParam,
161 CORBA::Double theVParam);
163 CORBA::Double MinSurfaceCurvatureByPoint (GEOM::GEOM_Object_ptr theSurf,
164 GEOM::GEOM_Object_ptr thePoint);