mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
change CalcLocalH to use Point<D> instead of PointDd
This commit is contained in:
parent
0d94928c5b
commit
9797c23351
@ -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);
|
||||||
/*
|
/*
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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,
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user