AST_CMPMAP

Create a CmpMap

Description:

This function creates a new CmpMap and optionally initialises its attributes.

A CmpMap is a compound Mapping which allows two component Mappings (of any class) to be connected together to form a more complex Mapping. This connection may either be " in series" (where the first Mapping is used to transform the coordinates of each point and the second mapping is then applied to the result), or " in parallel" (where one Mapping transforms the earlier coordinates for each point and the second Mapping simultaneously transforms the later coordinates).

Since a CmpMap is itself a Mapping, it can be used as a component in forming further CmpMaps. Mappings of arbitrary complexity may be built from simple individual Mappings in this way.

Invocation

RESULT = AST_CMPMAP( MAP1, MAP2, SERIES, OPTIONS, STATUS )

Arguments

MAP1 = INTEGER (Given)
Pointer to the first component Mapping.
MAP2 = INTEGER (Given)
Pointer to the second component Mapping.
SERIES = LOGICAL (Given)
If a .TRUE. value is given for this argument, the two component Mappings will be connected in series. A .FALSE. value requests that they are connected in parallel.
OPTIONS = CHARACTER ( ) (Given)
A character string containing an optional comma-separated list of attribute assignments to be used for initialising the new CmpMap. The syntax used is identical to that for the AST_SET routine.
STATUS = INTEGER (Given and Returned)
The global status.

Returned Value

AST_CMPMAP = INTEGER
A pointer to the new CmpMap.

Notes: