astPointInRegion

Tests if a single point is inside a Region

Description:

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

Synopsis

int astPointInRegion( AstRegion this, const double point[] )

Parameters:

this
Pointer to the Region.
point
Pointer to 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.

Returned Value

astPointInRegion()
Zero if the point is outside the Region, and non-zero otherwise.

Notes: