Skip to content
Snippets Groups Projects
Select Git revision
  • 75775fc569f7789caed04ec753ff30a42b6e13ad
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

discreteEdge.h

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    discreteEdge.h 785 B
    #ifndef _DISCRETE_EDGE_H_
    #define _DISCRETE_EDGE_H_
    
    #include "GModel.h"
    #include "GEdge.h"
    
    #if !defined(HAVE_NO_GEO)
    #include "Geo.h"
    #endif
    
    class discreteEdge : public GEdge {
     public:
      discreteEdge(GModel *model, int num) : GEdge(model, num, 0, 0) 
      {
    #if !defined(HAVE_NO_GEO)
        Curve *c = Create_Curve(num, MSH_SEGM_DISCRETE, 0, 0, 0, -1, -1, 0., 1.);
        Tree_Add(model->getGEOInternals()->Curves, &c);
        CreateReversedCurve(c);
    #endif
      }
      virtual ~discreteEdge() {}
      virtual GeomType geomType() const { return DiscreteCurve; }
      virtual GPoint point(double p) const { throw; }
      virtual int containsParam(double pt) const { throw; }
      virtual SVector3 firstDer(double par) const { throw; }
      virtual double parFromPoint(const SPoint3 &pt) const { throw; }
    };
    
    #endif