VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Member Functions
DtDegMinSec Class Reference

DtDegMinSec is a flyweight data class used to represent a a complex location for latitude or longitude in Degrees, Minutes, Seconds, and Direction where positive direction is north and west. More...

+ Collaboration diagram for DtDegMinSec:

Public Member Functions

void setLatFromDegrees (double deg)
 Same as setFromDegrees, but also sets the direction to DtNorth or DtSouth.
void setLonFromDegrees (double deg)
 Same as setFromDegrees, but also sets the direction to DtWest or DtEast.

Public Attributes

double deg
double min
double sec
DtPolarDirection direction

Protected Member Functions

void setFromDegrees (double deg)
 Take a fully realized degree and separate out its parts into degrees/minutes/seconds.

Detailed Description

DtDegMinSec is a flyweight data class used to represent a a complex location for latitude or longitude in Degrees, Minutes, Seconds, and Direction where positive direction is north and west.

Member Function Documentation

void DtDegMinSec::setFromDegrees ( double  deg)
protected

Take a fully realized degree and separate out its parts into degrees/minutes/seconds.

void DtDegMinSec::setLatFromDegrees ( double  deg)

Same as setFromDegrees, but also sets the direction to DtNorth or DtSouth.

void DtDegMinSec::setLonFromDegrees ( double  deg)

Same as setFromDegrees, but also sets the direction to DtWest or DtEast.

Member Data Documentation

double DtDegMinSec::deg
DtPolarDirection DtDegMinSec::direction
double DtDegMinSec::min
double DtDegMinSec::sec

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

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)