Changeset 518 in Sophya for trunk/SophyaLib/Samba/unitvector.h


Ignore:
Timestamp:
Oct 26, 1999, 4:31:44 PM (26 years ago)
Author:
ansari
Message:

Introduction de SpherePosition and SphereCoordSys, and Initiator for module Samba - Reza+I. Grivell 26/10/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/unitvector.h

    r262 r518  
    1717  UnitVector(const Vector3d&);
    1818 
    19   Vector3d& operator=(const Vector3d&);
    20   Vector3d& operator+=(const Vector3d&);
    21   Vector3d& operator-=(const Vector3d&);
    22   Vector3d operator+(const Vector3d&) const;
    23   Vector3d operator-(const Vector3d&) const;
     19  virtual Vector3d& operator=(const Vector3d&);
     20  virtual Vector3d& operator+=(const Vector3d&);
     21  virtual Vector3d& operator-=(const Vector3d&);
     22  virtual Vector3d operator+(const Vector3d&) const;
     23  virtual Vector3d operator-(const Vector3d&) const;
     24
     25  virtual Vector3d& operator+=(double d) { return Vector3d::operator+= (d); }
     26  virtual Vector3d operator+(double d) const { return Vector3d::operator+ (d); }
     27  virtual Vector3d operator-(double d) const { return Vector3d::operator- (d); }
    2428
    2529  void Print(ostream& os) const;
Note: See TracChangeset for help on using the changeset viewer.