| 8 |
|
objType = OT_RIGIDBODY; |
| 9 |
|
is_linear = false; |
| 10 |
|
linear_axis = -1; |
| 11 |
+ |
momIntTol = 1e-6; |
| 12 |
|
} |
| 13 |
|
|
| 14 |
|
RigidBody::~RigidBody() { |
| 262 |
|
|
| 263 |
|
} |
| 264 |
|
|
| 265 |
+ |
double RigidBody::getZangle( ){ |
| 266 |
+ |
return zAngle; |
| 267 |
+ |
} |
| 268 |
+ |
|
| 269 |
+ |
void RigidBody::setZangle( double zAng ){ |
| 270 |
+ |
zAngle = zAng; |
| 271 |
+ |
} |
| 272 |
+ |
|
| 273 |
+ |
void RigidBody::addZangle( double zAng ){ |
| 274 |
+ |
zAngle += zAng; |
| 275 |
+ |
} |
| 276 |
+ |
|
| 277 |
|
void RigidBody::calcRefCoords( ) { |
| 278 |
|
|
| 279 |
|
int i,j,k, it, n_linear_coords; |
| 645 |
|
|
| 646 |
|
//for(atomIter = myAtoms.begin(); atomIter != myAtoms.end(); ++atomIter) |
| 647 |
|
// (*atomIter)->accept(v); |
| 648 |
< |
} |
| 648 |
> |
} |