change CalcLocalH to use Point<D> instead of PointDd

This commit is contained in:
Christopher Lackner 2019-10-01 11:59:17 +02:00
parent 0d94928c5b
commit 9797c23351
8 changed files with 8 additions and 8 deletions

View File

@ -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); return surface.LocH (p, 3, 1, mparam, gh);
/* /*

View File

@ -36,7 +36,7 @@ namespace netgen
PointGeomInfo & gi, PointGeomInfo & gi,
double h) override; double h) override;
/// ///
double CalcLocalH(const Point3d & p, double gh) const override; double CalcLocalH(const Point<3> & p, double gh) const override;
}; };

View File

@ -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; return gh;
} }

View File

@ -81,7 +81,7 @@ protected:
/// ///
virtual void EndMesh (); 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, virtual void DefineTransformation (const Point<3> & p1, const Point<3> & p2,

View File

@ -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; return gh;
} }

View File

@ -137,7 +137,7 @@ protected:
PointGeomInfo & gi, PointGeomInfo & gi,
double h) override; double h) override;
/// ///
double CalcLocalH (const Point3d & p, double gh) const override; double CalcLocalH (const Point<3> & p, double gh) const override;
}; };

View File

@ -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; return gh;
} }

View File

@ -57,7 +57,7 @@ protected:
NgArray<INDEX_2> & lines, double h) const override; NgArray<INDEX_2> & 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; double Area () const override;