The center
Get the bounding box of the Sphere
Volume of a Sphere.
Return if the input Point3D is equal this Point3D
Return if the input Point3D is equal this Point3D
Point3D for which the comparison has to be done
true if the two Point3D centers are within epsilon
Methods to determine whether two shapes overlap.
: (Double) Radius of the Sphere
Compute the healpix index of the geometry center.
Compute the healpix index of the geometry center. By default, the method considers that this.y = ra, this.z = dec. You can also bypass that, and force this.y = theta, this.z = phi by setting thetaphi = true. We only consider the RING scheme for the moment.
: (Int) Resolution of the healpix map.
: (Boolean) Convention for your data: this.y = ra, this.z = dec if false, this.y = theta, this.z = phi otherwise. Default is false.
(Long) Healpix index of the point for the resolution chosen.
: (Double) X coordinate of the center
: (Double) Y coordinate of the center
: (Double) Z coordinate of the center
Class to handle a Sphere