Changeset 518 in Sophya for trunk/SophyaLib/Samba/unitvector.h
- Timestamp:
- Oct 26, 1999, 4:31:44 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/unitvector.h
r262 r518 17 17 UnitVector(const Vector3d&); 18 18 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); } 24 28 25 29 void Print(ostream& os) const;
Note:
See TracChangeset
for help on using the changeset viewer.