next up previous
Next: astPermMap - Create a PermMap
Up: AST Function Descriptions
Previous: astPcdMap - Create a PcdMap

astPermAxes - Permute the axis order in a Frame   

Description:
This function permutes the order in which a Frame's axes occur.
Synopsis:
void astPermAxes( AstFrame *this, const int perm[] )

Parameters:
this
Pointer to the Frame.
perm
An array with one element for each axis of the Frame (Naxes attribute). This should list the axes in their new order, using the original axis numbering (which starts at 1 for the first axis).

Notes:
  • Only genuine permutations of the axis order are permitted, so each axis must be referenced exactly once in the "perm" array.
  • If successive axis permutations are applied to a Frame, then the effects are cumulative.



next up previous
Next: astPermMap - Create a PermMap
Up: AST Function Descriptions
Previous: astPcdMap - Create a PcdMap

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