The center
Get the bounding box of the Shape3D
Get the bounding box of the Shape3D
bounding box (Cuboid) of the Shape3D
Methods to determine whether the Shape3D is contained in another Shape3D.
Methods to determine whether the Shape3D is contained in another Shape3D. Implement different ways for different shapes (Point, Shell, Box available).
: (Shape3D) An instance of Shape3D (or extension)
(Boolean) true if the two objects intersect.
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
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.
Generic methods for 3D shapes