]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/sg_types.hxx
Add project.* to MSVC project files
[simgear.git] / simgear / math / sg_types.hxx
index b2bf6cac08fb5d7bfad5b527954ff21b3e50669b..36a2a35a390be5f6d010504a6510ab083b5e52ce 100644 (file)
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 // Library General Public License for more details.
 //
-// You should have received a copy of the GNU Library General Public
-// License along with this library; if not, write to the
-// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-// Boston, MA  02111-1307, USA.
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
 #define _SG_TYPES_HXX
 
 
-#ifndef __cplusplus                                                          
+#ifndef __cplusplus
 # error This library requires C++
-#endif                                   
+#endif
 
 
 #include <simgear/compiler.h>
 
-#include STL_STRING
+#include <string>
 #include <vector>
 
-#include <simgear/math/point3d.hxx>
-
-SG_USING_STD(vector);
-SG_USING_STD(string);
-
 /** STL vector list of ints */
-typedef vector < int > int_list;
+typedef std::vector < int > int_list;
 typedef int_list::iterator int_list_iterator;
 typedef int_list::const_iterator const_int_list_iterator;
 
 /** STL vector list of doubles */
-typedef vector < double > double_list;
+typedef std::vector < double > double_list;
 typedef double_list::iterator double_list_iterator;
 typedef double_list::const_iterator const_double_list_iterator;
 
-/** STL vector list of Point3D */
-typedef vector < Point3D > point_list;
-typedef point_list::iterator point_list_iterator;
-typedef point_list::const_iterator const_point_list_iterator;
-
 /** STL vector list of strings */
-typedef vector < string > string_list;
+typedef std::vector < std::string > string_list;
 typedef string_list::iterator string_list_iterator;
 typedef string_list::const_iterator const_string_list_iterator;
 
-
-/**
- * Simple 2d point class where members can be accessed as x, dist, or lon
- * and y, theta, or lat
- */
-class point2d {
-public:
-    union {
-       double x;
-       double dist;
-       double lon;
-    };
-    union {
-       double y;
-       double theta;
-       double lat;
-    };
-};
-
-
 #endif // _SG_TYPES_HXX