10#include <tnt/tnt_array1d.h> 
   11#include <tnt/tnt_array1d_utils.h> 
   12#include <tnt/tnt_array2d.h> 
   13#include <tnt/tnt_array2d_utils.h> 
   29    if ( 3 != v.dim1() ) 
return (
false);
 
 
   43    if ( 3 != t.dim1() ) 
return (
false);
 
   44    if ( 3 != t.dim2() ) 
return (
false);
 
 
   57  QDebug 
operator<<(QDebug dbg, 
const TNT::Array1D<SpiceDouble> &tntArray) {
 
 
   72  QDebug 
operator<<(QDebug dbg, 
const TNT::Array2D<SpiceDouble> &tntMatrix) {
 
   73    for (
int i = 0; i < tntMatrix.dim1(); i++) {
 
   75      for (
int j = 0; j < tntMatrix.dim2(); j++) {
 
   76        dbg.nospace() << 
toString(tntMatrix[i][j], 15) << 
"     ";
 
   78       dbg.nospace() << Qt::endl;
 
 
   95  QString 
toString(
const TNT::Array1D<SpiceDouble> &naifArray, 
int precision) {
 
   96    QString result = 
"( ";
 
   97    for (
int i = 0; i < naifArray.dim1(); i++) {
 
   98      result += 
toString(naifArray[i], precision);
 
   99      if (i != naifArray.dim1() - 1) result += 
", ";
 
 
This is free and unencumbered software released into the public domain.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
TNT::Array2D< SpiceDouble > NaifTriangle
3-D triangle[3][3]
TNT::Array1D< SpiceDouble > NaifVertex
1-D Buffer[3]
bool validate(const NaifVertex &v)
Verifies that the given NaifVector or NaifVertex is 3 dimensional.
QDebug operator<<(QDebug debug, const Hillshade &hillshade)
Print this class out to a QDebug object.