#ifndef FIND_REFERENCE_ALT_LAT_LON_06_04_2007 #define FIND_REFERENCE_ALT_LAT_LON_06_04_2007 /** @class FindRefAltLatLon.h @author Brian Magill @creation date 6/4/2007 $Date:$ $Revision:$ @copyright (©) Copyright 2006 by GATS Inc. 11864 Canon Blvd., Suite 101, Newport News, VA 23606 All Rights Reserved. No part of this software or publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise without the prior written permission of GATS Inc. @brief Finds the latitude and longitude at the 83 km tangent altitude In pair object, first item is the latitude and the second is the longitude */ #include #include class FindRefAltLatLon { private: double altRef; public: FindRefAltLatLon(double alt = 83.0):altRef(alt) { } FindRefAltLatLon(const FindRefAltLatLon &rhs):altRef(rhs.altRef) { } FindRefAltLatLon & operator = (const FindRefAltLatLon &rhs) { if(&rhs == this) return *this; altRef = rhs.altRef; return *this; }; ~FindRefAltLatLon() { } std::pair operator() (std::valarray const &tanAlt, std::valarray const &tanLat, std::valarray const &tanLon) const; }; #endif