~esys-p-dev/esys-particle/trunk

« back to all changes in this revision

Viewing changes to Geometry/Triangle.h

  • Committer: Steffen Abe
  • Date: 2019-12-03 14:39:10 UTC
  • Revision ID: s.abe@igem-energie.de-20191203143910-0s4xguvluq2jva3z
- added rotateMeshBy() function to rotate whole meshes around a given axis

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
  bool containsEdge(const Vec3&,const Vec3&) const;
75
75
  void moveNode(int,const Vec3&);
76
76
  void move(const Vec3&);
 
77
  void rotate(const Vec3&,const Vec3&,double);
77
78
  inline int getID() const {return m_tri_id;};
78
79
  inline int getTag() const  {return m_tag;}; 
79
80
  inline void applyForce(const Vec3& f){m_force+=f;};