Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
vtLocation Class Reference

#include <Location.h>

Public Member Functions

 vtLocation (const vtLocation &v)
 
vtLocationoperator= (const vtLocation &v)
 

Public Attributes

LocNameString m_strName
 
DPoint2 m_pos1
 
float m_fElevation1
 
DPoint2 m_pos2
 
float m_fElevation2
 

Detailed Description

A location is represented as a earth-coordinate point, an elevation, and an orientation. The point is always in Geographic coordinates (Latitude/Longitude, WGS84). It should be converted to and from the actual, desired CRS as appropriate.

Location and view direction are encoded as two 3D points. The first is the location, the second is the "Look At" point. Heading and pitch are implicit in the second point.

The distance between the two points is arbitrary, but it should be neither very small nor very large, to avoid numerical problems.


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