Re: Database Units

New Message Reply Date view Thread view Subject view Author view

Paul Sherman (psherman++at++pobox.alaska.net)
Tue, 14 Dec 1999 23:03:21 +0000


Anthony,

I am not an open flight expert, and this may not be the easiest way, but I
believe that you can put the units in a comment field in the .flt file and then
parse the file when you load it for comments. I have seen something similar
done, and I don't believe it was too hard. Unfortunately, I do not have code.

    Paul Sherman
    psherman++at++pobox.alaska.net

Anthony Bavuso wrote:

> Greetings,
>
> Question about open flight data base physical units. When I create my open
> flight database in creator, I specify the physical units for the database
> i.e. feet, meters, kilometers, etc. Is there anyway from the performer API
> at runtime to get the type of physical units specified for the database?
>
> I ask because there are problems if I load a database whose units are in
> meters but I do all my motion calculations in feet. Unfortunately I need to
> know the database unit type at runtime because sometimes I won't know what
> the physical database units are beforehand.
>
> Is there a way to do what I am trying to do?


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Dec 14 1999 - 15:00:43 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.