astGetMapping

Obtain a Mapping that converts between two Frames in a FrameSet

Description:

This function returns a pointer to a Mapping that will convert coordinates between the coordinate systems represented by two Frames in a FrameSet.

Synopsis

AstMapping astGetMapping( AstFrameSet this, int iframe1, int iframe2 )

Parameters:

this
Pointer to the FrameSet.
iframe1
The index of the first Frame in the FrameSet. This Frame describes the coordinate system for the " input" end of the Mapping.
iframe2
The index of the second Frame in the FrameSet. This Frame describes the coordinate system for the " output" end of the Mapping.

Returned Value

astGetMapping()
Pointer to a Mapping whose forward transformation converts coordinates from the first coordinate system to the second one, and whose inverse transformation converts coordinates in the opposite direction.

Notes: