lsst.sphgeom
21.0.0+4fcf437b75
|
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_
virtual uint64_t index(UnitVector3d const &v) const =0
index computes the index of the pixel for v.
Definition: Pixelization.h:77
RangeSet interior(Region const &r, size_t maxRanges=0) const
Definition: Pixelization.h:143
Definition: RangeSet.h:99
This file provides a type for representing integer sets.
virtual RangeSet universe() const =0
universe returns the set of all pixel indexes for this pixelization.
virtual std::unique_ptr< Region > pixel(uint64_t i) const =0
Definition: UnitVector3d.h:55
virtual std::string toString(uint64_t i) const =0
toString converts the given pixel index to a human-readable string.
RangeSet envelope(Region const &r, size_t maxRanges=0) const
Definition: Pixelization.h:131