| LSSTApplications
    20.0.0
    LSSTDataManagementBasePackage | 
 
 
 
Go to the documentation of this file.
   39     double a1 = 
std::fabs(
a.asRadians() - 
b.asRadians());
 
   40     double a2 = 2.0 * 
PI - a1;
 
   49     double c = 0.5 * (
a.asRadians() + 
b.asRadians());
 
   69     double sha2 = (
x * (
z - 
y) + 
y);
 
   73     } 
else if (sha2 >= 1.0) {
 
   82     double c = v1.
dot(v2);
 
   83     if (s == 0.0 && c == 0.0) {
 
  
double sin(Angle const &a)
LonLat represents a spherical coordinate (longitude/latitude angle) pair.
static NormalizedAngle center(NormalizedAngle const &a, NormalizedAngle const &b)
For two normalized angles a and b, center(a, b) returns the angle m such that a.getAngleTo(m) is equa...
Vector3d is a vector in ℝ³ with components stored in double precision.
double dot(Vector3d const &v) const
dot returns the inner product of this vector and v.
double getNorm() const
getNorm returns the L2 norm of this vector.
This file declares a class for representing vectors in ℝ³.
Vector3d cross(Vector3d const &v) const
cross returns the cross product of this vector and v.
A base class for image defects.
NormalizedAngle()
This constructor creates a NormalizedAngle with a value of zero.
static NormalizedAngle between(NormalizedAngle const &a, NormalizedAngle const &b)
For two angles a and b, between(a, b) returns the smaller of a.getAngleTo(b) and b....
This file contains a class representing spherical coordinates.
This file declares a class for representing normalized angles.
NormalizedAngle is an angle that lies in the range [0, 2π), with one exception - a NormalizedAngle ca...
double cos(Angle const &a)
NormalizedAngle getLon() const