Changes in src/vector.hpp [ccf826:d4c9ae]
- File:
-
- 1 edited
-
src/vector.hpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/vector.hpp
rccf826 rd4c9ae 16 16 17 17 #include <memory> 18 #include <vector>19 18 20 19 #include "defs.hpp" … … 22 21 23 22 /********************************************** declarations *******************************/ 24 25 class Vector;26 27 typedef std::vector<Vector> pointset;28 23 29 24 /** Single vector. … … 44 39 45 40 double DistanceSquared(const Vector &y) const; 41 Vector GetDistanceVectorToPlane(const Vector &PlaneNormal, const Vector &PlaneOffset) const; 46 42 double DistanceToSpace(const Space& space) const; 47 43 double PeriodicDistance(const Vector &y, const double * const cell_size) const; … … 60 56 void ProjectIt(const Vector &y); 61 57 Vector Projection(const Vector &y) const; 58 void Mirror(const Vector &x); 62 59 void ScaleAll(const double *factor); 63 60 void Scale(const double factor); … … 69 66 bool IsInParallelepiped(const Vector &offset, const double * const parallelepiped) const; 70 67 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;73 68 74 69 // Accessors ussually come in pairs... and sometimes even more than that
Note:
See TracChangeset
for help on using the changeset viewer.
