OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <iostream>
#include <sstream>
#include <ossim/base/ossimIpt.h>
#include <ossim/base/ossimDpt.h>
#include <ossim/base/ossimDpt3d.h>
#include <ossim/base/ossimFpt.h>
#include <ossim/base/ossimCommon.h>
#include <ossim/base/ossimString.h>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const ossimIpt &pt) |
std::istream & | operator>> (std::istream &is, ossimIpt &pt) |
std::ostream& operator<< | ( | std::ostream & | os, |
const ossimIpt & | pt | ||
) |
std::istream& operator>> | ( | std::istream & | is, |
ossimIpt & | pt | ||
) |
Expected format: ( 30, -90 ) -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 | osimIpt to be initialized from stream. |
Definition at line 176 of file ossimIpt.cpp.
References ossimString::contains(), ossimString::erase(), ossimString::find(), ossimIpt::makeNan(), OSSIM_INT_NAN, ossimString::toInt32(), ossimIpt::x, and ossimIpt::y.