LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
23 #ifndef LSST_SPHGEOM_PIXELIZATION_H_
24 #define LSST_SPHGEOM_PIXELIZATION_H_
132 return _envelope(r, maxRanges);
144 return _interior(r, maxRanges);
148 virtual RangeSet _envelope(
Region const & r,
size_t maxRanges)
const = 0;
149 virtual RangeSet _interior(
Region const & r,
size_t maxRanges)
const = 0;
154 #endif // LSST_SPHGEOM_PIXELIZATION_H_
A Pixelization (or partitioning) of the sphere is a mapping between points on the sphere and a set of...
Region is a minimal interface for 2-dimensional regions on the unit sphere.
virtual std::unique_ptr< Region > pixel(uint64_t i) const =0
pixel returns the spherical region corresponding to the pixel with index i.
virtual std::string toString(uint64_t i) const =0
toString converts the given pixel index to a human-readable string.
UnitVector3d is a unit vector in ℝ³ with components stored in double precision.
virtual RangeSet universe() const =0
universe returns the set of all pixel indexes for this pixelization.
RangeSet envelope(Region const &r, size_t maxRanges=0) const
envelope returns the indexes of the pixels intersecting the spherical region r.
A base class for image defects.
RangeSet interior(Region const &r, size_t maxRanges=0) const
interior returns the indexes of the pixels within the spherical region r.
This file provides a type for representing integer sets.
virtual uint64_t index(UnitVector3d const &v) const =0
index computes the index of the pixel for v.
A RangeSet is a set of unsigned 64 bit integers.