AST_POINTINREGION

Tests if a single point is inside a Region

Description:

This routine returns a logical value indicating if a supplied point is inside a supplied Region.

Invocation

RESULT = AST_POINTINREGION( THIS, POINT, STATUS )

Arguments

THIS = INTEGER (Given)
Pointer to the Region.
POINT( ) = DOUBLE PRECISION (Given)
An array holding the axis values of the point to be tested. The number of values in this array should match the number of axes in the supplied Region.
STATUS = INTEGER (Given and Returned)
The global status.

Returned Value

AST_POINTINREGION = LOGICAL
.FALSE. if the point is outside the Region, and .TRUE. otherwise.

Notes: