File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 77
88#include <math.h>
99
10- /* point gnomonic_proj(spoint spherical_point, spoint tangential_point) */
11-
1210PG_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+ */
1318Datum gnomonic_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+ */
3946Datum gnomonic_inv (PG_FUNCTION_ARGS )
4047{
4148 SPoint * p = (SPoint * ) palloc (sizeof (SPoint ));
Original file line number Diff line number Diff line change @@ -89,15 +89,12 @@ int8 sphereline_circle_pos(const SLine *sl, const SCIRCLE *sc);
8989bool sline_circle_touch (const SLine * sl , const SCIRCLE * 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 */
9694int8 sline_sline_pos (const SLine * l1 , const SLine * l2 );
9795
9896/*
99- * Checks, whether the point is on line \param p pointer 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 */
10299bool spoint_at_sline (const SPoint * p , const SLine * sl );
103100
You can’t perform that action at this time.
0 commit comments