2009-01-13 04:40:13 +05:00
|
|
|
#ifndef FILE_MESHSURF
|
|
|
|
#define FILE_MESHSURF
|
|
|
|
|
2009-09-07 17:50:13 +06:00
|
|
|
namespace netgen
|
2009-01-13 04:40:13 +05:00
|
|
|
{
|
2009-09-07 17:50:13 +06:00
|
|
|
|
2009-01-13 04:40:13 +05:00
|
|
|
///
|
2009-09-07 17:50:13 +06:00
|
|
|
class Meshing2Surfaces : public Meshing2
|
|
|
|
{
|
|
|
|
///
|
|
|
|
const Surface & surface;
|
2014-08-30 06:15:59 +06:00
|
|
|
|
|
|
|
/// should be movec to base ...
|
|
|
|
const MeshingParameters & mparam;
|
2009-09-07 17:50:13 +06:00
|
|
|
public:
|
|
|
|
///
|
|
|
|
// Meshing2Surfaces (const Surface & asurf);
|
|
|
|
///
|
2019-10-28 17:44:51 +05:00
|
|
|
Meshing2Surfaces (const CSGeometry& geo,
|
|
|
|
const Surface & asurf,
|
|
|
|
const MeshingParameters & mp,
|
2011-07-25 14:40:23 +06:00
|
|
|
const Box<3> & aboundingbox);
|
2009-01-13 04:40:13 +05:00
|
|
|
|
2009-09-07 17:50:13 +06:00
|
|
|
protected:
|
|
|
|
///
|
2019-09-29 17:54:24 +05:00
|
|
|
void DefineTransformation(const Point<3> & p1,
|
|
|
|
const Point<3> & p2,
|
|
|
|
const PointGeomInfo * geominfo1,
|
|
|
|
const PointGeomInfo * geominfo2) override;
|
2009-09-07 17:50:13 +06:00
|
|
|
///
|
2019-09-29 17:54:24 +05:00
|
|
|
void TransformToPlain(const Point<3> & locpoint,
|
|
|
|
const MultiPointGeomInfo & geominfo,
|
|
|
|
Point<2> & plainpoint,
|
|
|
|
double h, int & zone) override;
|
2009-09-07 17:50:13 +06:00
|
|
|
///
|
2019-09-29 17:54:24 +05:00
|
|
|
int TransformFromPlain(const Point<2>& plainpoint,
|
|
|
|
Point<3>& locpoint,
|
|
|
|
PointGeomInfo & gi,
|
|
|
|
double h) override;
|
2009-09-07 17:50:13 +06:00
|
|
|
///
|
2019-10-01 14:59:17 +05:00
|
|
|
double CalcLocalH(const Point<3> & p, double gh) const override;
|
2009-09-07 17:50:13 +06:00
|
|
|
};
|
|
|
|
}
|
2009-01-13 04:40:13 +05:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|