OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
ossim-plugins
cnes
src
otb
Coordinate.cpp
Go to the documentation of this file.
1
//----------------------------------------------------------------------------
2
//
3
// "Copyright Centre National d'Etudes Spatiales"
4
//
5
// License: LGPL
6
//
7
// See LICENSE.txt file in the top level directory for more details.
8
//
9
//----------------------------------------------------------------------------
10
// $Id$
11
12
13
#include <
otb/Coordinate.h
>
14
15
namespace
ossimplugins
16
{
17
18
19
20
Coordinate::Coordinate
():
21
_x(0.0),
22
_y(0.0),
23
_z(0.0)
24
{
25
}
26
27
Coordinate::~Coordinate
()
28
{
29
}
30
31
Coordinate::Coordinate
(
double
x
,
double
y
,
double
z):
32
_x(
x
),
33
_y(
y
),
34
_z(z)
35
{
36
}
37
38
Coordinate::Coordinate
(
const
Coordinate
& rhs):
39
_x(rhs._x),
40
_y(rhs._y),
41
_z(rhs._z)
42
{
43
}
44
45
Coordinate
&
Coordinate::operator=
(
const
Coordinate
& rhs)
46
{
47
_x
= rhs.
_x
;
48
_y
= rhs.
_y
;
49
_z
= rhs.
_z
;
50
51
return
*
this
;
52
}
53
54
void
Coordinate::set_coordinates
(
double
x
,
double
y
,
double
z)
55
{
56
_x
=
x
;
57
_y
=
y
;
58
_z
= z;
59
60
}
61
}
x
ossim_uint32 x
Definition:
ossimPdfWriter.cpp:519
y
ossim_uint32 y
Definition:
ossimPdfWriter.cpp:520
ossimplugins::Coordinate::set_coordinates
void set_coordinates(double x, double y, double z)
Definition:
Coordinate.cpp:54
ossimplugins
Definition:
AlosPalsarData.cpp:26
ossimplugins::Coordinate::Coordinate
Coordinate()
Constructor.
Definition:
Coordinate.cpp:20
ossimplugins::Coordinate::operator=
Coordinate & operator=(const Coordinate &rhs)
Affectation operator.
Definition:
Coordinate.cpp:45
ossimplugins::Coordinate::_z
double _z
Definition:
Coordinate.h:69
ossimplugins::Coordinate::~Coordinate
~Coordinate()
Destructor.
Definition:
Coordinate.cpp:27
ossimplugins::Coordinate
This class represents a coordinate.
Definition:
Coordinate.h:25
Coordinate.h
ossimplugins::Coordinate::_x
double _x
Definition:
Coordinate.h:65
ossimplugins::Coordinate::_y
double _y
Definition:
Coordinate.h:68
Generated on Fri Aug 3 2018 08:46:44 for OSSIM - Open Source Software Image Map by
1.8.14