netgen/libsrc/geom2d/geom2dmesh.hpp

53 lines
1.6 KiB
C++
Raw Normal View History

2009-01-13 04:40:13 +05:00
#ifndef FILE_GEOM2DMESH
#define FILE_GEOM2DMESH
/**************************************************************************/
/* File: geom2dmesh.hh */
/* Author: Joachim Schoeberl */
/* Date: 22. Jan. 01 */
/**************************************************************************/
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
class Refinement2d : public Refinement
{
2011-02-28 17:59:27 +05:00
const class SplineGeometry2d & geometry;
2009-01-13 04:40:13 +05:00
2009-09-07 17:50:13 +06:00
public:
2011-02-28 17:59:27 +05:00
Refinement2d (const class SplineGeometry2d & ageometry);
2009-09-07 17:50:13 +06:00
virtual ~Refinement2d ();
virtual void PointBetween (const Point<3> & p1, const Point<3> & p2, double secpoint,
int surfi,
const PointGeomInfo & gi1,
const PointGeomInfo & gi2,
2011-01-11 01:18:01 +05:00
Point<3> & newp, PointGeomInfo & newgi) const;
2009-01-13 04:40:13 +05:00
2009-09-07 17:50:13 +06:00
virtual void PointBetween (const Point<3> & p1, const Point<3> & p2, double secpoint,
int surfi1, int surfi2,
const EdgePointGeomInfo & ap1,
const EdgePointGeomInfo & ap2,
2011-01-11 01:18:01 +05:00
Point<3> & newp, EdgePointGeomInfo & newgi) const;
2009-01-13 04:40:13 +05:00
2009-09-07 17:50:13 +06:00
virtual Vec<3> GetTangent (const Point<3> & p, int surfi1, int surfi2,
const EdgePointGeomInfo & ap1) const;
2009-01-13 04:40:13 +05:00
2009-09-07 17:50:13 +06:00
virtual Vec<3> GetNormal (const Point<3> & p, int surfi1,
const PointGeomInfo & gi) const;
2009-01-13 04:40:13 +05:00
2011-01-11 01:18:01 +05:00
virtual void ProjectToSurface (Point<3> & p, int surfi, const PointGeomInfo & /* gi */) const;
2009-01-13 04:40:13 +05:00
2009-09-07 17:50:13 +06:00
virtual void ProjectToEdge (Point<3> & p, int surfi1, int surfi2,
const EdgePointGeomInfo & egi) const;
};
2009-01-13 04:40:13 +05:00
2009-09-07 17:50:13 +06:00
}
2009-01-13 04:40:13 +05:00
#endif