GLAMERDOC++
Gravitational Lensing Code Library
Loading...
Searching...
No Matches
Utilities::Geometry Namespace Reference

Namespace for geometrical functions mostly having to do with spherical coordinates. More...

Classes

struct  CYCLIC
 used so that an index will not go out of bounds, ie. CYCLIC[0]=0, CYCLIC[n]=0, CYCLIC[-1]=n-1, etc. More...
 
class  SphericalPoint
 represents a point in spherical coordinates, theta = 0 is equator More...
 

Functions

template<typename T >
Seporation (const SphericalPoint< T > &p1, const SphericalPoint< T > &p2)
 3 dimensional distance between points
 
template<typename T >
AngleSeporation (const SphericalPoint< T > &p1, const SphericalPoint< T > &p2)
 Angular seporation between points.
 
std::vector< Point_2dDeInterset (const std::vector< Point_2d > &points)
 

Detailed Description

Namespace for geometrical functions mostly having to do with spherical coordinates.