summaryrefslogtreecommitdiffstats
path: root/tksao/frame/wcsast.h
blob: 3417109c7880f5a5fc3427dd5b17ef9cc4251f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 1999-2018
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"

#include "vector.h"
#include "vector3d.h"
#include "coord.h"

extern "C" {
#include "ast.h"
}

int wcsSystem(AstFrameSet*, Coord::CoordSystem);
int wcsSkyFrame(AstFrameSet*, Coord::SkyFrame);
void wcsFormat(AstFrameSet*, int id, const char* format);

Vector wcsTran(AstFrameSet*, const Vector&, int);
void wcsTran(AstFrameSet*, int, Vector*, int, Vector*);
Vector3d wcsTran(AstFrameSet*, const Vector3d&, int);

double wcsDistance(AstFrameSet*, const Vector&, const Vector&);
double wcsAngle(AstFrameSet*, const Vector&, const Vector&, const Vector&);
double wcsAxAngle(AstFrameSet*, const Vector&, const Vector&);