17 #ifndef AGX_IO_UTILS_H 18 #define AGX_IO_UTILS_H 33 output << vec[0] <<
" " << vec[1];
39 input >> vec[0] >> vec[1];
48 output << vec[0] <<
" " 56 input >> vec[0] >> vec[1] >> vec[2];
65 output << vec[0] <<
" " 73 input >> vec[0] >> vec[1] >> vec[2];
82 output << vec[0] <<
" " 90 input >> vec[0] >> vec[1] >> vec[2];
100 output << vec[0] <<
" " 109 input >> vec[0] >> vec[1] >> vec[2] >> vec[3];
119 #ifndef SWIG_CPPWRAPPER_BUILD 120 inline std::ostream&
operator<< (std::ostream& os,
const Matrix& m)
122 os <<
"{" << std::endl;
123 for (
int row = 0; row < 4; ++row ) {
125 for (
int col = 0; col < 4; ++col )
126 os << m( row, col ) <<
" ";
129 os <<
"}" << std::endl;
137 output << vec[0] <<
" " 146 input >> vec[0] >> vec[1] >> vec[2] >> vec[3];
A class holding 4 dimensional vectors and providing basic arithmetic.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
The object holding quaternions and providing operations on these.
std::istream & operator>>(std::istream &input, Vec2 &vec)
std::ostream & operator<<(std::ostream &os, const agx::AddedMassInteraction::Matrix6x6 &m)
A class holding 3 dimensional vectors and providing basic arithmetic.