- ←Prev
- AST
A Library for Handling
World Coordinate Systems
in Astronomy - Next→
- TOC ↑
Description:
This function applies a
Mapping to transform the coordinates of a set
of points in two dimensions.
Synopsis
void astTran2( AstMapping
this,
int npoint, const double xin[], const double yin[], int forward, double xout[], double
yout[] )
Parameters:
this
Pointer to the Mapping to be applied.
npoint
The
number of points to be transformed.
xin
An array of "
npoint"
X-coordinate values
for the input (untransformed) points.
yin
An array of "
npoint"
Y-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 X-coordinates of the output (transformed)
points will be written.
yout
An array (with "
npoint"
elements) into which the
Y-coordinates of the output (transformed) points will be written.
Notes:
Copyright (C) 2017 East Asian Observatory
- ←Prev
- AST
A Library for Handling
World
Coordinate Systems
in Astronomy - Next→
- TOC ↑