astFormat

Format a coordinate value for a Frame axis

Description:

This function returns a pointer to a string containing the formatted (character) version of a coordinate value for a Frame axis. The formatting applied is determined by the Frame s attributes and, in particular, by any Format attribute string that has been set for the axis. A suitable default format (based on the Digits attribute value) will be applied if necessary.

Synopsis

const char astFormat( AstFrame this, int axis, double value )

Parameters:

this
Pointer to the Frame.
axis
The number of the Frame axis for which formatting is to be performed (axis numbering starts at 1 for the first axis).
value
The coordinate value to be formatted.

Returned Value

astFormat()
A pointer to a null-terminated string containing the formatted value.

Notes: