Ignore:
Timestamp:
Aug 19, 2009, 12:23:05 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
daf5d6
Parents:
66ce7a
Message:

VectorUnitTest extended to Projections and Line intersection, some subsequent bug fixes.

Note: VectorUnitTest is running fine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/vector.hpp

    r66ce7a r6c09a4  
    2727  double PeriodicDistanceSquared(const Vector *y, const double *cell_size) const;
    2828  double ScalarProduct(const Vector *y) const;
    29   double Projection(const Vector *y) const;
    3029  double Norm() const;
    3130  double NormSquared() const;
     
    3332  bool IsZero() const;
    3433  bool IsOne() const;
     34  bool IsNormalTo(const Vector *normal) const;
    3535
    3636  void AddVector(const Vector *y);
    3737  void SubtractVector(const Vector *y);
    3838  void CopyVector(const Vector *y);
     39  void CopyVector(const Vector y);
    3940  void RotateVector(const Vector *y, const double alpha);
    4041  void VectorProduct(const Vector *y);
    4142  void ProjectOntoPlane(const Vector *y);
     43  void ProjectIt(const Vector *y);
     44  Vector Projection(const Vector *y) const;
    4245  void Zero();
    4346  void One(double one);
     
    6871
    6972ostream & operator << (ostream& ost, const Vector &m);
     73bool operator==(const Vector& a, const Vector& b);
    7074Vector& operator+=(Vector& a, const Vector& b);
    7175Vector& operator-=(Vector& a, const Vector& b);
Note: See TracChangeset for help on using the changeset viewer.