- ←Prev
- AST
A Library for Handling
World Coordinate Systems
in Astronomy - Next→
- TOC ↑
Description:
This function
returns .TRUE. if the
Moc includes the specified cell.
Invocation
RESULT = AST_TESTCELL( THIS,
ORDER, NPIX, PARENT, STATUS )
Arguments
THIS = INTEGER (Given)
Pointer to the Moc to be
modified.
ORDER = INTEGER (Given)
The HEALPix order of the cell to test. .FALSE. is returned if this
is higher than the maximum order allowed in the Moc (as given by its
MaxOrder attribute).
NPIX =
INTEGER8
(Given)
The "
npix"
value identifying the cell to test (see the MOC recommendation for more
details).
PARENT = LOGICAL (Given)
Indicates the value to return if the tested cell is not included
at the specified order, but a parent cell (at a lower order) is included.
STATUS = INTEGER (Given
and Returned)
The global status.
Returned Value
AST_TESTCELL = LOGICAL
.TRUE. if the
specified cell is included in the Moc at the specified order, of (if PARENT is non-zero) a parent cell is
included in the Moc. .FALSE. otherwise.
Copyright (C) 2021 East Asian Observatory
- ←Prev
- AST
A Library for Handling
World Coordinate
Systems
in Astronomy - Next→
- TOC ↑