1997-12-15 21:02:15 +00:00
|
|
|
/**************************************************************************
|
|
|
|
* types.h -- various data structure definitions
|
|
|
|
*
|
|
|
|
* Written by Curtis Olson, started July 1997.
|
|
|
|
*
|
|
|
|
* Copyright (C) 1997 Curtis L. Olson - curt@infoplane.com
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* 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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
*
|
|
|
|
* $Id$
|
|
|
|
* (Log is kept at end of this file)
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
|
1998-04-08 23:35:31 +00:00
|
|
|
#ifndef _FG_TYPES_H
|
|
|
|
#define _FG_TYPES_H
|
1997-12-15 21:02:15 +00:00
|
|
|
|
|
|
|
|
1998-05-02 01:48:38 +00:00
|
|
|
/* A simple 3d cartesian point */
|
|
|
|
typedef struct {
|
1997-12-15 21:02:15 +00:00
|
|
|
double x, y, z;
|
1998-05-02 01:48:38 +00:00
|
|
|
} fgCartesianPoint3d;
|
|
|
|
|
|
|
|
|
|
|
|
/* A simple 3d polar point */
|
|
|
|
typedef struct {
|
|
|
|
double lon, lat, radius;
|
|
|
|
} fgPolarPoint3d;
|
1997-12-15 21:02:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* A simple geodetic point */
|
1998-05-02 01:48:38 +00:00
|
|
|
typedef struct {
|
1997-12-15 21:02:15 +00:00
|
|
|
double lon, lat, elev;
|
1998-05-02 01:48:38 +00:00
|
|
|
} fgGeodeticPoint3d;
|
1997-12-15 21:02:15 +00:00
|
|
|
|
|
|
|
|
1998-04-08 23:35:31 +00:00
|
|
|
#endif /* _FG_TYPES_H */
|
1997-12-15 21:02:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* $Log$
|
1998-05-02 01:48:38 +00:00
|
|
|
/* Revision 1.3 1998/05/02 01:48:39 curt
|
|
|
|
/* typedef-ified fgCartesianPoint3d
|
1997-12-15 21:02:15 +00:00
|
|
|
/*
|
1998-05-02 01:48:38 +00:00
|
|
|
* Revision 1.2 1998/04/08 23:35:33 curt
|
|
|
|
* Tweaks to Gnu automake/autoconf system.
|
|
|
|
*
|
1998-04-08 23:35:31 +00:00
|
|
|
* Revision 1.1 1998/01/27 00:46:51 curt
|
|
|
|
* prepended "fg_" on the front of these to avoid potential conflicts with
|
|
|
|
* system include files.
|
|
|
|
*
|
1998-01-27 00:46:50 +00:00
|
|
|
* Revision 1.2 1998/01/22 02:59:36 curt
|
|
|
|
* Changed #ifdef FILE_H to #ifdef _FILE_H
|
|
|
|
*
|
1998-01-22 02:59:35 +00:00
|
|
|
* Revision 1.1 1997/12/15 21:02:17 curt
|
|
|
|
* Moved to .../FlightGear/Src/Include/
|
|
|
|
*
|
1997-12-15 21:02:15 +00:00
|
|
|
* Revision 1.2 1997/07/23 21:52:12 curt
|
|
|
|
* Put comments around the text after an #endif for increased portability.
|
|
|
|
*
|
|
|
|
* Revision 1.1 1997/07/07 21:03:30 curt
|
|
|
|
* Initial revision.
|
|
|
|
*
|
|
|
|
*/
|