KPG1_ASDSV

Finds the distances between a set of points

Description:

This routine returns the distance to each point in a set of points, from the first point, measured along the path joining the points. Geodesic distances within the supplied Frame are used.

Invocation

CALL KPG1_ASDSV( FRM, NP, NAX, POS, NORM, DIS, BAD, STATUS )

Arguments

FRM = INTEGER (Given)
An AST pointer to the Frame.
NP = INTEGER (Given)
The size of the first dimension of the POS array.
NAX = INTEGER (Given)
The number of axes in the Frame.
POS( NP, NAX ) = DOUBLE PRECISION (Given)
An array holding the co-ordinates at NP positions within the supplied Frame.
NORM = LOGICAL (Given)
If .TRUE., the returned distances are normalised to a maximum value of 1.0.
DIS( NP ) = DOUBLE PRECISION (Returned)
The distance along the path to each position, starting at the first position.
BAD = LOGICAL (Returned)
Are there any AST__BAD values in the returned array?
STATUS = INTEGER (Given)
Global status value.