diff --git a/libsrc/csg/meshsurf.cpp b/libsrc/csg/meshsurf.cpp index b0d6bfaf..1fcaeb17 100644 --- a/libsrc/csg/meshsurf.cpp +++ b/libsrc/csg/meshsurf.cpp @@ -50,7 +50,7 @@ int Meshing2Surfaces :: TransformFromPlain (const Point<2> & planepoint, -double Meshing2Surfaces :: CalcLocalH (const Point3d & p, double gh) const +double Meshing2Surfaces :: CalcLocalH (const Point<3> & p, double gh) const { return surface.LocH (p, 3, 1, mparam, gh); /* diff --git a/libsrc/csg/meshsurf.hpp b/libsrc/csg/meshsurf.hpp index 91a1d5ae..88e8f741 100644 --- a/libsrc/csg/meshsurf.hpp +++ b/libsrc/csg/meshsurf.hpp @@ -36,7 +36,7 @@ namespace netgen PointGeomInfo & gi, double h) override; /// - double CalcLocalH(const Point3d & p, double gh) const override; + double CalcLocalH(const Point<3> & p, double gh) const override; }; diff --git a/libsrc/meshing/meshing2.cpp b/libsrc/meshing/meshing2.cpp index cdcbc3a7..94f5b71c 100644 --- a/libsrc/meshing/meshing2.cpp +++ b/libsrc/meshing/meshing2.cpp @@ -116,7 +116,7 @@ namespace netgen } - double Meshing2 :: CalcLocalH (const Point3d & /* p */, double gh) const + double Meshing2 :: CalcLocalH (const Point<3> & /* p */, double gh) const { return gh; } diff --git a/libsrc/meshing/meshing2.hpp b/libsrc/meshing/meshing2.hpp index 568e3a60..d7a638c0 100644 --- a/libsrc/meshing/meshing2.hpp +++ b/libsrc/meshing/meshing2.hpp @@ -81,7 +81,7 @@ protected: /// virtual void EndMesh (); /// - virtual double CalcLocalH (const Point3d & p, double gh) const; + virtual double CalcLocalH (const Point<3> & p, double gh) const; /// virtual void DefineTransformation (const Point<3> & p1, const Point<3> & p2, diff --git a/libsrc/occ/occmeshsurf.cpp b/libsrc/occ/occmeshsurf.cpp index cc70b98d..01c86423 100644 --- a/libsrc/occ/occmeshsurf.cpp +++ b/libsrc/occ/occmeshsurf.cpp @@ -458,7 +458,7 @@ namespace netgen - double Meshing2OCCSurfaces :: CalcLocalH (const Point3d & p, double gh) const + double Meshing2OCCSurfaces :: CalcLocalH (const Point<3> & p, double gh) const { return gh; } diff --git a/libsrc/occ/occmeshsurf.hpp b/libsrc/occ/occmeshsurf.hpp index 79e04e5b..d88657df 100644 --- a/libsrc/occ/occmeshsurf.hpp +++ b/libsrc/occ/occmeshsurf.hpp @@ -137,7 +137,7 @@ protected: PointGeomInfo & gi, double h) override; /// - double CalcLocalH (const Point3d & p, double gh) const override; + double CalcLocalH (const Point<3> & p, double gh) const override; }; diff --git a/libsrc/stlgeom/meshstlsurface.cpp b/libsrc/stlgeom/meshstlsurface.cpp index a1ee02f7..d7b25e8f 100644 --- a/libsrc/stlgeom/meshstlsurface.cpp +++ b/libsrc/stlgeom/meshstlsurface.cpp @@ -1042,7 +1042,7 @@ BelongsToActiveChart (const Point3d & p, -double MeshingSTLSurface :: CalcLocalH (const Point3d & p, double gh) const +double MeshingSTLSurface :: CalcLocalH (const Point<3> & p, double gh) const { return gh; } diff --git a/libsrc/stlgeom/meshstlsurface.hpp b/libsrc/stlgeom/meshstlsurface.hpp index ff54380f..c12cbff9 100644 --- a/libsrc/stlgeom/meshstlsurface.hpp +++ b/libsrc/stlgeom/meshstlsurface.hpp @@ -57,7 +57,7 @@ protected: NgArray & lines, double h) const override; /// - double CalcLocalH (const Point3d & p, double gh) const override; + double CalcLocalH (const Point<3> & p, double gh) const override; /// double Area () const override;