Loading [MathJax]/extensions/tex2jax.js
LSST Applications g0fba68d861+677d9eb166,g1e78f5e6d3+c65e515db9,g1fd858c14a+71413c3e43,g35bb328faa+fcb1d3bbc8,g4af146b050+2070019eaf,g4d2262a081+ca439efc63,g4e0f332c67+53d227620f,g53246c7159+fcb1d3bbc8,g5a012ec0e7+e094618965,g60b5630c4e+97a3b3c414,g67b6fd64d1+98402a590a,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g87b7deb4dc+80e04b570e,g8852436030+d43d68859a,g89139ef638+98402a590a,g9125e01d80+fcb1d3bbc8,g94187f82dc+97a3b3c414,g989de1cb63+98402a590a,g9f33ca652e+cdcfd820ad,g9f7030ddb1+83d98bf5fd,ga12af3ee9f+97a3b3c414,ga2b97cdc51+97a3b3c414,gabe3b4be73+1e0a283bba,gabf8522325+fdcc45437b,gb1101e3267+3b586d735c,gb58c049af0+f03b321e39,gb89ab40317+98402a590a,gbdea47398f+839d4c457f,gcf25f946ba+d43d68859a,gd6cbbdb0b4+2800613beb,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+77f8542444,ge278dab8ac+c824a60960,ge410e46f29+98402a590a,gf67bdafdda+98402a590a,gfe06eef73a+2766dcde2b,v29.0.0.rc3
LSST Data Management Base Package
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
orientation.cc File Reference

This file contains the orientation function implementations. More...

#include "lsst/sphgeom/orientation.h"
#include <algorithm>
#include "lsst/sphgeom/BigInteger.h"

Go to the source code of this file.

Namespaces

namespace  lsst
 
namespace  lsst::sphgeom
 

Functions

int lsst::sphgeom::orientationExact (Vector3d const &a, Vector3d const &b, Vector3d const &c)
 orientationExact computes and returns the orientations of 3 vectors a, b and c, which need not be normalized but are assumed to have finite components.
 
int lsst::sphgeom::orientation (UnitVector3d const &a, UnitVector3d const &b, UnitVector3d const &c)
 orientation computes and returns the orientations of 3 unit vectors a, b and c.
 
int lsst::sphgeom::orientationX (UnitVector3d const &b, UnitVector3d const &c)
 orientationX(b, c) is equivalent to orientation(UnitVector3d::X(), b, c).
 
int lsst::sphgeom::orientationY (UnitVector3d const &b, UnitVector3d const &c)
 orientationY(b, c) is equivalent to orientation(UnitVector3d::Y(), b, c).
 
int lsst::sphgeom::orientationZ (UnitVector3d const &b, UnitVector3d const &c)
 orientationZ(b, c) is equivalent to orientation(UnitVector3d::Z(), b, c).
 

Detailed Description

This file contains the orientation function implementations.

Definition in file orientation.cc.