next up previous 264
Next: Using a Frame as a Mapping
Up: Representing Coordinate Systems (Frames)
Previous: The Frame Model


Creating a Frame

Creating a Frame is straightforward and follows the usual pattern:

      INCLUDE 'AST_PAR'
      INTEGER FRAME, STATUS

      STATUS = 0

      ...

      FRAME = AST_FRAME( 2, ' ', STATUS )

The first argument of the AST_FRAME constructor function specifies the number of axes which the Frame should have.


next up previous 264
Next: Using a Frame as a Mapping
Up: Representing Coordinate Systems (Frames)
Previous: The Frame Model

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

Copyright (C) 2009 Science \& Technology Facilities Council