public final class HealpixNestedFixedRadiusCone4XMatch
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
double |
getRadius()
Returns the radius of the cones, in radians.
|
int |
getResultDepth() |
HealpixNestedFixedRadiusCone4XMatch |
newComputer()
To obtain new instances in case we want to use multi-threading,
since an object is possibly not thread-safe.
|
int |
overlappingCells(double coneCenterLonRad,
double coneCenterLatRad,
long[] result)
Fill the given array with the cells overallping the cone of given center
(may include false positive).
|
public double getRadius()
public int getResultDepth()
public int overlappingCells(double coneCenterLonRad, double coneCenterLatRad, long[] result)
coneCenterLonRad
- longitude of the center of the cone, in radiansconeCenterLatRad
- latitude of the center of the cone, in radiansresult
- an array of size al least 9 that will store overlapping cell from index 0,
the content of the array is NOT sorted.public HealpixNestedFixedRadiusCone4XMatch newComputer()
this
.Copyright © 2018 F.-X. Pineau, CDS, Observatoire Astronomique de Strasbourg, Universite de Strasbourg, CNRS. All Rights Reserved.