Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/vector.hpp

    rccf826 rd4c9ae  
    1616
    1717#include <memory>
    18 #include <vector>
    1918
    2019#include "defs.hpp"
     
    2221
    2322/********************************************** declarations *******************************/
    24 
    25 class Vector;
    26 
    27 typedef std::vector<Vector> pointset;
    2823
    2924/** Single vector.
     
    4439
    4540  double DistanceSquared(const Vector &y) const;
     41  Vector GetDistanceVectorToPlane(const Vector &PlaneNormal, const Vector &PlaneOffset) const;
    4642  double DistanceToSpace(const Space& space) const;
    4743  double PeriodicDistance(const Vector &y, const double * const cell_size) const;
     
    6056  void ProjectIt(const Vector &y);
    6157  Vector Projection(const Vector &y) const;
     58  void Mirror(const Vector &x);
    6259  void ScaleAll(const double *factor);
    6360  void Scale(const double factor);
     
    6966  bool IsInParallelepiped(const Vector &offset, const double * const parallelepiped) const;
    7067  void WrapPeriodically(const double * const M, const double * const Minv);
    71   std::pair<Vector,Vector> partition(const Vector&) const;
    72   std::pair<pointset,Vector> partition(const pointset&) const;
    7368
    7469  // Accessors ussually come in pairs... and sometimes even more than that
Note: See TracChangeset for help on using the changeset viewer.