/* @file  pmAstrometryUtils.h
 * @brief utility functions for transform and distort functions
 *
 * @author EAM, IfA
 *
 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
 * @date $Date: 2007-01-24 02:54:14 $
 * Copyright 2006 Institute for Astronomy, University of Hawaii
 */

#ifndef PM_ASTROMETRY_UTILS_H
#define PM_ASTROMETRY_UTILS_H

/// @addtogroup Astrometry
/// @{

psPlane *psPlaneTransformGetCenter (psPlaneTransform *trans, double tol);
psPlaneTransform *psPlaneTransformSetCenter (psPlaneTransform *output, psPlaneTransform *input, double Xo, double Yo);

psPlaneTransform *psPlaneTransformIdentity (int order);
psPlaneDistort *psPlaneDistortIdentity (int order);

bool psPlaneTransformIsDiagonal (psPlaneTransform *transform);
bool psPlaneDistortIsDiagonal (psPlaneDistort *distort);

/// @}
#endif
