kmeans::WeatherScitOutput::PointLocation Class Reference

List of all members.

Detailed Description

Way of encoding the location of a point or of encoding movement between frames.

Author:
Lakshman
Version:
Id
WeatherScitOutput.h,v 1.8 2009/06/02 20:17:50 lakshman Exp


Public Member Functions

 PointLocation (float km_east=0, float km_north=0)
 PointLocation (float x, float y, float x0, float y0, float pix_per_km)
 Pass in the x,y location, the pixel location of the origin (128,128) for example, and the pix_per_km value.

Static Public Member Functions

static float getKm (float num_pixels_from_origin, float pix_per_km)

Friends

class WeatherScitOutput
code::BOOStream & operator<< (code::BOOStream &out, const PointLocation &obj)


Constructor & Destructor Documentation

kmeans::WeatherScitOutput::PointLocation::PointLocation ( float  km_east = 0,
float  km_north = 0 
)

kmeans::WeatherScitOutput::PointLocation::PointLocation ( float  x,
float  y,
float  x0,
float  y0,
float  pix_per_km 
)

Pass in the x,y location, the pixel location of the origin (128,128) for example, and the pix_per_km value.

x is the row number and y is the column number.


Member Function Documentation

static float kmeans::WeatherScitOutput::PointLocation::getKm ( float  num_pixels_from_origin,
float  pix_per_km 
) [static]


Friends And Related Function Documentation

code::BOOStream& operator<< ( code::BOOStream &  out,
const PointLocation obj 
) [friend]

friend class WeatherScitOutput [friend]


Generated on Fri May 4 13:40:22 2012 for WDSS-IIw2algs by  doxygen 1.4.7