This file defines the basic types for astronomical coordinate transformation
Definition in file psCoord.h.
#include "psType.h"
#include "psImage.h"
#include "psArray.h"
#include "psList.h"
#include "psPolynomial.h"
Include dependency graph for psCoord.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Enumerations | |
| enum | psProjectionType { PS_PROJ_TAN, PS_PROJ_SIN, PS_PROJ_AIT, PS_PROJ_PAR, PS_PROJ_NTYPE } |
| Projection type for projection/deprojection. More... | |
Functions | |
| psPlane * | psPlaneAlloc (void) |
| Allocates a psPlane. | |
| psSphere * | psSphereAlloc (void) |
| Allocates a psSphere. | |
| psCube * | psCubeAlloc (void) |
| Allocates a psCube. | |
| psPlaneTransform * | psPlaneTransformAlloc (int n1, int n2) |
| Allocates a psPlaneTransform transform. | |
| psPlane * | psPlaneTransformApply (psPlane *out, const psPlaneTransform *transform, const psPlane *coords) |
| Applies the psPlaneTransform transform to a specified coordinate. | |
| psPlaneDistort * | psPlaneDistortAlloc (int n1, int n2, int n3, int n4) |
| Allocates a psPlaneDistort transform. | |
| psPlane * | psPlaneDistortApply (psPlane *out, const psPlaneDistort *distort, const psPlane *coords, float mag, float color) |
| Applies the psPlaneDistort transform to a specified coordinate. | |
| psProjection * | psProjectionAlloc (double R, double D, double Xs, double Ys, psProjectionType type) |
| Allocates memory for a psProjection structure. | |
| bool | psMemCheckPlane (psPtr ptr) |
| Checks the type of a particular pointer. | |
| bool | psMemCheckSphere (psPtr ptr) |
| Checks the type of a particular pointer. | |
| bool | psMemCheckCube (psPtr ptr) |
| Checks the type of a particular pointer. | |
| bool | psMemCheckPlaneTransform (psPtr ptr) |
| Checks the type of a particular pointer. | |
| bool | psMemCheckPlaneDistort (psPtr ptr) |
| Checks the type of a particular pointer. | |
| bool | psMemCheckProjection (psPtr ptr) |
| Checks the type of a particular pointer. | |
| psPlane * | psProject (const psSphere *coord, const psProjection *projection) |
| Projects a spherical coordinate to a linear coordinate system. | |
| psSphere * | psDeproject (const psPlane *coord, const psProjection *projection) |
| Reverse projection of a linear coordinate to a spherical coordinate system. | |
| psPlaneTransform * | p_psPlaneTransformLinearInvert (psPlaneTransform *transform) |
| Takes a given transform and inverts it linearly if possible. | |
| psS32 | p_psIsProjectionLinear (psPlaneTransform *transform) |
| Takes a transform and tests whether or not it is a linear projection. | |
| psPlaneTransform * | psPlaneTransformInvert (psPlaneTransform *out, const psPlaneTransform *in, psRegion region, int nSamples) |
| inverts a given transformation. | |
| psPlaneTransform * | psPlaneTransformCombine (psPlaneTransform *out, const psPlaneTransform *trans1, const psPlaneTransform *trans2, psRegion region, int nSamples) |
| Creates a single transformation that has the effect of performing trans1 followed by trans2. | |
| bool | psPlaneTransformFit (psPlaneTransform *trans, const psArray *source, const psArray *dest, int nRejIter, float sigmaClip) |
| takes two arrays containing matched coordinates and returns the best-fitting transformation. | |
| psSphere * | psCubeToSphere (const psCube *cube) |
| Converts from a 3-dimensional coordinate system to an angular coordinate system. | |
| psCube * | psSphereToCube (const psSphere *sphere) |
| Converts from an angular coordinate system to a 3-dimensional coordinate system. | |
| psPlane * | psPlaneTransformDeriv (psPlane *out, const psPlaneTransform *transformation, const psPlane *coord) |
| Calculates the derivative of the specified psPlaneTransform with respect to x and y. | |
1.4.2