LSST Applications g0fba68d861+05816baf74,g1ec0fe41b4+f536777771,g1fd858c14a+a9301854fb,g35bb328faa+fcb1d3bbc8,g4af146b050+a5c07d5b1d,g4d2262a081+6e5fcc2a4e,g53246c7159+fcb1d3bbc8,g56a49b3a55+9c12191793,g5a012ec0e7+3632fc3ff3,g60b5630c4e+ded28b650d,g67b6fd64d1+ed4b5058f4,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g8352419a5c+fcb1d3bbc8,g87b7deb4dc+7b42cf88bf,g8852436030+e5453db6e6,g89139ef638+ed4b5058f4,g8e3bb8577d+d38d73bdbd,g9125e01d80+fcb1d3bbc8,g94187f82dc+ded28b650d,g989de1cb63+ed4b5058f4,g9d31334357+ded28b650d,g9f33ca652e+50a8019d8c,gabe3b4be73+1e0a283bba,gabf8522325+fa80ff7197,gb1101e3267+d9fb1f8026,gb58c049af0+f03b321e39,gb665e3612d+2a0c9e9e84,gb89ab40317+ed4b5058f4,gcf25f946ba+e5453db6e6,gd6cbbdb0b4+bb83cc51f8,gdd1046aedd+ded28b650d,gde0f65d7ad+941d412827,ge278dab8ac+d65b3c2b70,ge410e46f29+ed4b5058f4,gf23fb2af72+b7cae620c0,gf5e32f922b+fcb1d3bbc8,gf67bdafdda+ed4b5058f4,w.2025.16
LSST Data Management Base Package
|
AngleInterval
represents closed intervals of arbitrary angles.
More...
#include <AngleInterval.h>
Public Member Functions | |
AngleInterval () | |
AngleInterval (Angle x) | |
AngleInterval (Angle x, Angle y) | |
AngleInterval (Base const &base) | |
bool | operator== (Interval const &i) const |
Two closed intervals are equal if their endpoints are the same, or both are empty. | |
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 |
Two closed intervals are equal if their endpoints are the same, or both are empty. | |
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 |
bool | operator!= (Interval const &i) const |
bool | operator!= (Angle x) const |
Angle | getA () const |
getA returns the lower endpoint of this interval. | |
Angle | getA () const |
getA returns the lower endpoint of this interval. | |
Angle | getB () const |
getB returns the upper endpoint of this interval. | |
Angle | 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. | |
Angle | getCenter () const |
getCenter returns the center of this interval. | |
Angle | getCenter () const |
getCenter returns the center of this interval. | |
Angle | getSize () const |
getSize returns the size (length, width) of this interval. | |
Angle | getSize () const |
getSize returns the size (length, width) of this interval. | |
Interval & | dilateBy (Angle 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 (Angle 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 (Angle x) |
Interval & | erodeBy (Angle x) |
AngleInterval | dilatedBy (Angle x) const |
AngleInterval | dilatedBy (Angle x) const |
AngleInterval | erodedBy (Angle x) const |
AngleInterval | erodedBy (Angle x) const |
bool | contains (Angle x) const |
bool | contains (Interval const &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 | isDisjointFrom (Angle x) const |
bool | isDisjointFrom (Interval const &x) const |
bool | intersects (Angle x) const |
bool | intersects (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 |
bool | isWithin (Angle x) const |
bool | isWithin (Interval const &x) const |
Relationship | relate (Angle x) const |
Relationship | relate (Interval const &x) const |
Relationship | relate (Angle x) const |
Relationship | relate (Interval const &x) const |
Interval & | clipTo (Angle x) |
Interval & | clipTo (Interval const &x) |
Interval & | clipTo (Angle x) |
Interval & | clipTo (Interval const &x) |
AngleInterval | clippedTo (Angle x) const |
AngleInterval | clippedTo (Interval const &x) const |
AngleInterval | clippedTo (Angle x) const |
AngleInterval | clippedTo (Interval const &x) const |
Interval & | expandTo (Angle x) |
Interval & | expandTo (Interval const &x) |
Interval & | expandTo (Angle x) |
Interval & | expandTo (Interval const &x) |
AngleInterval | expandedTo (Angle x) const |
AngleInterval | expandedTo (Interval const &x) const |
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.
Definition at line 47 of file AngleInterval.h.
|
inline |
Definition at line 71 of file AngleInterval.h.
|
inlineexplicit |
Definition at line 73 of file AngleInterval.h.
Definition at line 75 of file AngleInterval.h.
|
inline |
Definition at line 77 of file AngleInterval.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 61 of file AngleInterval.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 51 of file AngleInterval.h.
|
inlinestatic |
Definition at line 56 of file AngleInterval.h.
|
inlinestatic |
Definition at line 65 of file AngleInterval.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.
|
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.