ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/applications/hydrodynamics/StuntDoubleShape.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/applications/hydrodynamics/StuntDoubleShape.cpp (file contents):
Revision 2610 by tim, Thu Feb 23 23:16:43 2006 UTC vs.
Revision 2611 by tim, Mon Mar 13 22:42:40 2006 UTC

# Line 64 | Line 64 | std::pair<Vector3d, Vector3d> Spheric::getBox() {
64      std::pair<Vector3d, Vector3d>  boundary;
65      Vector3d r(radius_, radius_, radius_);
66      boundary.first = origin_ - r;
67 <    boundary.first = origin_ + r;
67 >    boundary.second = origin_ + r;
68      return boundary;
69   }
70   Ellipsoid::Ellipsoid(Vector3d origin, double radius, double ratio, Mat3x3d rotMat)
# Line 95 | Line 95 | std::pair<Vector3d, Vector3d> Ellipsoid::getBox() {
95      double rad  = a_ > b_ ? a_ : b_;
96      Vector3d r(rad, rad, rad);
97      boundary.first = origin_ - r;
98 <    boundary.first = origin_ + r;
98 >    boundary.second = origin_ + r;
99      return boundary;
100   }
101  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines