VR-Link API Documentation for DIS
latLonDim.h
Go to the documentation of this file.
00001 //********************************************************************
00002 // Copyright (c) 2005 MaK Technologies, Inc.
00003 // All rights reserved.
00004 //********************************************************************
00005 #pragma once
00006 #include <vl/region.h>
00007 #include "linNorm.h"
00008 
00009 class DtLatLonDimensions : public DtDDMRegion
00010 {
00011 public:
00012    DtLatLonDimensions(DtExerciseConn* exConn);
00013 
00014    virtual ~DtLatLonDimensions();
00015 
00016    void setMinLatitude(double min);
00017    void setMaxLatitude(double max);
00018 
00019    void setMinLongitude(double min);
00020    void setMaxLongitude(double max);
00021 
00022    void setLatitudeLowerBound(double lat);
00023    void setLatitudeUpperBound(double lat);
00024 
00025    void setLongitudeLowerBound(double lon);
00026    void setLongitudeUpperBound(double lon);
00027 
00028    double minLatitude() const;
00029    double maxLatitude() const;
00030 
00031    double minLongitude() const;
00032    double maxLongitude() const;
00033 
00034    double latitudeUpperBound() const;
00035    double latitudeLowerBound() const;
00036 
00037    double longitudeUpperBound() const;
00038    double longitudeLowerBound() const;
00039 
00040    void setPoint(double latitude, double longitude);
00041 
00042    void setPlaybox(double minLatitude, double minLongitude, double maxLatitude,
00043       double maxLongitude);
00044 
00045 protected:
00046    double myMinLatitude;
00047    double myMaxLatitude;
00048    double myMinLongitude;
00049    double myMaxLongitude;
00050 
00051    double myLatitudeLowerBound;
00052    double myLatitudeUpperBound;
00053    double myLongitudeLowerBound;
00054    double myLongitudeUpperBound;
00055 
00056    DtLinearNormalizer myLatitudeNormalizer;
00057    DtLinearNormalizer myLongitudeNormalizer;
00058 };
00059 
00060 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)