Skip to content
Snippets Groups Projects
Select Git revision
  • f55633bad0503ecf844c3a10072aaf1d9e92e2f8
  • master default protected
  • relaying
  • overlaps_tags_and_distributed_export
  • alphashapes
  • patches-4.14
  • steplayer
  • bl
  • pluginMeshQuality
  • fixBugsAmaury
  • hierarchical-basis
  • 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
  • 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

ACISVertex.h

Blame
  • ACISVertex.h 1.01 KiB
    // Gmsh - Copyright (C) 1997-2019 C. Geuzaine, J.-F. Remacle
    //
    // See the LICENSE.txt file for license information. Please report all
    // issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
    
    #ifndef ACIS_VERTEX_H
    #define ACIS_VERTEX_H
    
    #include "GmshConfig.h"
    #include "GModel.h"
    #include "GVertex.h"
    
    #if defined(HAVE_ACIS)
    
    #include <vertex.hxx>
    
    class ACISVertex : public GVertex {
    protected:
      VERTEX *_v;
      double _x, _y, _z;
    
    public:
      ACISVertex(GModel *m, int num, VERTEX *_v);
      virtual ~ACISVertex() {}
      virtual GPoint point() const { return GPoint(x(), y(), z()); }
      virtual double x() const { return _x; }
      virtual double y() const { return _y; }
      virtual double z() const { return _z; }
      virtual void setPosition(GPoint &p);
      ModelType getNativeType() const { return AcisModel; }
      void *getNativePtr() const { return (void *)_v; }
      virtual SPoint2 reparamOnFace(const GFace *gf, int) const;
      VERTEX *getVERTEX() { return _v; }
    };
    GVertex *getACISVertexByNativePtr(GModel *model, VERTEX *);
    
    #endif
    
    #endif