Re: Position Heading Questions?

Doug Turner:
> The |orientation| attribute denotes the direction of the hosting device 
> is facing and is specified in degrees counting clockwise relative to the 
> true north. If the implementation cannot provide heading information, the 
> value of this attribute must be null.

It’s probably not a good idea to have an attribute that is either a
float or null.  You could do it, by using the ‘any’ type in the IDL, but
this isn’t common.  What about using NaN (and/or having a separate
orientationAvailable attribute)?

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Wednesday, 19 November 2008 23:27:43 UTC