Re: [Stellarium-pubdevel] RA/DEC and ALT/AZ information in Vec3f classes

2016-05-13 Thread André Moutinho
Hi, Thank you! Have found them Andre Hi! 2016-05-13 8:27 GMT+07:00 André Moutinho : Hello all, I have noticed the transformation function “project” uses vector Vec3f classes as input and output parameters. How is the RA/DEC and ALT/AZ information stored in such classes? And the x,y posit

Re: [Stellarium-pubdevel] RA/DEC and ALT/AZ information in Vec3f classes

2016-05-13 Thread Georg Zotti
They should usually be unit vectors in the sphere. (Sometimes I think the length is <>1, but conceptually it should be 1. Use normalize() in doubt.) When used as screen coordinates, it's x/y directly (I think), or viewport-related. But this is a different transformation and should be documente

Re: [Stellarium-pubdevel] RA/DEC and ALT/AZ information in Vec3f classes

2016-05-12 Thread Alexander Wolf
Hi! 2016-05-13 8:27 GMT+07:00 André Moutinho : > Hello all, > > I have noticed the transformation function “project” uses vector Vec3f > classes as input and output parameters. > > How is the RA/DEC and ALT/AZ information stored in such classes? And the > x,y position in screen? > Please see Ste