query_triangle
call query_triangle( nside, v1, v2, v3, listpix, nlist [, nest, inclusive] )
name&dimensionality | kind | in/out | description |
---|---|---|---|
nside | I4B | IN | the
![]() |
v1(3) | DP | IN | cartesian vector pointing at the triangle first vertex. |
v2(3) | DP | IN | cartesian vector pointing at the triangle second vertex. |
v3(3) | DP | IN | cartesian vector pointing at the triangle third vertex. |
listpix(0:*) | I4B/ I8B | OUT | the index for all pixels enclosed in the triangle. Make sure that the size of the array is big enough to contain all pixels. |
nlist | I4B/ I8B | OUT | The number of pixels listed in listpix. |
nest (OPTIONAL) | I4B | IN | The pixel indices are in the NESTED numbering scheme if nest=1, and in RING scheme otherwise. |
inclusive (OPTIONAL) | I4B | IN | If set to 1, all the pixels overlapping (even partially) with the triangle are listed, otherwise only those whose center lies within the triangle are listed. |
Returns the RING pixel index of the (98560) pixels in the octant (x,y,z>0) in amap.
Version 3.11, 2013-04-24