Ignore:
Timestamp:
Aug 8, 2009, 7:19:23 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
51abbe
Parents:
e0521b
Message:

BUGFIXES to some vector functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/vector.hpp

    re0521b r0ee99dc  
    2828  double NormSquared() const;
    2929  double Angle(const Vector *y) const;
    30   bool IsNull();
     30  bool IsNull() const;
    3131
    3232  void AddVector(const Vector *y);
     
    5151  void LinearCombinationOfVectors(const Vector *x1, const Vector *x2, const Vector *x3, double *factors);
    5252  double CutsPlaneAt(Vector *A, Vector *B, Vector *C);
    53   bool GetIntersectionWithPlane(ofstream *out, Vector *PlaneNormal, Vector *PlaneOffset, Vector *LineVector, Vector *LineVector2);
    54   bool GetIntersectionOfTwoLinesOnPlane(ofstream *out, Vector *Line1a, Vector *Line1b, Vector *Line2a, Vector *Line2b);
     53  bool GetIntersectionWithPlane(ofstream *out, Vector *PlaneNormal, Vector *PlaneOffset, Vector *Origin, Vector *LineVector);
     54  bool GetIntersectionOfTwoLinesOnPlane(ofstream *out, Vector *Line1a, Vector *Line1b, Vector *Line2a, Vector *Line2b, const Vector *Normal = NULL);
    5555  bool GetOneNormalVector(const Vector *x1);
    5656  bool MakeNormalVector(const Vector *y1);
Note: See TracChangeset for help on using the changeset viewer.