]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOMImpl/GEOMImpl_IMeasureOperations.hxx
Salome HOME
PAL12781: EDF: different result between Working Plane and LCS. Implement and use...
[modules/geom.git] / src / GEOMImpl / GEOMImpl_IMeasureOperations.hxx
index 2edf60025c3324e3851e4f3185c1ea95b24b5622..4a0cc980bfaf80fc32936319e487b33e3002a794 100644 (file)
 #include "GEOM_IOperations.hxx"
 
 #include <BRepCheck_Analyzer.hxx>
+#include <TopoDS_Shape.hxx>
 #include <TopTools_HSequenceOfShape.hxx>
 #include <TopTools_DataMapOfShapeListOfShape.hxx>
 #include <TCollection_AsciiString.hxx>
+#include <gp_Ax3.hxx>
 
 class GEOM_Engine;
 class Handle(GEOM_Object);
@@ -36,6 +38,11 @@ class GEOMImpl_IMeasureOperations : public GEOM_IOperations {
   Standard_EXPORT GEOMImpl_IMeasureOperations(GEOM_Engine* theEngine, int theDocID);
   Standard_EXPORT ~GEOMImpl_IMeasureOperations();
 
+  Standard_EXPORT void GetPosition (Handle(GEOM_Object) theShape,
+                                    Standard_Real& Ox, Standard_Real& Oy, Standard_Real& Oz,
+                                    Standard_Real& Zx, Standard_Real& Zy, Standard_Real& Zz,
+                                    Standard_Real& Xx, Standard_Real& Xy, Standard_Real& Xz);
+
   Standard_EXPORT Handle(GEOM_Object) GetCentreOfMass (Handle(GEOM_Object) theShape);
 
   Standard_EXPORT void GetBasicProperties (Handle(GEOM_Object) theShape,
@@ -73,6 +80,9 @@ class GEOMImpl_IMeasureOperations : public GEOM_IOperations {
   Standard_EXPORT void PointCoordinates(Handle(GEOM_Object) theShape,
                                         Standard_Real& theX, Standard_Real& theY, Standard_Real& theZ );
 
+ public:
+  Standard_EXPORT static gp_Ax3 GetPosition (const TopoDS_Shape& theShape);
+
  private:
   void StructuralDump (const BRepCheck_Analyzer& theAna,
                        const TopoDS_Shape&       theShape,