Clones the existing shell Envelope
Clones the existing shell Envelope
shell Envelope to be cloned
Creates a shell Envelope defined with a center coordinates, and a radius.
Creates a shell Envelope defined with a center coordinates, and a radius. This would correspond to a Sphere basically.
inner radius of the Envelope
Creates a shell Envelope defined with a center coordinates, and a radius.
Creates a shell Envelope defined with a center coordinates, and a radius. This would correspond to a Sphere basically.
x-coordinate of the center of the sphere Envelope
y-coordinate of the center of the sphere Envelope
z-coordinate of the center of the sphere Envelope
inner radius of the Envelope
Creates a shell Envelope defined with a center coordinates, inner and outer radius.
Creates a shell Envelope defined with a center coordinates, inner and outer radius.
x-coordinate of the center of the sphere Envelope
y-coordinate of the center of the sphere Envelope
z-coordinate of the center of the sphere Envelope
inner radius of the Envelope
outer radius of the Envelope
Creates a null shell Envelope.
coordinates of the center of the shell Envelope
inner radius of the shell Envelope
outer radius of the shell Envelope
coordinates of the center of the shell Envelope
coordinates of the center of the shell Envelope
Checks if the region of the input shell Envelope is contained by this shell Envelope
Checks if the region of the input shell Envelope is contained by this shell Envelope
the shell Envelope for which the containment is to be checked
true if the shell Envelope completely contains the input shell Envelope
Expand shell Envelope by given distance.
Expand shell Envelope by given distance. This will increase both inner and outer radius by input distance.
the distance to expand the shell Envelope
Expand the inner radius of the shell by given distance.
Expand the inner radius of the shell by given distance. If inner radius becomes greater than the outer radius after this we set the shell Envelope to null
the distance to expand the inner radius of the shell Envelope by
Expand the outer radius of the shell by given distance.
Expand the outer radius of the shell by given distance.
the distance to expand the outer radius of the shell Envelope by
Expands the shell Envelope so that it includes the other shell Envelope.
Expands the shell Envelope so that it includes the other shell Envelope. The Envelopes have to be concentric. Either inner or outer or both radii will be expanded based on following criteria -
Expand inner radius-
Expand outer radius-
the shell Envelope to be included
Expands the shell Envelope so that it contains the given Point.
Expands the shell Envelope so that it contains the given Point. This will expand the only the inner or outer radius based on which side of the shell the point belongs. The point is considered to be in the shell if its distance to center is greater than or equal to the innerRadius and less than the outerRadius (while doing OnionPartitioning similar convention is followed). So if we are expanding the outer radius, a small buffer of 0.1 is added to ensure that point lies inside of the sphere defined by the outerRadius and not onto it. Expansion here can be both positive and negative.
the Point to expand to include
Returns the area of the shell Envelope.
Returns the area of the shell Envelope.
the area of the shell envelope, 0.0 if it is null
Get the bounding box of the Sphere
Get the bounding box of the Sphere
bounding box (Cuboid) of the 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
inner radius of the shell Envelope
Checks if the region of the input shell Envelope intersects the region of this shell Envelope.
Checks if the region of the input shell Envelope intersects the region of this shell Envelope. The case where one shell Envelope lies completely within the another shell Envelope is considered as non-intersecting.
the shell Envelope with which the intersection is being checked
true if the one shell Envelope intersects the other
Checks if the two shell Envelopes are equal.
Checks if the two shell Envelopes are equal.
input sphere Envelope for which the equality is to be checked
true if the two sphere Envelopes are equal
Returns if this is a null shell envelope.
Returns if this is a null shell envelope.
if this shell Envelope is null (empty Geometry) or not
Check whether a point belong to a shell Envelope.
Check whether a point belong to a shell Envelope. If a point lies on the sphere defined by inner radius (not outer radius), it is considered to be belonging to the shell for the consistency with the onion partitioning code.
the point for which the containment is to be checked
true if the shell Envelope contains the point
outer radius of the shell Envelope
Sets this shell Envelope to a null.
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.
Defines a shell of 3D coordinate space. Shell here is made by a difference of of two two concentric spheres. This can be used to define a bounding box of a geometryObject
An Shell Envelope can be uniquely defined based on the center and its outer and inner radius.