OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Private Attributes | List of all members
ossimDemPoint Class Reference

#include <ossimDemPoint.h>

Public Member Functions

 ossimDemPoint (double x=0.0, double y=0.0)
 
double getX () const
 
double getY () const
 
void getXY (double &x, double &y) const
 
void setX (double x)
 
void setY (double y)
 
void setXY (double x, double y)
 
bool operator< (ossimDemPoint const &) const
 
bool operator== (ossimDemPoint const &) const
 

Private Attributes

double _x
 
double _y
 

Detailed Description

Definition at line 18 of file ossimDemPoint.h.

Constructor & Destructor Documentation

◆ ossimDemPoint()

ossimDemPoint::ossimDemPoint ( double  x = 0.0,
double  y = 0.0 
)
inline

Definition at line 45 of file ossimDemPoint.h.

References _x, _y, x, and y.

46 {
47  _x = x;
48  _y = y;
49 }
ossim_uint32 x
ossim_uint32 y

Member Function Documentation

◆ getX()

double ossimDemPoint::getX ( ) const
inline

Definition at line 53 of file ossimDemPoint.h.

References _x.

Referenced by ossimDemGrid::fillGeographic(), and ossimDemGrid::fillUTM().

54 {
55  return _x;
56 }

◆ getXY()

void ossimDemPoint::getXY ( double &  x,
double &  y 
) const
inline

Definition at line 67 of file ossimDemPoint.h.

References _x, _y, x, and y.

68 {
69  x = _x;
70  y = _y;
71 }
ossim_uint32 x
ossim_uint32 y

◆ getY()

double ossimDemPoint::getY ( ) const
inline

Definition at line 60 of file ossimDemPoint.h.

References _y.

Referenced by ossimDemGrid::fillGeographic(), and ossimDemGrid::fillUTM().

61 {
62  return _y;
63 }

◆ operator<()

bool ossimDemPoint::operator< ( ossimDemPoint const &  ) const
inline

Definition at line 33 of file ossimDemPoint.h.

33 {return false;}

◆ operator==()

bool ossimDemPoint::operator== ( ossimDemPoint const &  ) const
inline

Definition at line 34 of file ossimDemPoint.h.

34 {return false;}

◆ setX()

void ossimDemPoint::setX ( double  x)
inline

Definition at line 75 of file ossimDemPoint.h.

References _x, and x.

76 {
77  _x = x;
78 }
ossim_uint32 x

◆ setXY()

void ossimDemPoint::setXY ( double  x,
double  y 
)
inline

Definition at line 89 of file ossimDemPoint.h.

References _x, _y, x, and y.

Referenced by operator>>().

90 {
91  _x = x;
92  _y = y;
93 }
ossim_uint32 x
ossim_uint32 y

◆ setY()

void ossimDemPoint::setY ( double  y)
inline

Definition at line 82 of file ossimDemPoint.h.

References _y, and y.

83 {
84  _y = y;
85 }
ossim_uint32 y

Member Data Documentation

◆ _x

double ossimDemPoint::_x
private

Definition at line 38 of file ossimDemPoint.h.

Referenced by getX(), getXY(), ossimDemPoint(), setX(), and setXY().

◆ _y

double ossimDemPoint::_y
private

Definition at line 39 of file ossimDemPoint.h.

Referenced by getXY(), getY(), ossimDemPoint(), setXY(), and setY().


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