23 #ifndef LSST_SPHGEOM_REGION_H_ 24 #define LSST_SPHGEOM_REGION_H_ 139 #endif // LSST_SPHGEOM_REGION_H_
virtual Box3d getBoundingBox3d() const =0
getBoundingBox3d returns a 3-dimensional bounding-box for this region.
Box represents a rectangle in spherical coordinate space that contains its boundary.
virtual Box getBoundingBox() const =0
getBoundingBox returns a bounding-box for this region.
Ellipse is an elliptical region on the sphere.
A base class for image defects.
Region is a minimal interface for 2-dimensional regions on the unit sphere.
static std::unique_ptr< Region > decode(std::vector< uint8_t > const &s)
virtual Relationship relate(Region const &) const =0
Circle is a circular region on the unit sphere that contains its boundary.
ConvexPolygon is a closed convex polygon on the unit sphere.
virtual bool contains(UnitVector3d const &) const =0
contains tests whether the given unit vector is inside this region.
This file provides a type alias for describing set relationships.
virtual Circle getBoundingCircle() const =0
getBoundingCircle returns a bounding-circle for this region.
Box3d represents a box in ℝ³.
UnitVector3d is a unit vector in ℝ³ with components stored in double precision.
virtual std::unique_ptr< Region > clone() const =0
clone returns a deep copy of this region.
virtual std::vector< uint8_t > encode() const =0
encode serializes this region into an opaque byte string.