Merge branch 'calclocalh_use_point' into 'master'

change CalcLocalH to use Point<D> instead of PointDd

See merge request jschoeberl/netgen!258
This commit is contained in:
Joachim Schöberl 2019-10-01 10:59:43 +00:00
commit 78094016bf
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);
/*

View File

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

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;
}

View File

@ -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,

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;
}

View File

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

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;
}

View File

@ -57,7 +57,7 @@ protected:
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;