lsst.sphgeom
19.0.0-4-g8557e14
|
Go to the documentation of this file.
23 #ifndef LSST_SPHGEOM_PIXELIZATION_H_
24 #define LSST_SPHGEOM_PIXELIZATION_H_
94 virtual std::unique_ptr<Region>
pixel(uint64_t i)
const = 0;
100 virtual std::string
toString(uint64_t i)
const = 0;
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_
Definition: Pixelization.h:77
virtual std::unique_ptr< Region > pixel(uint64_t i) const =0
virtual std::string toString(uint64_t i) const =0
toString converts the given pixel index to a human-readable string.
Definition: UnitVector3d.h:55
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
Definition: Pixelization.h:131
RangeSet interior(Region const &r, size_t maxRanges=0) const
Definition: Pixelization.h:143
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.
Definition: RangeSet.h:99