Salome HOME
Implemented [bos #35094] [EDF] (2023-T1) X,Y,Z to U,V.
[modules/geom.git] / src / GEOMImpl / GEOMImpl_IMeasureOperations.hxx
index 3e96a329568d3ffbcbfa6e79d11e25a4838d0187..af0410ba66b76e5d6a33bb5faa4c28d5e3e7940a 100644 (file)
@@ -244,6 +244,17 @@ class GEOMImpl_IMeasureOperations : public GEOM_IOperations {
                                        Handle(GEOM_Object) thePoint,
                                        Handle(GEOM_Object) theDirection);
 
+  // Methods to convert X,Y,Z coordinates of point to U,V parameters on surface and back
+  Standard_EXPORT Handle(TColStd_HArray1OfReal) XYZtoUV
+                                      (Handle(GEOM_Object) theSurf,
+                                       const Handle(TColStd_HArray1OfReal)& theXYZlist,
+                                       bool isNormalized);
+
+  Standard_EXPORT Handle(TColStd_HArray1OfReal) UVtoXYZ
+                                      (Handle(GEOM_Object) theSurf,
+                                       const Handle(TColStd_HArray1OfReal)& theUVlist,
+                                       bool isNormalized);
+
   // Methods to compute proximity between two shapes
   Standard_EXPORT Handle(GEOM_Object) ShapeProximityCalculator(Handle(GEOM_Object) theShape1,
                                                                Handle(GEOM_Object) theShape2);