| LSSTApplications
    20.0.0
    LSSTDataManagementBasePackage | 
 
 
 
Go to the documentation of this file.
   23 #ifndef LSST_SPHGEOM_LONLAT_H_ 
   24 #define LSST_SPHGEOM_LONLAT_H_ 
   81         return _lon == p._lon && _lat == p._lat;
 
   85         return _lon != p._lon || _lat != p._lat;
 
   93     void _enforceInvariants();
 
  103 #endif // LSST_SPHGEOM_LONLAT_H_ 
  
LonLat()
This constructor creates the point with longitude and latitude angle equal to zero.
bool operator==(LonLat const &p) const
static NormalizedAngle longitudeOf(Vector3d const &v)
longitudeOf returns the longitude of the point on the unit sphere corresponding to the direction of v...
static LonLat fromDegrees(double lon, double lat)
LonLat represents a spherical coordinate (longitude/latitude angle) pair.
Vector3d is a vector in ℝ³ with components stored in double precision.
static Angle fromRadians(double a)
A base class for image defects.
bool operator!=(LonLat const &p) const
static NormalizedAngle fromRadians(double a)
This file declares a class for representing normalized angles.
Angle represents an angle in radians.
std::ostream & operator<<(std::ostream &, Angle const &)
static NormalizedAngle fromDegrees(double a)
NormalizedAngle is an angle that lies in the range [0, 2π), with one exception - a NormalizedAngle ca...
static LonLat fromRadians(double lon, double lat)
static Angle fromDegrees(double a)
NormalizedAngle getLon() const
static Angle latitudeOf(Vector3d const &v)
latitudeOf returns the latitude of the point on the unit sphere corresponding to the direction of v.