27 #include <tnt/tnt_array1d.h> 28 #include <tnt/tnt_array1d_utils.h> 29 #include <tnt/tnt_array2d.h> 30 #include <tnt/tnt_array2d_utils.h> 46 if ( 3 != v.dim1() )
return (
false);
60 if ( 3 != t.dim1() )
return (
false);
61 if ( 3 != t.dim2() )
return (
false);
74 QDebug operator<<(QDebug dbg, const TNT::Array1D<SpiceDouble> &tntArray) {
89 QDebug operator<<(QDebug dbg, const TNT::Array2D<SpiceDouble> &tntMatrix) {
90 for (
int i = 0; i < tntMatrix.dim1(); i++) {
92 for (
int j = 0; j < tntMatrix.dim2(); j++) {
93 dbg.nospace() <<
toString(tntMatrix[i][j], 15) <<
" ";
95 dbg.nospace() << endl;
112 QString
toString(
const TNT::Array1D<SpiceDouble> &naifArray,
int precision) {
113 QString result =
"( ";
114 for (
int i = 0; i < naifArray.dim1(); i++) {
115 result +=
toString(naifArray[i], precision);
116 if (i != naifArray.dim1() - 1) result +=
", ";
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
TNT::Array1D< SpiceDouble > NaifVertex
1-D Buffer[3]
bool validate(const NaifVertex &v)
Verifies that the given NaifVector or NaifVertex is 3 dimensional.
Namespace for ISIS/Bullet specific routines.
TNT::Array2D< SpiceDouble > NaifTriangle
3-D triangle[3][3]