summaryrefslogtreecommitdiffstats
path: root/tksao/frame/wcsast.h
blob: e1c85fef43a2cf901c96fbddfeef177a9a682aa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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);
void 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&);

AstWinMap* wcsWinMap(AstFrameSet*, Vector&, Vector&, Vector&);