Next: astTran2 - Transform 2-dimensional coordinates
Up: AST Function Descriptions
Previous: astText - Draw a text string for a Plot
- Description:
This function applies a Mapping to transform the coordinates of
a set of points in one dimension.
- Synopsis:
void astTran1( AstMapping *this, int npoint, const double xin[],
int forward, double xout[] )
- Parameters:
-
this
-
Pointer to the Mapping to be applied.
-
npoint
-
The number of points to be transformed.
-
xin
-
An array of "npoint" coordinate values for the input
(untransformed) points.
-
forward
-
A non-zero value indicates that the Mapping's forward
coordinate transformation is to be applied, while a zero
value indicates that the inverse transformation should be
used.
-
xout
-
An array (with "npoint" elements) into which the
coordinates of the output (transformed) points will be written.
- Notes:
-
The Mapping supplied must have the value 1 for both its Nin
and Nout attributes.
Next: astTran2 - Transform 2-dimensional coordinates
Up: AST Function Descriptions
Previous: astText - Draw a text string for a Plot
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