18 #ifndef ossimEcefRay_HEADER 19 #define ossimEcefRay_HEADER 44 : theOrigin(copy_this.theOrigin), theDirection(copy_this.theDirection) {}
48 : theOrigin(origin), theDirection(direction.unitVector()) {}
58 return theOrigin.isNan()&&theDirection.isNan();
62 return theOrigin.isNan()||theDirection.isNan();
67 theDirection.makeNan();
101 (
const double& heightAboveEllipsoid,
143 return !(*
this == r);
ossimEcefVector unitVector() const
bool operator!=(const ossimEcefRay &r) const
bool operator!=(const ossimRefPtr< _Tp1 > &__a, const ossimRefPtr< _Tp2 > &__b) noexcept
double dot(const ossimEcefVector &) const
const ossimEcefPoint & origin() const
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
const ossimEcefRay & operator=(const ossimEcefRay &r)
void setOrigin(const ossimEcefPoint &orig)
ostream & operator<<(ostream &out, const ossimAxes &axes)
static ossimDatumFactory * instance()
ossimEcefVector theDirection
bool operator==(const ossimRefPtr< _Tp1 > &__a, const ossimRefPtr< _Tp2 > &__b) noexcept
ossimEcefRay(const ossimEcefPoint &origin, const ossimEcefVector &direction)
ossimEcefRay reflectRay(const ossimEcefVector &normal) const
ossimEcefPoint extend(const double &t) const
const ossimEcefVector & direction() const
bool operator==(const ossimEcefRay &r) const
void setDirection(const ossimEcefVector &d)
ossimEcefRay(const ossimEcefRay ©_this)
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
std::basic_ostream< char > ostream
Base class for char output streams.