OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Protected Attributes | List of all members
ossimplugins::Coordinate Class Reference

This class represents a coordinate. More...

#include <Coordinate.h>

Inheritance diagram for ossimplugins::Coordinate:
ossimplugins::GeodesicCoordinate ossimplugins::RectangularCoordinate

Public Member Functions

 Coordinate ()
 Constructor. More...
 
 ~Coordinate ()
 Destructor. More...
 
 Coordinate (double x, double y, double z)
 Constructor with initializations. More...
 
 Coordinate (const Coordinate &rhs)
 Copy constructor. More...
 
Coordinateoperator= (const Coordinate &rhs)
 Affectation operator. More...
 
void set_coordinates (double x, double y, double z)
 
double get_x ()
 
double get_y ()
 
double get_z ()
 

Protected Attributes

double _x
 
double _y
 
double _z
 

Detailed Description

This class represents a coordinate.

Definition at line 25 of file Coordinate.h.

Constructor & Destructor Documentation

◆ Coordinate() [1/3]

ossimplugins::Coordinate::Coordinate ( )

Constructor.

Definition at line 20 of file Coordinate.cpp.

20  :
21  _x(0.0),
22  _y(0.0),
23  _z(0.0)
24 {
25 }

◆ ~Coordinate()

ossimplugins::Coordinate::~Coordinate ( )

Destructor.

Definition at line 27 of file Coordinate.cpp.

28 {
29 }

◆ Coordinate() [2/3]

ossimplugins::Coordinate::Coordinate ( double  x,
double  y,
double  z 
)

Constructor with initializations.

Definition at line 31 of file Coordinate.cpp.

31  :
32  _x(x),
33  _y(y),
34  _z(z)
35 {
36 }
ossim_uint32 x
ossim_uint32 y

◆ Coordinate() [3/3]

ossimplugins::Coordinate::Coordinate ( const Coordinate rhs)

Copy constructor.

Definition at line 38 of file Coordinate.cpp.

38  :
39  _x(rhs._x),
40  _y(rhs._y),
41  _z(rhs._z)
42 {
43 }

Member Function Documentation

◆ get_x()

double ossimplugins::Coordinate::get_x ( )
inline

Definition at line 52 of file Coordinate.h.

Referenced by ossimplugins::SarSensor::ImageToWorld().

53  {
54  return _x;
55  };

◆ get_y()

double ossimplugins::Coordinate::get_y ( )
inline

Definition at line 57 of file Coordinate.h.

Referenced by ossimplugins::SarSensor::ImageToWorld().

58  {
59  return _y;
60  };

◆ get_z()

double ossimplugins::Coordinate::get_z ( )
inline

Definition at line 62 of file Coordinate.h.

63  {
64  return _z;
65  };

◆ operator=()

Coordinate & ossimplugins::Coordinate::operator= ( const Coordinate rhs)

Affectation operator.

Definition at line 45 of file Coordinate.cpp.

References _x, _y, and _z.

46 {
47  _x = rhs._x;
48  _y = rhs._y;
49  _z = rhs._z;
50 
51  return *this;
52 }

◆ set_coordinates()

void ossimplugins::Coordinate::set_coordinates ( double  x,
double  y,
double  z 
)

Definition at line 54 of file Coordinate.cpp.

References _x, _y, _z, x, and y.

Referenced by ossimplugins::RectangularCoordinate::AsGeodesicCoordinates(), and ossimplugins::SarSensor::localisationSAR().

55 {
56  _x = x;
57  _y = y;
58  _z = z;
59 
60 }
ossim_uint32 x
ossim_uint32 y

Member Data Documentation

◆ _x

double ossimplugins::Coordinate::_x
protected

◆ _y

double ossimplugins::Coordinate::_y
protected

◆ _z

double ossimplugins::Coordinate::_z
protected

The documentation for this class was generated from the following files: