|
LSST Applications g00d0e8bbd7+edbf708997,g03191d30f7+9ce8016dbd,g1955dfad08+0bd186d245,g199a45376c+5137f08352,g1fd858c14a+a888a50aa2,g262e1987ae+45f9aba685,g29ae962dfc+1c7d47a24f,g2cef7863aa+73c82f25e4,g35bb328faa+edbf708997,g3fd5ace14f+eed17d2c67,g47891489e3+6dc8069a4c,g53246c7159+edbf708997,g64539dfbff+c4107e45b5,g67b6fd64d1+6dc8069a4c,g74acd417e5+f452e9c21a,g786e29fd12+af89c03590,g7ae74a0b1c+a25e60b391,g7aefaa3e3d+2025e9ce17,g7cc15d900a+2d158402f9,g87389fa792+a4172ec7da,g89139ef638+6dc8069a4c,g8d4809ba88+c4107e45b5,g8d7436a09f+e96c132b44,g8ea07a8fe4+db21c37724,g98df359435+aae6d409c1,ga2180abaac+edbf708997,gac66b60396+966efe6077,gb632fb1845+88945a90f8,gbaa8f7a6c5+38b34f4976,gbf99507273+edbf708997,gca7fc764a6+6dc8069a4c,gd7ef33dd92+6dc8069a4c,gda68eeecaf+7d1e613a8d,gdab6d2f7ff+f452e9c21a,gdbb4c4dda9+c4107e45b5,ge410e46f29+6dc8069a4c,ge41e95a9f2+c4107e45b5,geaed405ab2+e194be0d2b,w.2025.47
LSST Data Management Base Package
|
Interval1d represents closed intervals of ℝ.
More...
#include <Interval1d.h>
Public Member Functions | |
| Interval1d () | |
| Interval1d (double x) | |
| Interval1d (double x, double y) | |
| Interval1d (Base const &base) | |
| bool | isFull () const |
isFull returns true if this interval = ℝ. | |
| bool | operator== (Interval const &i) const |
| Two closed intervals are equal if their endpoints are the same, or both are empty. | |
| 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 |
| Two closed intervals are equal if their endpoints are the same, or both are empty. | |
| 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 |
| bool | operator!= (Interval const &i) const |
| bool | operator!= (double x) const |
| double | getA () const |
getA returns the lower endpoint of this interval. | |
| double | getA () const |
getA returns the lower endpoint of this interval. | |
| double | getB () const |
getB returns the upper endpoint of this interval. | |
| double | getB () const |
getB returns the upper endpoint of this interval. | |
| bool | isEmpty () const |
isEmpty returns true if this interval does not contain any points. | |
| bool | isEmpty () const |
isEmpty returns true if this interval does not contain any points. | |
| double | getCenter () const |
getCenter returns the center of this interval. | |
| double | getCenter () const |
getCenter returns the center of this interval. | |
| double | getSize () const |
getSize returns the size (length, width) of this interval. | |
| double | getSize () const |
getSize returns the size (length, width) of this interval. | |
| Interval & | dilateBy (double x) |
For positive x, dilateBy morphologically dilates this interval by [-x,x], which is equivalent to the taking the Minkowski sum with [-x,x]. | |
| Interval & | dilateBy (double x) |
For positive x, dilateBy morphologically dilates this interval by [-x,x], which is equivalent to the taking the Minkowski sum with [-x,x]. | |
| Interval & | erodeBy (double x) |
| Interval & | erodeBy (double x) |
| Interval1d | dilatedBy (double x) const |
| Interval1d | dilatedBy (double x) const |
| Interval1d | erodedBy (double x) const |
| Interval1d | erodedBy (double x) const |
| bool | contains (double x) const |
| bool | contains (Interval const &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 | isDisjointFrom (double x) const |
| bool | isDisjointFrom (Interval const &x) const |
| bool | intersects (double x) const |
| bool | intersects (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 |
| bool | isWithin (double x) const |
| bool | isWithin (Interval const &x) const |
| Relationship | relate (double x) const |
| Relationship | relate (Interval const &x) const |
| Relationship | relate (double x) const |
| Relationship | relate (Interval const &x) const |
| Interval & | clipTo (double x) |
| Interval & | clipTo (Interval const &x) |
| Interval & | clipTo (double x) |
| Interval & | clipTo (Interval const &x) |
| Interval1d | clippedTo (double x) const |
| Interval1d | clippedTo (Interval const &x) const |
| Interval1d | clippedTo (double x) const |
| Interval1d | clippedTo (Interval const &x) const |
| Interval & | expandTo (double x) |
| Interval & | expandTo (Interval const &x) |
| Interval & | expandTo (double x) |
| Interval & | expandTo (Interval const &x) |
| Interval1d | expandedTo (double x) const |
| Interval1d | expandedTo (Interval const &x) const |
| 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.
Definition at line 47 of file Interval1d.h.
|
inline |
Definition at line 61 of file Interval1d.h.
|
inlineexplicit |
Definition at line 63 of file Interval1d.h.
|
inline |
Definition at line 65 of file Interval1d.h.
|
inline |
Definition at line 67 of file Interval1d.h.
|
inlineinherited |
clippedTo returns the intersection of this interval and x.
Definition at line 190 of file Interval.h.
|
inlineinherited |
clippedTo returns the intersection of this interval and x.
Definition at line 190 of file Interval.h.
|
inlineinherited |
clippedTo returns the intersection of this interval and x.
Definition at line 192 of file Interval.h.
|
inlineinherited |
clippedTo returns the intersection of this interval and x.
Definition at line 192 of file Interval.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
clipTo shrinks this interval until all its points are in x.
Definition at line 177 of file Interval.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
For positive x, dilateBy morphologically dilates this interval by [-x,x], which is equivalent to the taking the Minkowski sum with [-x,x].
For negative x, it morphologically erodes this interval by [x,-x]. If x is zero or NaN, or this interval is empty, there is no effect.
Definition at line 237 of file Interval.h.
|
inlineinherited |
For positive x, dilateBy morphologically dilates this interval by [-x,x], which is equivalent to the taking the Minkowski sum with [-x,x].
For negative x, it morphologically erodes this interval by [x,-x]. If x is zero or NaN, or this interval is empty, there is no effect.
Definition at line 237 of file Interval.h.
|
inlineinherited |
Definition at line 246 of file Interval.h.
|
inlineinherited |
Definition at line 246 of file Interval.h.
|
inlinestatic |
Definition at line 51 of file Interval1d.h.
|
inlineinherited |
Definition at line 245 of file Interval.h.
|
inlineinherited |
Definition at line 245 of file Interval.h.
|
inlineinherited |
Definition at line 247 of file Interval.h.
|
inlineinherited |
Definition at line 247 of file Interval.h.
|
inlineinherited |
expandedTo returns the smallest interval containing the union of this interval and x.
Definition at line 225 of file Interval.h.
|
inlineinherited |
expandedTo returns the smallest interval containing the union of this interval and x.
Definition at line 225 of file Interval.h.
|
inlineinherited |
expandedTo returns the smallest interval containing the union of this interval and x.
Definition at line 227 of file Interval.h.
|
inlineinherited |
expandedTo returns the smallest interval containing the union of this interval and x.
Definition at line 227 of file Interval.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinestatic |
Definition at line 55 of file Interval1d.h.
|
inlineinherited |
getA returns the lower endpoint of this interval.
The return value for empty intervals is arbitrary.
Definition at line 83 of file Interval.h.
|
inlineinherited |
getA returns the lower endpoint of this interval.
The return value for empty intervals is arbitrary.
Definition at line 83 of file Interval.h.
|
inlineinherited |
getB returns the upper endpoint of this interval.
The return value for empty intervals is arbitrary.
Definition at line 87 of file Interval.h.
|
inlineinherited |
getB returns the upper endpoint of this interval.
The return value for empty intervals is arbitrary.
Definition at line 87 of file Interval.h.
|
inlineinherited |
getCenter returns the center of this interval.
It is arbitrary for empty intervals.
Definition at line 96 of file Interval.h.
|
inlineinherited |
getCenter returns the center of this interval.
It is arbitrary for empty intervals.
Definition at line 96 of file Interval.h.
|
inlineinherited |
getSize returns the size (length, width) of this interval.
It is zero for single-point intervals, and NaN or negative for empty intervals.
Definition at line 100 of file Interval.h.
|
inlineinherited |
getSize returns the size (length, width) of this interval.
It is zero for single-point intervals, and NaN or negative for empty intervals.
Definition at line 100 of file Interval.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
intersects returns true if the intersection of this interval and x is non-empty.
Definition at line 139 of file Interval.h.
|
inlineinherited |
intersects returns true if the intersection of this interval and x is non-empty.
Definition at line 139 of file Interval.h.
|
inlineinherited |
isDisjointFrom returns true if the intersection of this interval and x is empty.
Definition at line 122 of file Interval.h.
|
inlineinherited |
isDisjointFrom returns true if the intersection of this interval and x is empty.
Definition at line 122 of file Interval.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
isEmpty returns true if this interval does not contain any points.
Definition at line 90 of file Interval.h.
|
inlineinherited |
isEmpty returns true if this interval does not contain any points.
Definition at line 90 of file Interval.h.
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
isWithin returns true if the intersection of this interval and x is this interval.
Definition at line 151 of file Interval.h.
|
inlineinherited |
isWithin returns true if the intersection of this interval and x is this interval.
Definition at line 151 of file Interval.h.
|
inlineinherited |
Definition at line 79 of file Interval.h.
|
inlineinherited |
Definition at line 79 of file Interval.h.
|
inlineinherited |
Definition at line 72 of file Interval.h.
|
inlineinherited |
Definition at line 72 of file Interval.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
relate returns a bitset S describing the spatial relationships between this interval and x. For each relation that holds, the bitwise AND of S and the corresponding Relationship will be non-zero.
|
inherited |
relate returns a bitset S describing the spatial relationships between this interval and x. For each relation that holds, the bitwise AND of S and the corresponding Relationship will be non-zero.
Definition at line 160 of file Interval.h.
|
inherited |
relate returns a bitset S describing the spatial relationships between this interval and x. For each relation that holds, the bitwise AND of S and the corresponding Relationship will be non-zero.
|
inherited |
relate returns a bitset S describing the spatial relationships between this interval and x. For each relation that holds, the bitwise AND of S and the corresponding Relationship will be non-zero.
Definition at line 161 of file Interval.h.