Skip to content
Snippets Groups Projects
Select Git revision
  • f55633bad0503ecf844c3a10072aaf1d9e92e2f8
  • master default protected
  • patches-4.14
  • steplayer
  • bl
  • pluginMeshQuality
  • fixBugsAmaury
  • hierarchical-basis
  • alphashapes
  • relaying
  • new_export_boris
  • oras_vs_osm
  • reassign_partitions
  • distributed_fwi
  • rename-classes
  • fix/fortran-api-example-t4
  • robust_partitions
  • reducing_files
  • fix_overlaps
  • 3115-issue-fix
  • 3023-Fillet2D-Update
  • gmsh_4_14_0
  • gmsh_4_13_1
  • gmsh_4_13_0
  • gmsh_4_12_2
  • gmsh_4_12_1
  • gmsh_4_12_0
  • gmsh_4_11_1
  • gmsh_4_11_0
  • gmsh_4_10_5
  • gmsh_4_10_4
  • gmsh_4_10_3
  • gmsh_4_10_2
  • gmsh_4_10_1
  • gmsh_4_10_0
  • gmsh_4_9_5
  • gmsh_4_9_4
  • gmsh_4_9_3
  • gmsh_4_9_2
  • gmsh_4_9_1
  • gmsh_4_9_0
41 results

GVertex.cpp

Blame
  • 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