/* Copyright (C) 2012-2020, Dirk Krause SPDX-License-Identifier: BSD-3-Clause */ /* WARNING: This file was generated by the dkct program (see http://dktools.sourceforge.net/ for details). Changes you make here will be lost if dkct is run again! You should modify the original source and run dkct on it. Original source: dk3ct.ctr */ /** @file dk3ct.h Header file for the dk3ct module. */ #ifndef DK3CT_H_INCLUDED /** Avoid multiple inclusions. */ #define DK3CT_H_INCLUDED 1 #line 9 "dk3ct.ctr" #ifdef __cplusplus extern "C" { #endif /** Coordinates transformation: X value. @param ct Transformation data. @param x X value. @param ec Pointer to error code variable, may be NULL. @return Transformation result. */ double dk3ct_2d_x(dk3_ct_2d_t const *ct, double x, int *ec); /** Coordinates transformation: Y value. @param ct Transformation data. @param y X value. @param ec Pointer to error code variable, may be NULL. @return Transformation result. */ double dk3ct_2d_y(dk3_ct_2d_t const *ct, double y, int *ec); /** Coordinates transformation: Radius. @param ct Transformation data. @param r X value. @param ec Pointer to error code variable, may be NULL. @return Transformation result. */ double dk3ct_2d_r(dk3_ct_2d_t const *ct, double r, int *ec); #ifdef __cplusplus } #endif #endif