THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/12/2005 at 08:06, xxxxxxxx wrote:
Cinema 4D Version: 9.1
Platform: Windows ; Mac ;
Language(s) : C++ ;
I would like to use the float customgui Longitude/Latitude that is also used in the sun expression. Ok, I know how to add it to my description resources but I cannot find information on how to retrieve the certain data.
So my question is how this is done?
On 16/12/2005 at 07:01, xxxxxxxx wrote:
On 17/12/2005 at 10:26, xxxxxxxx wrote:
What data do you want to retrieve? Isn't it just an interface for float, so that everything is stored as a float? (Except for whether to use N/S or E/W for +/-, that's controlled by the LONGITUDE flag (or LONG_LAT_LONGITUDE).
To convert between float and degrees/minutes/seconds, all you need to know is that there are 60 seconds to a minute, 60 minutes to a degree and 360 degrees to 2*pi radians, which is what's stored in the float.
On 17/12/2005 at 10:31, xxxxxxxx wrote:
Ah ok (haven´t thought of it being a customgui only..doh!), I thought there would be special functions to retrieve all that information independantly.
But how do I set these information to the customgui?