next up previous
Next: Direction(axis) - Display axis in conventional direction?
Up: AST Attribute Descriptions
Previous: DefB1950 - Use FK4 B1950 as defaults?

Digits/Digits(axis) - Number of digits of precision   

Description:
This attribute specifies how many digits of precision are required by default when a coordinate value is formatted for a Frame axis (e.g. using astFormat). Its value may be set either for a Frame as a whole, or (by subscripting the attribute name with the number of an axis) for each axis individually. Any value set for an individual axis will over-ride the value for the Frame as a whole.

Note that the Digits value acts only as a means of determining a default Format string. Its effects are over-ridden if a Format string is set explicitly for an axis.

Type:
Integer.

Class Applicability:
Frame
The default Digits value supplied by the Frame class is 7. If a value less than 1 is supplied, then 1 is used instead.
FrameSet
The Digits attribute of a FrameSet (or one of its axes) is the same as that of its current Frame (as specified by the Current attribute).



next up previous
Next: Direction(axis) - Display axis in conventional direction?
Up: AST Attribute Descriptions
Previous: DefB1950 - Use FK4 B1950 as defaults?

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
30th April 2003
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2003 Central Laboratory of the Research Councils