|
lsst.sphgeom
17.0+12
|
#include <Interval1d.h>
Public Member Functions | |
| Interval1d (double x) | |
| Interval1d (double x, double y) | |
| Interval1d (Base const &base) | |
| bool | isFull () const |
isFull returns true if this interval = ℝ. | |
Public Member Functions inherited from lsst::sphgeom::Interval< Interval1d, double > | |
| Interval () | |
| This constructor creates an empty interval. | |
| Interval (double x) | |
| This constructor creates a closed interval containing only x. | |
| Interval (double x, double y) | |
| This constructor creates an interval from the given endpoints. | |
| bool | operator== (Interval const &i) const |
| bool | operator== (double x) const |
| A closed interval is equal to a point x if both endpoints equal x. | |
| bool | operator!= (Interval const &i) const |
| bool | operator!= (double x) const |
| double | getA () const |
| double | getB () const |
| bool | isEmpty () const |
isEmpty returns true if this interval does not contain any points. | |
| double | getCenter () const |
| double | getSize () const |
| Interval & | dilateBy (double x) |
| Interval & | erodeBy (double x) |
| Interval1d | dilatedBy (double x) const |
| Interval1d | erodedBy (double x) const |
| bool | contains (double x) const |
| bool | contains (Interval const &x) const |
| bool | isDisjointFrom (double x) const |
| bool | isDisjointFrom (Interval const &x) const |
| bool | intersects (double x) const |
| bool | intersects (Interval const &x) const |
| bool | isWithin (double x) const |
| bool | isWithin (Interval const &x) const |
| Relationship | relate (double x) const |
| Relationship | relate (Interval const &x) const |
| Interval & | clipTo (double x) |
| Interval & | clipTo (Interval const &x) |
| Interval1d | clippedTo (double x) const |
| Interval1d | clippedTo (Interval const &x) const |
| Interval & | expandTo (double x) |
| Interval & | expandTo (Interval const &x) |
| Interval1d | expandedTo (double x) const |
| Interval1d | expandedTo (Interval const &x) const |
Static Public Member Functions | |
| static Interval1d | empty () |
| static Interval1d | full () |
Interval1d represents closed intervals of ℝ. It can represent both empty and full intervals, as well as single points.
1.8.13