: (Double) Input X coordinate in Euclidean space, and R in spherical space.
: (Double) Input Y coordinate in Euclidean space, and THETA in spherical space.
: (Double) Input Z coordinate in Euclidean space, and PHI in spherical space.
: (Boolean) If true, it assumes that the coordinates of the Point3D are (r, theta, phi). Otherwise, it assumes cartesian coordinates (x, y, z).
The center
Returns the distance between the point and another.
Returns the distance between the point and another. The two points must have the same coordinate system. Space is supposed flat (euclidean).
: (Point3D) Another instance of Point3D
(Double) Distance between the two points.
Return the coordinates (x, y, z) of the point.
Return the coordinates (x, y, z) of the point.
(List[Double]) The list of coordinates.
Get bounding box of this Point3D which will also be a Point3D.
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 the Point3D is contained in another shape.
Return if the input Point3D is equal this Point3D
Return if the input Point3D is equal this Point3D
(Point3D) Point3D for which the equality is to be checked
(Boolean) true if the two Point3Ds are equal
: (Boolean) If true, it assumes that the coordinates of the Point3D are (r, theta, phi).
: (Boolean) If true, it assumes that the coordinates of the Point3D are (r, theta, phi). Otherwise, it assumes cartesian coordinates (x, y, z).
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) Input X coordinate in Euclidean space, and R in spherical space.
: (Double) Input Y coordinate in Euclidean space, and THETA in spherical space.
: (Double) Input Z coordinate in Euclidean space, and PHI in spherical space.
Class for describing a point in 3D space. By default, the input coordinates are supposed euclidean, that is (x, y, z). The user can also work with spherical input coordinates (x=r, y=theta, z=phi) by setting the argument isSpherical=true.