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.h"
astFrame *frame;

...

frame = astFrame( 2, "" );

The first argument of the astFrame 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 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council