Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d396cf

Browse files
author
Alexander Korotkov
committed
Fix some comments
1 parentaaf2d56 commit0d396cf

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

‎gnomo.c‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77

88
#include<math.h>
99

10-
/* point gnomonic_proj(spoint spherical_point, spoint tangential_point) */
11-
1210
PG_FUNCTION_INFO_V1(gnomonic_proj);
11+
PG_FUNCTION_INFO_V1(gnomonic_inv);
12+
13+
/*
14+
* Direct gnomonic projection.
15+
*
16+
* point gnomonic_proj(spoint spherical_point, spoint tangential_point)
17+
*/
1318
Datumgnomonic_proj(PG_FUNCTION_ARGS)
1419
{
1520
Point*g= (Point*)palloc(sizeof(Point));
@@ -33,9 +38,11 @@ Datum gnomonic_proj(PG_FUNCTION_ARGS)
3338
PG_RETURN_POINTER(g);
3439
}
3540

36-
/* spoint gnomonic_inv(point plane_point, spoint tangential_point) */
37-
38-
PG_FUNCTION_INFO_V1(gnomonic_inv);
41+
/*
42+
* Inverse gnomonic projection.
43+
*
44+
* spoint gnomonic_inv(point plane_point, spoint tangential_point)
45+
*/
3946
Datumgnomonic_inv(PG_FUNCTION_ARGS)
4047
{
4148
SPoint*p= (SPoint*)palloc(sizeof(SPoint));

‎line.h‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,12 @@ int8sphereline_circle_pos(const SLine *sl, const SCIRCLE *sc);
8989
boolsline_circle_touch(constSLine*sl,constSCIRCLE*sc);
9090

9191
/*
92-
* Returns the relationship between two lines \param l1 pointer to
93-
* first line \param l2 pointer to second line \return relationship as a
94-
* \link PGS_LINE_LINE_REL int8 value \endlink (\ref PGS_LINE_LINE_REL )
92+
* Returns the relationship between two lines as PGS_LINE_LINE_REL int8 value.
9593
*/
9694
int8sline_sline_pos(constSLine*l1,constSLine*l2);
9795

9896
/*
99-
* Checks, whether the point is on line \param ppointer to given
100-
* point \param sl pointer to the line \return bool, true if point at line
97+
* Returns true if the point is on line.
10198
*/
10299
boolspoint_at_sline(constSPoint*p,constSLine*sl);
103100

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp