Salome HOME
bos #17015 [CEA 17008] Body fitting with Viscous Layers for CFD meshing
[modules/smesh.git] / src / SMESHUtils / SMESH_TypeDefs.hxx
index 8da7c6a9b09bb2f51b83b35f8e94def565c5ce04..964495bca90ba9a2394a8aea82039cb4f715d5be 100644 (file)
@@ -202,6 +202,7 @@ struct SMESH_TNodeXYZ : public gp_XYZ
     }
     return false;
   }
+  void SetXYZ( const gp_XYZ& p ) { SetCoord( p.X(), p.Y(), p.Z() ); }
   const SMDS_MeshNode* Node() const { return _node; }
   double Distance(const SMDS_MeshNode* n)       const { return (SMESH_TNodeXYZ( n )-*this).Modulus(); }
   double SquareDistance(const SMDS_MeshNode* n) const { return (SMESH_TNodeXYZ( n )-*this).SquareModulus(); }