Skip to content
Snippets Groups Projects
Select Git revision
  • 2696f1a50c84ba8528b2a294a6eed5baac62c5ae
  • 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

drawGeom.cpp

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    ACISEdge.h 1.36 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_EDGE_H
    #define ACIS_EDGE_H
    
    #include "GmshConfig.h"
    #include "GEdge.h"
    #include "GModel.h"
    #include "ACISVertex.h"
    #include "Range.h"
    
    class ACISFace;
    
    #if defined(HAVE_ACIS)
    
    #include <position.hxx>
    #include <edge.hxx>
    
    class ACISEdge : public GEdge {
      EDGE *_e;
      double s0, s1;
    
    public:
      ACISEdge(GModel *model, EDGE *e, int num, GVertex *v1, GVertex *v2);
      virtual ~ACISEdge() {}
      virtual Range<double> parBounds(int i) const;
      virtual GeomType geomType() const;
      virtual bool degenerate(int) const;
      virtual GPoint point(double p) const;
      virtual SVector3 firstDer(double par) const;
      virtual double curvature(double par) const;
      virtual SPoint2 reparamOnFace(const GFace *face, double epar, int dir) const;
      virtual GPoint closestPoint(const SPoint3 &queryPoint, double &param) const;
      ModelType getNativeType() const { return AcisModel; }
      void *getNativePtr() const { return (void *)_e; }
      virtual int minimumMeshSegments() const;
      virtual int minimumDrawSegments() const;
      bool isSeam(const GFace *) const;
      virtual void writeGEO(FILE *fp);
      EDGE *getEDGE() const { return _e; }
    };
    GEdge *getACISEdgeByNativePtr(GModel *model, EDGE *toFind);
    
    #endif
    
    #endif