lsst.sphgeom gdcc65144bf+d801c9999e
Loading...
Searching...
No Matches
lsst::sphgeom::AngleInterval Class Reference

AngleInterval represents closed intervals of arbitrary angles. More...

#include <AngleInterval.h>

Inheritance diagram for lsst::sphgeom::AngleInterval:
lsst::sphgeom::Interval< AngleInterval, Angle >

Public Member Functions

 AngleInterval (Angle x)
 AngleInterval (Angle x, Angle y)
 AngleInterval (Base const &base)
Public Member Functions inherited from lsst::sphgeom::Interval< AngleInterval, Angle >
 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!= (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!= (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
IntervaldilateBy (Angle x)
IntervalerodeBy (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
IntervalclipTo (Angle x)
IntervalclipTo (Interval const &x)
AngleInterval clippedTo (Angle x) const
AngleInterval clippedTo (Interval const &x) const
IntervalexpandTo (Angle x)
IntervalexpandTo (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 ()

Detailed Description

AngleInterval represents closed intervals of arbitrary angles.


The documentation for this class was generated from the following file: