Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psCoord.h File Reference


Detailed Description

Contains basic coordinate transformation definitions and operations.

This file defines the basic types for astronomical coordinate transformation

Author:
GLG, MHPCC
Version:
Revision
1.46
Name
rel7
Date:
Date
2005/09/07 23:51:20
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

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

psPlanepsPlaneAlloc (void)
 Allocates a psPlane.
psSpherepsSphereAlloc (void)
 Allocates a psSphere.
psCubepsCubeAlloc (void)
 Allocates a psCube.
psPlaneTransformpsPlaneTransformAlloc (int n1, int n2)
 Allocates a psPlaneTransform transform.
psPlanepsPlaneTransformApply (psPlane *out, const psPlaneTransform *transform, const psPlane *coords)
 Applies the psPlaneTransform transform to a specified coordinate.
psPlaneDistortpsPlaneDistortAlloc (int n1, int n2, int n3, int n4)
 Allocates a psPlaneDistort transform.
psPlanepsPlaneDistortApply (psPlane *out, const psPlaneDistort *distort, const psPlane *coords, float mag, float color)
 Applies the psPlaneDistort transform to a specified coordinate.
psProjectionpsProjectionAlloc (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.
psPlanepsProject (const psSphere *coord, const psProjection *projection)
 Projects a spherical coordinate to a linear coordinate system.
psSpherepsDeproject (const psPlane *coord, const psProjection *projection)
 Reverse projection of a linear coordinate to a spherical coordinate system.
psPlaneTransformp_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.
psPlaneTransformpsPlaneTransformInvert (psPlaneTransform *out, const psPlaneTransform *in, psRegion region, int nSamples)
 inverts a given transformation.
psPlaneTransformpsPlaneTransformCombine (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.
psSpherepsCubeToSphere (const psCube *cube)
 Converts from a 3-dimensional coordinate system to an angular coordinate system.
psCubepsSphereToCube (const psSphere *sphere)
 Converts from an angular coordinate system to a 3-dimensional coordinate system.
psPlanepsPlaneTransformDeriv (psPlane *out, const psPlaneTransform *transformation, const psPlane *coord)
 Calculates the derivative of the specified psPlaneTransform with respect to x and y.


Generated on Wed Sep 14 10:42:56 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.2