18 #ifndef ossimEcefPoint_HEADER 19 #define ossimEcefPoint_HEADER 55 : theData(assign_this) {}
58 : theData(assign_this) {}
97 double x()
const {
return theData[0]; }
98 double&
x() {
return theData[0]; }
99 double y()
const {
return theData[1]; }
100 double&
y() {
return theData[1]; }
101 double z()
const {
return theData[2]; }
102 double&
z() {
return theData[2]; }
110 return theData.magnitude();
114 return theData.magnitude();
118 return theData.magnitude();
122 double result = magnitude();
157 void toPoint(
const std::string& s);
162 NEWMAT::ColumnVector v (3);
const ossimColumnVector3d & data() const
void toPoint(const NEWMAT::ColumnVector &v)
Converts 3D column vector to this point.
bool operator!=(const ossimEcefPoint &) const
ossimRationalNumber operator-(ossim_int32 i, ossimRationalNumber &r)
ossimEcefPoint(const ossimColumnVector3d &assign_this)
bool operator!=(const ossimRefPtr< _Tp1 > &__a, const ossimRefPtr< _Tp2 > &__b) noexcept
ossimEcefPoint(const double &x, const double &y, const double &z)
double getMagnitude() const
double nan()
Method to return ieee floating point double precision NAN.
const double & operator[](int idx) const
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
ostream & operator<<(ostream &out, const ossimAxes &axes)
unsigned int ossim_uint32
bool operator==(const ossimEcefPoint &) const
bool operator==(const ossimRefPtr< _Tp1 > &__a, const ossimRefPtr< _Tp2 > &__b) noexcept
ossimColumnVector3d & data()
ossimEcefPoint(const NEWMAT::ColumnVector &assign_this)
NEWMAT::ColumnVector toVector() const
Converts this point to a 3D column vector.
double & operator[](int idx)
ossimRationalNumber operator+(ossim_int32 i, ossimRationalNumber &r)
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
std::basic_ostream< char > ostream
Base class for char output streams.
ossimColumnVector3d theData
bool isnan(const float &v)
isnan Test for floating point Not A Number (NAN) value.