OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <iostream>
#include <iomanip>
#include <sstream>
#include <ossim/base/ossimDpt.h>
#include <ossim/base/ossimDpt3d.h>
#include <ossim/base/ossimIpt.h>
#include <ossim/base/ossimFpt.h>
#include <ossim/base/ossimGpt.h>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const ossimDpt &pt) |
std::istream & | operator>> (std::istream &is, ossimDpt &pt) |
std::ostream& operator<< | ( | std::ostream & | os, |
const ossimDpt & | pt | ||
) |
Definition at line 148 of file ossimDpt.cpp.
References ossimDpt::print().
std::istream& operator>> | ( | std::istream & | is, |
ossimDpt & | pt | ||
) |
Expected format: ( 30.00000000000000, -90.00000000000000 ) -----—x-----— ------—y-----—
This method starts by doing a "makeNan" on pt. So if anything goes wrong with the stream or parsing pt could be all or partially nan.
is | Input stream istream to formatted text. |
pt | osimDpt to be initialized from stream. |
Definition at line 198 of file ossimDpt.cpp.
References ossimString::contains(), ossimString::erase(), ossimString::find(), ossimDpt::makeNan(), ossim::nan(), ossimString::toFloat64(), ossimDpt::x, and ossimDpt::y.