next up previous
Next: ProjP(i) - FITS-WCS projection parameters
Up: AST Attribute Descriptions
Previous: Permute - Permute axis order?

PreserveAxes - Preserve axes?   

Description:
This attribute controls how a Frame behaves when it is used (by astFindFrame) as a template to match another (target) Frame. It determines which axes appear (and in what order) in the "result" Frame produced.

If PreserveAxes is zero in the template Frame, then the result Frame will have the same number (and order) of axes as the template. If it is non-zero, however, the axes of the target Frame will be preserved, so that the result Frame will have the same number (and order) of axes as the target.

The default value is zero, so that target axes are not preserved and the result Frame resembles the template.

Type:
Integer (boolean).

Class Applicability:
Frame
All Frames have this attribute.
FrameSet
The PreserveAxes attribute of a FrameSet is the same as that of its current Frame (as specified by the Current attribute).



next up previous
Next: ProjP(i) - FITS-WCS projection parameters
Up: AST Attribute Descriptions
Previous: Permute - Permute axis order?

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