~ubuntu-branches/ubuntu/karmic/gmsh/karmic

« back to all changes in this revision

Viewing changes to Geo/FEdge.h

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme, Daniel Leidert
  • Date: 2008-05-18 12:46:05 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080518124605-716xqbqeo07o497k
Tags: 2.2.0-2
[Christophe Prud'homme]
* Bug fix: "gmsh ships no .desktop", thanks to Vassilis Pandis (Closes:
  #375770). Applied the Ubuntu patch.

[Daniel Leidert]
* debian/control (Vcs-Svn): Fixed.
  (Build-Depends): Use texlive instead of tetex-bin.
* debian/gmsh.doc-base (Section): Fixed accordingly to doc-base (>= 0.8.10).
* debian/rules: Removed some variable declarations, that lead to double
  configuration and seem to be useless.
  (build/gmsh): Try to avoid multiple runs by using a stamp.
  (orig-tarball): Renamed to get-orig-source and changed to use uscan.
* debian/watch: Added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _F_EDGE_H_
2
 
#define _F_EDGE_H_
3
 
 
4
 
#include "GEdge.h"
5
 
#include "GModel.h"
6
 
#include "FVertex.h"
7
 
#include "Range.h"
8
 
#include "Message.h"
9
 
 
10
 
#if defined(HAVE_FOURIER_MODEL)
11
 
 
12
 
#include "FM_Edge.h"
13
 
#include "FM_Face.h"
14
 
 
15
 
class FEdge : public GEdge {
16
 
 protected:
17
 
  FM_Edge* edge;
18
 
  int edgeNum;
19
 
 public:
20
 
  FEdge(GModel *model, FM_Edge* edge_, int tag, GVertex *v0, GVertex *v1);
21
 
  virtual ~FEdge() {}
22
 
  double period() const { throw ; }
23
 
  virtual bool periodic(int dim=0) const { return false; }
24
 
  virtual Range<double> parBounds(int i) const;
25
 
  virtual GeomType geomType() const { return ParametricCurve; }
26
 
  virtual bool degenerate(int) const { return false; }
27
 
  virtual bool continuous(int dim) const { return true; }
28
 
  virtual GPoint point(double p) const;
29
 
  virtual GPoint closestPoint(const SPoint3 & queryPoint) { throw; }
30
 
  virtual int containsPoint(const SPoint3 &pt) const { throw; }
31
 
  virtual int containsParam(double pt) const { throw; }
32
 
  virtual SVector3 firstDer(double par) const;
33
 
  //virtual SPoint2 reparamOnFace(GFace *face, double epar, int dir) const;
34
 
  virtual double parFromPoint(const SPoint3 &pt) const;
35
 
  virtual int minimumMeshSegments () const;
36
 
  virtual int minimumDrawSegments () const;
37
 
  ModelType getNativeType() const { return FourierModel; }
38
 
};
39
 
 
40
 
#endif
41
 
 
42
 
#endif