lsst.sphgeom
22.0.1-5-g1e25446+dfc68d4d09
|
AngleInterval
represents closed intervals of arbitrary angles.
More...
#include <AngleInterval.h>
Public Member Functions | |
AngleInterval (Angle x) | |
AngleInterval (Angle x, Angle y) | |
AngleInterval (Base const &base) | |
![]() | |
Interval () | |
This constructor creates an empty interval. | |
Interval (Angle x) | |
This constructor creates a closed interval containing only x. | |
Interval (Angle x, Angle y) | |
This constructor creates an interval from the given endpoints. | |
bool | operator== (Interval const &i) const |
bool | operator== (Angle x) const |
A closed interval is equal to a point x if both endpoints equal x. | |
bool | operator!= (Interval const &i) const |
bool | operator!= (Angle x) const |
Angle | getA () const |
Angle | getB () const |
bool | isEmpty () const |
isEmpty returns true if this interval does not contain any points. | |
Angle | getCenter () const |
Angle | getSize () const |
Interval & | dilateBy (Angle x) |
Interval & | erodeBy (Angle x) |
AngleInterval | dilatedBy (Angle x) const |
AngleInterval | erodedBy (Angle x) const |
bool | contains (Angle x) const |
bool | contains (Interval const &x) const |
bool | isDisjointFrom (Angle x) const |
bool | isDisjointFrom (Interval const &x) const |
bool | intersects (Angle x) const |
bool | intersects (Interval const &x) const |
bool | isWithin (Angle x) const |
bool | isWithin (Interval const &x) const |
Relationship | relate (Angle x) const |
Relationship | relate (Interval const &x) const |
Interval & | clipTo (Angle x) |
Interval & | clipTo (Interval const &x) |
AngleInterval | clippedTo (Angle x) const |
AngleInterval | clippedTo (Interval const &x) const |
Interval & | expandTo (Angle x) |
Interval & | expandTo (Interval const &x) |
AngleInterval | expandedTo (Angle x) const |
AngleInterval | expandedTo (Interval const &x) const |
Static Public Member Functions | |
static AngleInterval | fromDegrees (double x, double y) |
static AngleInterval | fromRadians (double x, double y) |
static AngleInterval | empty () |
static AngleInterval | full () |
AngleInterval
represents closed intervals of arbitrary angles.