blob: a2c4e11bcc6d5326f2eeba0155e79d07f14c1ac5 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
/*
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
|