This file contains software for some common coordinate transformations (WGS, UTM, GCC). It also contains methods for converting HPR orientations to HLA/DIS orientation values. More...
#include "point3d.h"
#include "quaternion.h"
Go to the source code of this file.
Classes | |
class | CxUtils::Wgs |
Simple World Geodetic System (WGS) latitude and longitude coordinate system data structure. More... | |
class | CxUtils::Utm |
Simple Universal Transverse Mercator (UTM) coordinate system data structure. More... | |
class | CxUtils::Gcc |
Simple Geo-Centric Coordinate (GCC) system data structure. More... | |
class | CxUtils::Orientation |
Simple class for doing angle difference or other needed orientation methods. More... | |
Namespaces | |
namespace | CxUtils |
Functions | |
CX_UTILS_DLL void | CxUtils::GccXyzToWgsHpr (const Gcc &gcc, const Point3D &xyz, Wgs &wgs, Point3D &hpr) |
Converts from a GCC position and DIS/XYZ orientation to a WGS and Heading-Pitch-Roll orientation. | |
CX_UTILS_DLL void | CxUtils::WgsHprToGccXyz (const Wgs &wgs, const Point3D &hpr, Gcc &gcc, Point3D &xyz) |
Converts from a WGS position and Heading-Pitch-Roll orientation to a GCC position and DIS/XYZ orientation. | |
CX_UTILS_DLL void | CxUtils::WgsHprToGccXyz (const Wgs &wgs, const Point3D &hpr, Point3D &xyz) |
Converts Heading-Pitch-Roll orientation to a GCC position XYZ orientation at a geodetic location. | |
void | CxUtils::WgsToUtm (const Wgs &wgs, Utm &utm) |
Convert WGS position to UTM position. | |
void | CxUtils::WgsToGcc (const Wgs &wgs, Gcc &gcc) |
Convert WGS position to GCC position. | |
void | CxUtils::UtmToWgs (const Utm &utm, Wgs &wgs) |
Convert UTM position to WGS position. | |
void | CxUtils::UtmToGcc (const Utm &utm, Gcc &gcc) |
Convert UTM position to GCC position. | |
void | CxUtils::GccToWgs (const Gcc &gcc, Wgs &wgs) |
Convert GCC position to WGS position. | |
void | CxUtils::GccToUtm (const Gcc &gcc, Utm &utm) |
Convert GCC position to UTM position. |
This file contains software for some common coordinate transformations (WGS, UTM, GCC). It also contains methods for converting HPR orientations to HLA/DIS orientation values.
Sources Used to Develop This Code: Defense Mapping Agency. 1987b. DMA Technical Report: Supplement to Department of Defense World Geodetic System 1984 Technical Report. Part I and II. Washington, DC: Defense Mapping Agency
Koks, Don. "Using Rotations to Build Aerospace Coordinate Systems," Electronic Warfare and Radar Division Systems Sciences Laboratory, DSTO-TN-0640. http://dspace.dsto.defence.gov.au/dspace/handle/1947/3499
Author(s): Daniel Barber
Created: 30 April 2007
Copyright (c) 2009
Applied Cognition and Training in Immersive Virtual Environments
(ACTIVE) Laboratory
Institute for Simulation and Training (IST)
University of Central Florida (UCF)
All rights reserved.
Email: dbarber@ist.ucf.edu
Web: http://active.ist.ucf.edu
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the ACTIVE LAB, IST, UCF, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE ACTIVE LAB''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UCF BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file coordinates.h.