GRE::VIEWPLACE Class Reference

Simple container for specifying "place" being viewed. More...

#include <gre/viewplace.h>

List of all members.

Public Member Functions

 VIEWPLACE ()
 ~VIEWPLACE ()
const SPATREF::COORDREFSYSGetCoordRefSys () const
const DPOINT2DGetPoint () const
double GetSize () const
const UOM::UNIT GetSizeUnit () const
bool IsEqual (const VIEWPLACE &rhs) const
void SetPoint (const DPOINT2D &Point)
void SetPoint (const SPATREF::COORDREFSYS &CoordRefSys, const DPOINT2D &Point)
void SetSize (double Size)
void SetSize (UOM::UNIT &SizeUnit, double Size)

Detailed Description

Simple container for specifying "place" being viewed.

Typically this will specify a center point, CRS and scale. However, may also specify a "width" to view using any linear unit.


Constructor & Destructor Documentation

GRE::VIEWPLACE::VIEWPLACE (  ) 
GRE::VIEWPLACE::~VIEWPLACE (  ) 

Member Function Documentation

const SPATREF::COORDREFSYS& GRE::VIEWPLACE::GetCoordRefSys (  )  const [inline]

Get CRS for point.

const DPOINT2D& GRE::VIEWPLACE::GetPoint (  )  const [inline]

Get point.

double GRE::VIEWPLACE::GetSize (  )  const [inline]

Get size value.

const UOM::UNIT GRE::VIEWPLACE::GetSizeUnit (  )  const [inline]

Get size unit.

bool GRE::VIEWPLACE::IsEqual ( const VIEWPLACE rhs  )  const

Test for equality.

void GRE::VIEWPLACE::SetPoint ( const DPOINT2D Point  )  [inline]

Set point.

Parameters:
Point Point in previously specified CRS
void GRE::VIEWPLACE::SetPoint ( const SPATREF::COORDREFSYS CoordRefSys,
const DPOINT2D Point 
) [inline]

Set point and CRS.

Parameters:
CoordRefSys CRS for point
Point Point in specified CRS
void GRE::VIEWPLACE::SetSize ( double  Size  )  [inline]

Set size.

Parameters:
Size Value for size, typically indicates scale or horizontal extent
void GRE::VIEWPLACE::SetSize ( UOM::UNIT SizeUnit,
double  Size 
) [inline]

Set size and unit.

Parameters:
SizeUnit Unit for size, typically has MEASURE::TYPE_Scale or TYPE_Length
Size Value for size, typically indicates scale or horizontal extent

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

Generated on Sun Oct 7 21:34:57 2012 for TNTsdk 2012 by  doxygen 1.6.1