OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimFpt3d.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: David Burken (dburken@imagelinks.com)
6 //
7 // Description:
8 //
9 // Contains class declaration for fpt3d.
10 //
11 // Used to represent a three dimensional point containing an x and y data
12 // member.
13 //
14 //*******************************************************************
15 // $Id: ossimFpt3d.h 9968 2006-11-29 14:01:53Z gpotts $
16 
17 #ifndef ossimFpt3d_HEADER
18 #define ossimFpt3d_HEADER
19 
21 #include <ossim/base/ossimFpt.h>
22 
23 
25 {
26 public:
27 
29  : x(0.0), y(0.0), z(0.0)
30  {}
32  const ossim_float32& aY,
33  const ossim_float32& aZ)
34  : x(aX), y(aY), z(aZ)
35  {}
36 
37  ossimFpt pt2d() const { return ossimFpt(x, y); }
38 
39  ostream& print(ostream& os) const;
40 
41  friend ostream& operator<<(ostream& os, const ossimFpt3d& pt);
42  friend istream& operator>>(istream& is, ossimFpt3d& pt);
43 
47 };
48 
49 #endif
ossim_float32 z
Definition: ossimFpt3d.h:46
ossim_uint32 x
ossimFpt3d(const ossim_float32 &aX, const ossim_float32 &aY, const ossim_float32 &aZ)
Definition: ossimFpt3d.h:31
#define OSSIMDLLEXPORT
ossim_uint32 y
ossimFpt pt2d() const
Definition: ossimFpt3d.h:37
float ossim_float32
ossim_float32 y
Definition: ossimFpt3d.h:45
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
Definition: ossimH5Util.cpp:41
ostream & operator<<(ostream &out, const ossimAxes &axes)
Definition: ossimAxes.h:88
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
OSSIM_DLL void operator>>(ossimIStream &in, ossimOStream &out)
ossim_float32 x
Definition: ossimFpt3d.h:44
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23